diff --git a/src/weaver/interfaces/hzzx/action/TrainingEffectManageAction.java b/src/weaver/interfaces/hzzx/action/TrainingEffectManageAction.java index 169e34b..ebec761 100644 --- a/src/weaver/interfaces/hzzx/action/TrainingEffectManageAction.java +++ b/src/weaver/interfaces/hzzx/action/TrainingEffectManageAction.java @@ -21,7 +21,7 @@ public class TrainingEffectManageAction implements Action { @Override public String execute(RequestInfo requestInfo) { try { - String creatorId = requestInfo.getCreatorid(); + int creatorId = requestInfo.getRequestManager().getCreater(); MainTableInfo mainTableInfo = requestInfo.getMainTableInfo(); Property[] properties = mainTableInfo.getProperty(); Map mainDataMap = new HashMap<>(); @@ -80,7 +80,7 @@ public class TrainingEffectManageAction implements Action { trainEmployeesMap.put("pxxs_", null); // 写入员工培训信息 - insertTrainEmployees(creatorId, pxmc, pxxgpgfs, new HashMap<>(trainEmployeesMap)); + insertTrainEmployees(String.valueOf(creatorId), pxmc, pxxgpgfs, new HashMap<>(trainEmployeesMap)); Map trainerMap = new HashMap<>(); trainerMap.put("pxmc", pxmc); @@ -98,7 +98,7 @@ public class TrainingEffectManageAction implements Action { for (Map detailData : detailDataList) { String pxsnb = detailData.get("pxsnb"); if (StringUtils.isNotBlank(pxsnb)) { - insertTrainer(pxsnb, creatorId, pxmc, new HashMap<>(trainerMap)); + insertTrainer(pxsnb, String.valueOf(creatorId), pxmc, new HashMap<>(trainerMap)); } }