|
|
@ -169,7 +169,7 @@ public class DefectCheckServiceImpl extends BaseServiceImpl<OperPhenomenonMapper |
|
|
|
// 现象发起来源
|
|
|
|
// 现象发起来源
|
|
|
|
String sourceName = DictCache.getValue(TreatMethodConstant.SOURCE_CODE_PREFIX, entity.getSourceCode()); |
|
|
|
String sourceName = DictCache.getValue(TreatMethodConstant.SOURCE_CODE_PREFIX, entity.getSourceCode()); |
|
|
|
// 流程名称
|
|
|
|
// 流程名称
|
|
|
|
String processName = "[" + userName + "] 发起 " + "【" + sourceName + "】缺陷处理流程" + "——>" + entity.getDefectCode(); |
|
|
|
String processName = "[" + userName + "] 发起 " + "【" + sourceName + "】缺陷处理流程" + "——>" + entity.getFaultName(); |
|
|
|
// 开启新的缺陷流程
|
|
|
|
// 开启新的缺陷流程
|
|
|
|
String businessKey = FlowUtil.getBusinessKey("hzims_oper_phenomenon", "" + entity.getId()); |
|
|
|
String businessKey = FlowUtil.getBusinessKey("hzims_oper_phenomenon", "" + entity.getId()); |
|
|
|
Map<String, Object> variable = JSONObject.parseObject(JSONObject.toJSONStringWithDateFormat(entity,DateUtil.PATTERN_DATETIME), Map.class); |
|
|
|
Map<String, Object> variable = JSONObject.parseObject(JSONObject.toJSONStringWithDateFormat(entity,DateUtil.PATTERN_DATETIME), Map.class); |
|
|
@ -297,7 +297,7 @@ public class DefectCheckServiceImpl extends BaseServiceImpl<OperPhenomenonMapper |
|
|
|
} |
|
|
|
} |
|
|
|
defectService.save(operDefectEntity); |
|
|
|
defectService.save(operDefectEntity); |
|
|
|
log.info("缺陷ID:" + operPhenomenonEntity.getDefectCode() + "入库成功"); |
|
|
|
log.info("缺陷ID:" + operPhenomenonEntity.getDefectCode() + "入库成功"); |
|
|
|
operPhenomenonEntity.setCurrentOperator("定论"); |
|
|
|
operPhenomenonEntity.setCurrentOperator("流程结束"); |
|
|
|
operPhenomenonEntity.setCurrentLinkHandler(null); |
|
|
|
operPhenomenonEntity.setCurrentLinkHandler(null); |
|
|
|
} |
|
|
|
} |
|
|
|
//更新数据库
|
|
|
|
//更新数据库
|
|
|
|