diff --git a/src/weaver/interfaces/recruit/action/RecruitFlowToModeAction.java b/src/weaver/interfaces/recruit/action/RecruitFlowToModeAction.java index 9021abb..f6aa8db 100644 --- a/src/weaver/interfaces/recruit/action/RecruitFlowToModeAction.java +++ b/src/weaver/interfaces/recruit/action/RecruitFlowToModeAction.java @@ -85,6 +85,7 @@ public class RecruitFlowToModeAction implements Action { for (Cell cell : cells) { detailMap.put(cell.getName(), RecruitModeUtil.parseBlankToNull(cell.getValue())); } + detailMap.put("detailId", row.getId()); insertList.add(detailMap); } @@ -93,8 +94,8 @@ public class RecruitFlowToModeAction implements Action { // 插入建模表 RecordSetTrans rst = new RecordSetTrans(); rst.setAutoCommit(false); - String sql = " insert into " + MODE_TABLE_NAME + "(modeuuid,modedatacreatertype,formmodeid,modedatacreater,modedatacreatedate,modedatacreatetime,modedatamodifier,modedatamodifydatetime,xqsplc,xqzt,sqr,sqsj,sqbm,nd,spfs,xqlx,bz,xqmc,zpyy,zpxqfzr,szfb,szbm,gw,gwzz,rzyq,zwxz,gzdd,gznx,zdxlyq,zprs,qwdgsj)" + - " values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; + String sql = " insert into " + MODE_TABLE_NAME + "(modeuuid,modedatacreatertype,formmodeid,modedatacreater,modedatacreatedate,modedatacreatetime,modedatamodifier,modedatamodifydatetime,xqsplc,xqzt,sqr,sqsj,sqbm,nd,spfs,xqlx,bz,xqmc,zpyy,zpxqfzr,szfb,szbm,gw,gwzz,rzyq,zwxz,gzdd,gznx,zdxlyq,zprs,qwdgsj,xqlcmxid)" + + " values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"; try { for (Map map : insertList) { @@ -198,6 +199,8 @@ public class RecruitFlowToModeAction implements Action { param.add(map.get("zprs")); // 期望到岗时间 param.add(map.get("qwdgsj")); + // 需求流程明细ID + param.add(map.get("detailId")); return param; }