Selaa lähdekoodia

成本报表 保存报错问题

liuchaohui 2 vuotta sitten
vanhempi
commit
fac175a59f

+ 3 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/cost/controller/SyCostAllocationController.java

@@ -199,9 +199,9 @@ public class SyCostAllocationController {
     @AutoLog(value = "成本分配-添加")
     @PostMapping(value = "/addd")
     public Result<?> addd(@RequestBody SyCostAllocationPage syCostAllocationPage) {
-        SyCostAllocation syCostAllocation = new SyCostAllocation();
-        BeanUtils.copyProperties(syCostAllocationPage, syCostAllocation);
-        syCostAllocationService.saveMain(syCostAllocation, syCostAllocationPage.getSyCostAllocationAccidentList(), syCostAllocationPage.getSyCostAllocationCostpayList(), syCostAllocationPage.getSyCostAllocationFabricList(), syCostAllocationPage.getSyCostAllocationIngredientList(), syCostAllocationPage.getSyCostAllocationShipdetailList());
+//        SyCostAllocation syCostAllocation = new SyCostAllocation();
+//        BeanUtils.copyProperties(syCostAllocationPage, syCostAllocation);
+//        syCostAllocationService.saveMain(syCostAllocation, syCostAllocationPage.getSyCostAllocationAccidentList(), syCostAllocationPage.getSyCostAllocationCostpayList(), syCostAllocationPage.getSyCostAllocationFabricList(), syCostAllocationPage.getSyCostAllocationIngredientList(), syCostAllocationPage.getSyCostAllocationShipdetailList());
         return Result.OK("添加成功!");
     }