|
|
@ -42,6 +42,7 @@ public class FinanceController { |
|
|
log.info("通过任务id查看任务关联的财务信息结束:{}", item); |
|
|
log.info("通过任务id查看任务关联的财务信息结束:{}", item); |
|
|
return JsonResponse.newInstance().ok(item); |
|
|
return JsonResponse.newInstance().ok(item); |
|
|
} |
|
|
} |
|
|
|
|
|
@MustLogin |
|
|
@ApiOperation(value = "查询费用申请类型", notes = "") |
|
|
@ApiOperation(value = "查询费用申请类型", notes = "") |
|
|
@RequestMapping(value = "/queryType", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@RequestMapping(value = "/queryType", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
public JsonResponse<FinanceVo.Type> queryType(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.Type> params) { |
|
|
public JsonResponse<FinanceVo.Type> queryType(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.Type> params) { |
|
|
@ -50,7 +51,7 @@ public class FinanceController { |
|
|
log.info("查询数据类型结束:{}", types); |
|
|
log.info("查询数据类型结束:{}", types); |
|
|
return JsonResponse.newInstance().ok(types); |
|
|
return JsonResponse.newInstance().ok(types); |
|
|
} |
|
|
} |
|
|
|
|
|
@MustLogin |
|
|
@ApiOperation(value = "发起申请", notes = "") |
|
|
@ApiOperation(value = "发起申请", notes = "") |
|
|
@RequestMapping(value = "/apply", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@RequestMapping(value = "/apply", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
public JsonResponse apply(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.Apply> params) { |
|
|
public JsonResponse apply(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.Apply> params) { |
|
|
@ -59,6 +60,7 @@ public class FinanceController { |
|
|
log.info("发起申请结束"); |
|
|
log.info("发起申请结束"); |
|
|
return JsonResponse.newInstance().ok(); |
|
|
return JsonResponse.newInstance().ok(); |
|
|
} |
|
|
} |
|
|
|
|
|
@MustLogin |
|
|
@ApiOperation(value = "查询申请详情", notes = "") |
|
|
@ApiOperation(value = "查询申请详情", notes = "") |
|
|
@RequestMapping(value = "/getApplyDetail", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@RequestMapping(value = "/getApplyDetail", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
public JsonResponse<FinanceVo.ApplyDetail> getApplyDetail(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.ApplyId> params) { |
|
|
public JsonResponse<FinanceVo.ApplyDetail> getApplyDetail(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.ApplyId> params) { |
|
|
@ -67,7 +69,7 @@ public class FinanceController { |
|
|
log.info("查询申请详情结束:{}", detail); |
|
|
log.info("查询申请详情结束:{}", detail); |
|
|
return JsonResponse.newInstance().ok(detail); |
|
|
return JsonResponse.newInstance().ok(detail); |
|
|
} |
|
|
} |
|
|
|
|
|
@MustLogin |
|
|
@ApiOperation(value = "审批", notes = "") |
|
|
@ApiOperation(value = "审批", notes = "") |
|
|
@RequestMapping(value = "/audit", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
@RequestMapping(value = "/audit", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
public JsonResponse audit(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.Audit> params) { |
|
|
public JsonResponse audit(@ApiParam @Validated @RequestBody QueryDto<FinanceDto.Audit> params) { |
|
|
|