Commit 51a8d7f6 authored by yangyang's avatar yangyang

fix(jyjc):调整新增接口

parent 150bdc31
...@@ -147,11 +147,13 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp ...@@ -147,11 +147,13 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
} }
public void updateModelByInstanceId(String instanceId) { public void updateModelByInstanceId(String instanceId) {
log.info("updateModelByInstanceId, instanceId={}", instanceId);
JyjcOpeningApplication entity = this.lambdaQuery().eq(JyjcOpeningApplication::getWorkflowProstanceId, instanceId).one(); JyjcOpeningApplication entity = this.lambdaQuery().eq(JyjcOpeningApplication::getWorkflowProstanceId, instanceId).one();
if (entity == null) { if (entity == null) {
return; return;
} }
JSONObject taskJson = getTask(instanceId); JSONObject taskJson = getTask(instanceId);
log.info("taskJson => {}", taskJson);
entity.setWorkflowRole(getWorkflowRoleGroups(taskJson)); entity.setWorkflowRole(getWorkflowRoleGroups(taskJson));
entity.setStatus(getWorkflowStatus(taskJson)); entity.setStatus(getWorkflowStatus(taskJson));
this.updateById(entity); this.updateById(entity);
......
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