| | |
| | | @ApiOperation("更新基础数据") |
| | | @PostMapping("saveMaterialBomData") |
| | | public Result saveMaterialBomData(@RequestBody Map<String, Object> object){ |
| | | return Result.seccess(bomDataService.saveMaterialBomDataSv(object)); |
| | | return Result.success(bomDataService.saveMaterialBomDataSv(object)); |
| | | } |
| | | |
| | | @ApiOperation("保存产品Bom") |
| | | @PostMapping("saveProductBOM") |
| | | public Result saveProductBOM(@RequestBody Map<String, Object> object){ |
| | | return Result.success(bomDataService.saveProductBOMSv(object)); |
| | | } |
| | | @ApiOperation("查询订单BOM对应订单数据") |
| | | @PostMapping("/getOrderBomData/{orderId}") |
| | | public Result getOrderBomData(@PathVariable String orderId){ |
| | | return Result.success(bomDataService.getOrderBomDataSv(orderId)); |
| | | } |
| | | |
| | | @ApiOperation("更新基础数据") |
| | | @PostMapping("getBomDataProduct") |
| | | public Result getBomDataProduct(@RequestBody Map<String, Object> object){ |
| | | return Result.success(bomDataService.getBomDataProductSv(object)); |
| | | } |
| | | |
| | | @ApiOperation("产品bom明细查询") |
| | | @PostMapping("/editProductBOM/{produceId}") |
| | | public Result editProductBOM(@PathVariable String produceId){ |
| | | return Result.success(bomDataService.editProductBOMSv(produceId)); |
| | | } |
| | | |
| | | } |