Commit 2b809678 authored by kongfm's avatar kongfm

Merge remote-tracking branch 'origin/developer' into developer

parents 016b541c 49055fef
...@@ -13,7 +13,7 @@ import com.alibaba.fastjson.JSONObject; ...@@ -13,7 +13,7 @@ import com.alibaba.fastjson.JSONObject;
import feign.Response; import feign.Response;
@FeignClient(name = "AMOS-API-WORKFLOW-chenhao", path = "workflow", configuration = @FeignClient(name = "AMOS-API-WORKFLOW", path = "workflow", configuration =
{ CommonMultipartSupportConfig.class }) { CommonMultipartSupportConfig.class })
public interface WorkflowFeignService { public interface WorkflowFeignService {
/** /**
......
...@@ -263,7 +263,7 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD ...@@ -263,7 +263,7 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
// 第一次保存隐患提交记录 // 第一次保存隐患提交记录
LatentDangerFlowRecord inputRecord = saveFlowRecord(instance.getString("id"), "提交隐患", userId, departmentId, LatentDangerFlowRecord inputRecord = saveFlowRecord(instance.getString("id"), "提交隐患", userId, departmentId,
flowJson, latentDanger.getId(), role, LatentDangerExecuteTypeEnum.填写隐患完成.getName(), flowJson, latentDanger.getId(), role, LatentDangerExecuteTypeEnum.填写隐患完成.getName(),
latentDanger.getRemark(), userRealName, departmentName, latentDanger.getDangerState(), 0); latentDanger.getRemark(), userRealName, departmentName, latentDanger.getDangerState(), ExecuteTypeEnum.通过.getCode());
latentDanger.setCurrentFlowRecordId(inputRecord.getId()); latentDanger.setCurrentFlowRecordId(inputRecord.getId());
latentDanger.setInstanceId(instance.getString("id")); latentDanger.setInstanceId(instance.getString("id"));
latentDangerMapper.updateById(latentDanger); latentDangerMapper.updateById(latentDanger);
......
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