|
|
@ -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(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|