|
@@ -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("添加成功!");
|
|
|
}
|
|
|
|