Commit 59c8fbc1 by liyanlin

fix

parent effc6d3e
...@@ -75,7 +75,7 @@ public class CostApiController implements CostApi { ...@@ -75,7 +75,7 @@ public class CostApiController implements CostApi {
@ApiOperation("接收收付款单") @ApiOperation("接收收付款单")
@Override @Override
@PostMapping("/pushCost") @PostMapping("/pushCost")
public CostResult<Void> pushCost(@RequestBody CostInputDto input) throws Exception { public CostResult<Void> pushCost(@RequestBody CostInputDto input) throws Exception {
String costNo = costApiService.generateCost(input); String costNo = costApiService.generateCost(input);
return CostResult.successMsg(costNo); return CostResult.successMsg(costNo);
} }
......
...@@ -156,7 +156,7 @@ public class GeneralManagerCheckState extends CostState { ...@@ -156,7 +156,7 @@ public class GeneralManagerCheckState extends CostState {
//收款不需要审核 //收款不需要审核
return true; return true;
} }
if (costDomain.getProjectType().equalsIgnoreCase("DSP")) { if (costDomain.getProjectType() != null && costDomain.getProjectType().equalsIgnoreCase("DSP")) {
//DSP不需要审核 //DSP不需要审核
return true; return true;
} }
......
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