|
|
@ -34,12 +34,12 @@ public class FinanceController { |
|
|
|
@Resource |
|
|
|
private IFinanceService financeService; |
|
|
|
|
|
|
|
@MustLogin |
|
|
|
|
|
|
|
@ApiOperation(value = "通过任务id查看任务关联的财务信息", notes = "") |
|
|
|
@RequestMapping(value = "/getByTask", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<FinanceVo.FinanceItem> getByTask(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.TaskId> params) { |
|
|
|
log.info("通过任务id查看任务关联的财务信息:{}",params); |
|
|
|
FinanceVo.FinanceItem item = financeService.getByTask(params.getParam(), params.getUserId()); |
|
|
|
FinanceVo.FinanceItem item = financeService.getByTask(params.getParam()); |
|
|
|
log.info("通过任务id查看任务关联的财务信息结束:{}", item); |
|
|
|
return JsonResponse.newInstance().ok(item); |
|
|
|
} |
|
|
|