| | |
| | | import com.vincent.rsf.framework.common.Cools; |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.framework.exception.CoolException; |
| | | import com.vincent.rsf.server.api.controller.params.*; |
| | | import com.vincent.rsf.server.api.controller.erp.params.CheckObjParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.ManualShelvingParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.OpStockParams; |
| | | import com.vincent.rsf.server.api.controller.erp.params.OtherReceiptParams; |
| | | import com.vincent.rsf.server.api.service.MobileService; |
| | | import com.vincent.rsf.server.manager.controller.params.WaitPakinParam; |
| | | import com.vincent.rsf.server.manager.entity.QlyIsptItem; |
| | |
| | | @PreAuthorize("hasAuthority('manager:asnOrderItem:list')") |
| | | @ApiOperation("获取订单物料明细") |
| | | @PostMapping("/asnOrderItem/trackCode") |
| | | public R getItemByTrackCode(@RequestBody Map<String, Object> params) { |
| | | public R getItemByTrackCode(@RequestBody Map<String, String> params) { |
| | | if (Objects.isNull(params)) { |
| | | throw new CoolException("参数不能为空!!"); |
| | | } |
| | |
| | | |
| | | @ApiOperation("快速质检信息") |
| | | @PreAuthorize("hasAuthority('manager:qlyInspect:list')") |
| | | @PostMapping("/inspect/query") |
| | | // @PostMapping("/inspect/query") |
| | | public R checkObjs(@RequestBody CheckObjParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | |
| | | if (Objects.isNull(params) || params.isEmpty()) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.checkUpdate(params); |
| | | return mobileService.checkUpdate(params, getLoginUserId()); |
| | | } |
| | | |
| | | @ApiOperation("获取上架信息") |