Browse Source

Merge branch 'dev_plugins' into dev_temp

master
zhaoqifeng 5 years ago
parent
commit
11ff9e1bad
  1. 16
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/ProjectTraceController.java

16
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/ProjectTraceController.java

@ -232,5 +232,21 @@ public class ProjectTraceController {
ValidatorUtils.validateEntity(formDTO);
return new Result<ProcessorListResultDTO>().ok(projectTraceService.processorList(formDTO));
}
/**
* 处理响应
* @author zhaoqifeng
* @date 2020/8/20 10:16
* @param tokenDTO
* @param formDTO
* @return com.epmet.commons.tools.utils.Result
*/
@PostMapping("response")
@RequirePermission(requirePermission = RequirePermissionEnum.WORK_PROJECT_TRACE_TRANSFER)
public Result response(@LoginUser TokenDto tokenDTO, @RequestBody ProjectResponseFormDTO formDTO) {
ValidatorUtils.validateEntity(formDTO);
projectTraceService.response(tokenDTO, formDTO);
return new Result();
}
}

Loading…
Cancel
Save