| | |
| | | import com.example.erp.service.mm.FinishedGoodsInventoryService; |
| | | import com.example.erp.service.mm.MaterialInventoryService; |
| | | import com.example.erp.service.pp.ReportService; |
| | | import com.example.erp.service.pp.ReportingWorkService; |
| | | import com.example.erp.service.sd.DeliveryService; |
| | | import com.example.erp.service.sd.OrderService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | private final MaterialInventoryService materialInventoryService; |
| | | private final FinishedGoodsInventoryService finishedGoodsInventoryService; |
| | | private final ReportService reportService; |
| | | private final ReportingWorkService reportingWorkService; |
| | | |
| | | @ApiOperation("订单报表") |
| | | @PostMapping("/getOrderList") |
| | |
| | | |
| | | @ApiOperation("可入库的成品查询接口") |
| | | @PostMapping("/getSelectWarehousingList") |
| | | public Result getSelectWarehousingList(@RequestBody String processId){ |
| | | return Result.success(finishedGoodsInventoryService.getSelectWarehousingApp(processId)); |
| | | public Result getSelectWarehousingList(@RequestBody Map<String,String> map){ |
| | | return Result.success(finishedGoodsInventoryService.getSelectWarehousingApp(map.get("processId"))); |
| | | } |
| | | |
| | | @ApiOperation("成品入库接口") |
| | |
| | | public Result addDeliveryDetail( @RequestBody Map<String,Object> object){ |
| | | return Result.success(finishedGoodsInventoryService.addDeliveryDetail(object)); |
| | | } |
| | | |
| | | @ApiOperation("app多个流程卡报工") |
| | | @PostMapping("/addWorkInProgress") |
| | | @SaCheckPermission("addReportingWork.add") |
| | | public Result addWorkInProgress(@RequestBody Map<String,Object> object){ |
| | | return reportingWorkService.addWorkInProgress(object); |
| | | } |
| | | } |