Commit 18866054 authored by yangyang's avatar yangyang

fix(检验业务开通):保存并提交判断是否开启过工作流,如果开启过则不重新开启

parent 07a7fe18
...@@ -223,7 +223,7 @@ public class JyjcInspectionApplicationController extends BaseController { ...@@ -223,7 +223,7 @@ public class JyjcInspectionApplicationController extends BaseController {
* 撤回接口(监督检验、定(首)检、检测)-通用 * 撤回接口(监督检验、定(首)检、检测)-通用
* *
* *
* @param instanceId instanceId * @param sequenceNbr sequenceNbr
* @return {@link } * @return {@link }
* @author yangyang * @author yangyang
* @throws * @throws
......
...@@ -103,7 +103,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp ...@@ -103,7 +103,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
String instanceId = null; String instanceId = null;
try { try {
if (model.getSequenceNbr() != null) { if (model.getSequenceNbr() != null) {
JyjcOpeningApplication entity = this.lambdaQuery().eq(JyjcOpeningApplication::getSequenceNbr, model.getSequenceNbr()).getEntity(); JyjcOpeningApplication entity = jyjcOpeningApplicationMapper.selectById(model.getSequenceNbr());
if (entity != null) { if (entity != null) {
instanceId = entity.getWorkflowProstanceId(); instanceId = entity.getWorkflowProstanceId();
isUpdate = true; isUpdate = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment