Commit c777b801 by jianshuqin

增加功能:审核通过增加审核意见

parent 5d261386
......@@ -273,7 +273,7 @@ public class CostController {
@ApiOperation("财务审核驳回")
public CostResult<Void> financialRefuse(@RequestParam String costNo,
@RequestParam Integer userid,
@RequestParam String rejectReason) {
@RequestParam(required=false) String rejectReason) {
CostContext costContext = new CostContext(costNo, userid);
costContext.setCostState(financialCheckState);
costContext.refuse(rejectReason);
......@@ -284,7 +284,7 @@ public class CostController {
@ApiOperation("最终审核通过")
public CostResult<Void> finalCheck(@RequestParam String costNo,
@RequestParam Integer userid,
@RequestParam String reason) {
@RequestParam(required=false) String reason) {
CostContext costContext = new CostContext(costNo, userid);
costContext.setCostState(finalCheckState);
costContext.handle(reason);
......
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