Commit 2fa8c116 authored by zhangsen's avatar zhangsen

结项流程bug修改

parent 4f8f887b
...@@ -55,6 +55,8 @@ public class ProjectOverFlowController extends BaseController { ...@@ -55,6 +55,8 @@ public class ProjectOverFlowController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
public ResponseModel<Object> overProjectFlowStart(@RequestBody JSONObject jsonObject) { public ResponseModel<Object> overProjectFlowStart(@RequestBody JSONObject jsonObject) {
OverProjectDto dto = JSON.parseObject(JSON.toJSONString(jsonObject.get(TabLogoEnum.项目竣工信息.getLogo())), OverProjectDto.class); OverProjectDto dto = JSON.parseObject(JSON.toJSONString(jsonObject.get(TabLogoEnum.项目竣工信息.getLogo())), OverProjectDto.class);
dto.setProjectId(jsonObject.getLong("projectId"));
dto.setCondition(jsonObject.getString("condition"));
String token = RequestContext.getToken(); String token = RequestContext.getToken();
String appKey = RequestContext.getAppKey(); String appKey = RequestContext.getAppKey();
String product = RequestContext.getProduct(); String product = RequestContext.getProduct();
...@@ -79,6 +81,8 @@ public class ProjectOverFlowController extends BaseController { ...@@ -79,6 +81,8 @@ public class ProjectOverFlowController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
public ResponseModel<Object> overProjectFlowExecute(@RequestBody JSONObject jsonObject) { public ResponseModel<Object> overProjectFlowExecute(@RequestBody JSONObject jsonObject) {
OverProjectDto dto = JSON.parseObject(JSON.toJSONString(jsonObject.get(TabLogoEnum.项目竣工信息.getLogo())), OverProjectDto.class); OverProjectDto dto = JSON.parseObject(JSON.toJSONString(jsonObject.get(TabLogoEnum.项目竣工信息.getLogo())), OverProjectDto.class);
dto.setProjectId(jsonObject.getLong("projectId"));
dto.setCondition(jsonObject.getString("condition"));
iProjectInitiationService.overProjectFlowExecute(dto); iProjectInitiationService.overProjectFlowExecute(dto);
return ResponseHelper.buildResponse(null); return ResponseHelper.buildResponse(null);
} }
......
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