Commit c1bdb192 by huluobin

update

parent 11f8270a
...@@ -456,10 +456,11 @@ public class CostController { ...@@ -456,10 +456,11 @@ public class CostController {
@RequestParam Integer hasInvoice, @RequestParam Integer hasInvoice,
@RequestParam Integer updateuserid) { @RequestParam Integer updateuserid) {
CostDomain costDomain = new CostDomain(); CostDomain costDomain = costService.getCostByCostNo(costNo);
costDomain.setHasInvoice(hasInvoice); costDomain.setHasInvoice(hasInvoice);
costDomain.setCostNo(costNo); costDomain.setCostNo(costNo);
UpdateCostResp resp = costService.updateCost(costDomain); UpdateCostResp resp = costService.updateCost(costDomain);
if (hasInvoice == 0) { if (hasInvoice == 0) {
costLogService.save(costNo, updateuserid, "更改发票状态为:未给"); costLogService.save(costNo, updateuserid, "更改发票状态为:未给");
......
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