培训模块:培训报名日期校验、培训完成后写入人员档案
This commit is contained in:
parent
4da853355b
commit
e730c6f8cc
|
|
@ -21,7 +21,7 @@ public class TrainingEffectManageAction implements Action {
|
||||||
@Override
|
@Override
|
||||||
public String execute(RequestInfo requestInfo) {
|
public String execute(RequestInfo requestInfo) {
|
||||||
try {
|
try {
|
||||||
String creatorId = requestInfo.getCreatorid();
|
int creatorId = requestInfo.getRequestManager().getCreater();
|
||||||
MainTableInfo mainTableInfo = requestInfo.getMainTableInfo();
|
MainTableInfo mainTableInfo = requestInfo.getMainTableInfo();
|
||||||
Property[] properties = mainTableInfo.getProperty();
|
Property[] properties = mainTableInfo.getProperty();
|
||||||
Map<String, String> mainDataMap = new HashMap<>();
|
Map<String, String> mainDataMap = new HashMap<>();
|
||||||
|
|
@ -80,7 +80,7 @@ public class TrainingEffectManageAction implements Action {
|
||||||
trainEmployeesMap.put("pxxs_", null);
|
trainEmployeesMap.put("pxxs_", null);
|
||||||
|
|
||||||
// 写入员工培训信息
|
// 写入员工培训信息
|
||||||
insertTrainEmployees(creatorId, pxmc, pxxgpgfs, new HashMap<>(trainEmployeesMap));
|
insertTrainEmployees(String.valueOf(creatorId), pxmc, pxxgpgfs, new HashMap<>(trainEmployeesMap));
|
||||||
|
|
||||||
Map<String, String> trainerMap = new HashMap<>();
|
Map<String, String> trainerMap = new HashMap<>();
|
||||||
trainerMap.put("pxmc", pxmc);
|
trainerMap.put("pxmc", pxmc);
|
||||||
|
|
@ -98,7 +98,7 @@ public class TrainingEffectManageAction implements Action {
|
||||||
for (Map<String, String> detailData : detailDataList) {
|
for (Map<String, String> detailData : detailDataList) {
|
||||||
String pxsnb = detailData.get("pxsnb");
|
String pxsnb = detailData.get("pxsnb");
|
||||||
if (StringUtils.isNotBlank(pxsnb)) {
|
if (StringUtils.isNotBlank(pxsnb)) {
|
||||||
insertTrainer(pxsnb, creatorId, pxmc, new HashMap<>(trainerMap));
|
insertTrainer(pxsnb, String.valueOf(creatorId), pxmc, new HashMap<>(trainerMap));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue