|
|
|
@ -184,18 +184,18 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
|
|
|
|
|
//QcCheckTaskIncome detailInfo = qcCheckTaskIncomeMapper.getTaskInfo(task.getTaskId());
|
|
|
|
|
//发起来料检验OA流程
|
|
|
|
|
Map<String, Object> paramMap = new HashMap<>();
|
|
|
|
|
paramMap.put("user",task.getUser());//提交人工号
|
|
|
|
|
paramMap.put("user",task.getSqr());//提交人工号
|
|
|
|
|
paramMap.put("requestLevel",0);//流程紧急度
|
|
|
|
|
paramMap.put("requestName","ZL0010-来料检验不合格控制流程");//流程名称
|
|
|
|
|
paramMap.put("workflowId",113454);//该流程对应的唯- workFlowld
|
|
|
|
|
|
|
|
|
|
if(StringUtils.isEmpty(task.getIncomeBatchNo())){
|
|
|
|
|
task.setIncomeBatchNo(DateUtils.parseDateToStr("yyyy-MM-dd",new Date()));
|
|
|
|
|
task.setIncomeBatchNo(DateUtils.parseDateToStr("yyyyMMdd",new Date()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
StringBuffer mainObject = new StringBuffer();
|
|
|
|
|
mainObject.append("{");
|
|
|
|
|
mainObject.append("\"SQR\":"+"\""+task.getSqr()+"\"");//申请人--
|
|
|
|
|
mainObject.append("\"SQR\":"+"\""+task.getSqr()+"");//申请人--
|
|
|
|
|
mainObject.append(",\"CQ\":"+task.getOaFactory());//厂区--
|
|
|
|
|
mainObject.append(",\"LLLB\":"+task.getMaterialType());//来料类别【0、1】
|
|
|
|
|
mainObject.append(",\"MATNR\":"+"\""+task.getMaterialCode()+"\"");//物料编码
|
|
|
|
@ -210,7 +210,7 @@ public class QcCheckUnqualifiedServiceImpl implements IQcCheckUnqualifiedService
|
|
|
|
|
mainObject.append(",\"BJY\":"+"\""+task.getCzbjr()+"\"");//仓储报检人--
|
|
|
|
|
mainObject.append(",\"WLLY\":"+"\""+task.getMaterialFrom()+"\"");//物料来源
|
|
|
|
|
mainObject.append(",\"ZCF\":"+"\""+task.getZcf()+"\"");//转出方
|
|
|
|
|
mainObject.append(",\"ZCOEMCM \":"+"\""+task.getZcoemcm()+"\"");//转出OEM厂名
|
|
|
|
|
mainObject.append(",\"ZCOEMCM\":"+"\""+task.getZcoemcm()+"\"");//转出OEM厂名
|
|
|
|
|
mainObject.append(",\"memo\":"+"\""+task.getRemark()+"\"");//不合格描述
|
|
|
|
|
mainObject.append(",\"PZGLBZG\":"+"\""+task.getQczg()+"\"");//qc主管--
|
|
|
|
|
mainObject.append("}");
|
|
|
|
|