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