流程id修改

master
zhaoxiaolin 7 months ago
parent c3f560b112
commit fdfbce95ae

@ -145,7 +145,7 @@ public class OpenController extends BaseController {
} }
/** /**
* ===============ZL0010- :"workflowId": 26235============= * ===============ZL0010- :"workflowId": 113454=============
* <p> * <p>
* <p> * <p>
* SQR CQ OEMCM LLLB 01MATNR MAKTX suppliernum * SQR CQ OEMCM LLLB 01MATNR MAKTX suppliernum

@ -154,7 +154,7 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
public List<OAInfo> getOAInfoList(QcCheckUnqualified qcCheckUnqualified) { public List<OAInfo> getOAInfoList(QcCheckUnqualified qcCheckUnqualified) {
logger.info("查看流程Id"+ qcCheckUnqualified.getTaskId()); logger.info("查看流程Id"+ qcCheckUnqualified.getTaskId());
AjaxResult oaR = remoteOpenService.GetOaNodeInfo(qcCheckUnqualified.getTaskId()); AjaxResult oaR = remoteOpenService.GetOaNodeInfo(qcCheckUnqualified.getTaskId());
logger.info("流程Id 26235:"+ JSONObject.toJSONString(oaR)); logger.info("流程Id 113454:"+ JSONObject.toJSONString(oaR));
List<OAInfo> infoList = new ArrayList<>(); List<OAInfo> infoList = new ArrayList<>();
if((int)oaR.get("code")==200){ if((int)oaR.get("code")==200){
infoList=JSONArray.parseArray(oaR.get("msg").toString(),OAInfo.class); infoList=JSONArray.parseArray(oaR.get("msg").toString(),OAInfo.class);
@ -173,7 +173,7 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
* \"MAKTX\":\"榄菊加大盘强力型蚊香(60装)现货纸箱(2201)\",\"suppliernum\":\"0000102951\", * \"MAKTX\":\"榄菊加大盘强力型蚊香(60装)现货纸箱(2201)\",\"suppliernum\":\"0000102951\",
* \"supplier\":\"广东高顺印刷包装有限公司\",\"CHARG\":\"null\",\"comeQty\":\"1117\", * \"supplier\":\"广东高顺印刷包装有限公司\",\"CHARG\":\"null\",\"comeQty\":\"1117\",
* \"DW\":\"ST\",\"JYBH\":\"202404180042\",\"BJY\":\"202404180042\",\"WLLY\":\"2\", * \"DW\":\"ST\",\"JYBH\":\"202404180042\",\"BJY\":\"202404180042\",\"WLLY\":\"2\",
* \"memo\":\"不合格\",\"PZGLBZG\":\"不合格\"}","user":"999999","requestLevel":0,"workflowId":26235} * \"memo\":\"不合格\",\"PZGLBZG\":\"不合格\"}","user":"999999","requestLevel":0,"workflowId":113454}
*/ */
private AjaxResult createLLOA(QcCheckUnqualified task){ private AjaxResult createLLOA(QcCheckUnqualified task){
@ -184,7 +184,7 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
paramMap.put("user",task.getUser());//提交人工号 paramMap.put("user",task.getUser());//提交人工号
paramMap.put("requestLevel",0);//流程紧急度 paramMap.put("requestLevel",0);//流程紧急度
paramMap.put("requestName","ZL0010-来料检验不合格控制流程");//流程名称 paramMap.put("requestName","ZL0010-来料检验不合格控制流程");//流程名称
paramMap.put("workflowId",26235);//该流程对应的唯- workFlowld paramMap.put("workflowId",113454);//该流程对应的唯- workFlowld
StringBuffer mainObject = new StringBuffer(); StringBuffer mainObject = new StringBuffer();
mainObject.append("{"); mainObject.append("{");
@ -206,9 +206,9 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
mainObject.append("}"); mainObject.append("}");
paramMap.put("mainObject",mainObject.toString()); paramMap.put("mainObject",mainObject.toString());
logger.info("流程Id 26235:"+ JSONObject.toJSONString(paramMap)); logger.info("流程Id 113454:"+ JSONObject.toJSONString(paramMap));
AjaxResult oaR = remoteOpenService.OAInspection(paramMap); AjaxResult oaR = remoteOpenService.OAInspection(paramMap);
logger.info("流程Id 26235:"+ JSONObject.toJSONString(oaR)); logger.info("流程Id 113454:"+ JSONObject.toJSONString(oaR));
return oaR; return oaR;
} }
/*OA /*OA
@ -274,7 +274,7 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
"user": "999999", "user": "999999",
"requestLevel": "0", 0 "requestLevel": "0", 0
"requestName": "ZL0030-品质异常流程-智能制造-2024-01-17产品名称:榄菊高级型蚊香(60装)", "requestName": "ZL0030-品质异常流程-智能制造-2024-01-17产品名称:榄菊高级型蚊香(60装)",
"workflowId": "26256", "workflowId": "113455",
"mainObject": "{ "mainObject": "{
"CPMC":"榄菊高级型蚊香(60装)", * "CPMC":"榄菊高级型蚊香(60装)", *
"CPBM":"10101000115", * "CPBM":"10101000115", *
@ -307,7 +307,7 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
paramMap.put("user",SecurityUtils.getUsername());//提交人工号 paramMap.put("user",SecurityUtils.getUsername());//提交人工号
paramMap.put("requestLevel",0);//流程紧急度 paramMap.put("requestLevel",0);//流程紧急度
paramMap.put("requestName","ZL0030-品质异常流程-智能制造-"+DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss",detailInfo.getIncomeTime())+"(产品名称:"+detailInfo.getMaterialName()+"");//流程名称 paramMap.put("requestName","ZL0030-品质异常流程-智能制造-"+DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss",detailInfo.getIncomeTime())+"(产品名称:"+detailInfo.getMaterialName()+"");//流程名称
paramMap.put("workflowId",26256);//该流程对应的唯- workFlowld paramMap.put("workflowId",113455);//该流程对应的唯- workFlowld
StringBuffer mainObject = new StringBuffer(); StringBuffer mainObject = new StringBuffer();
mainObject.append("{"); mainObject.append("{");
@ -333,9 +333,9 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
mainObject.append("}"); mainObject.append("}");
paramMap.put("mainObject",mainObject.toString()); paramMap.put("mainObject",mainObject.toString());
logger.info("流程Id 26256:"+ JSONObject.toJSONString(paramMap)); logger.info("流程Id 113455:"+ JSONObject.toJSONString(paramMap));
AjaxResult oaR = remoteOpenService.OAInspection(paramMap); AjaxResult oaR = remoteOpenService.OAInspection(paramMap);
logger.info("流程Id 26256:"+ JSONObject.toJSONString(oaR)); logger.info("流程Id 113455:"+ JSONObject.toJSONString(oaR));
return oaR; return oaR;
} }
} }

Loading…
Cancel
Save