|  |  | 
 |  |  | import com.vincent.rsf.server.api.service.ReceiveMsgService; | 
 |  |  | import com.vincent.rsf.framework.exception.CoolException; | 
 |  |  | import com.vincent.rsf.server.api.controller.erp.params.*; | 
 |  |  | import com.vincent.rsf.server.common.annotation.OperationLog; | 
 |  |  | import com.vincent.rsf.server.common.domain.BaseParam; | 
 |  |  | import com.vincent.rsf.server.common.domain.PageParam; | 
 |  |  | import com.vincent.rsf.framework.common.R; | 
 |  |  |  | 
 |  |  | import com.vincent.rsf.server.manager.entity.Loc; | 
 |  |  | import com.vincent.rsf.server.manager.entity.Transfer; | 
 |  |  | import com.vincent.rsf.server.manager.service.MatnrGroupService; | 
 |  |  | import com.vincent.rsf.server.system.controller.BaseController; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private ReceiveMsgService receiveMsgService; | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private MatnrGroupService matnrGroupService; | 
 |  |  |  | 
 |  |  | 
 |  |  |      * @version 1.0 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation(value = "查询分类信息") | 
 |  |  |     @OperationLog("物料分类列表") | 
 |  |  |     @PostMapping("/query/matnr/group") | 
 |  |  |     public R syncMatGroup() { | 
 |  |  |         return R.ok().add(matnrGroupService.list()); | 
 |  |  | 
 |  |  |      * @version 1.0 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation(value = "查询单据状态及明细") | 
 |  |  |     @OperationLog("查询订单状态及明细") | 
 |  |  |     @PostMapping("/query/order") | 
 |  |  |     public R queryOrderStatus(@RequestBody QueryOrderParam queryParams) { | 
 |  |  |         if (Objects.isNull(queryParams)) { | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @PostMapping("/query/locs/detls") | 
 |  |  |     @ApiOperation(value = "库位信息查询") | 
 |  |  |     @OperationLog("库位明细列表") | 
 |  |  |     public R syncLocDetls(@RequestBody Map<String, Object> map) { | 
 |  |  |         BaseParam baseParam = buildParam(map, BaseParam.class); | 
 |  |  |         PageParam<Loc, BaseParam> pageParam = new PageParam<>(baseParam, Loc.class); | 
 |  |  | 
 |  |  |         return receiveMsgService.syncLocsDetl(pageParam, wrapper); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * @author Ryan | 
 |  |  |      * @date 2025/8/21 | 
 |  |  |      * @description: 调拔单信息查询 | 
 |  |  |      * @version 1.0 | 
 |  |  |      */ | 
 |  |  |     @PostMapping("/query/transfer") | 
 |  |  |     @ApiOperation("查询调拔单及明细") | 
 |  |  |     @OperationLog("调拔单及明细查询") | 
 |  |  |     public R queryTransfer(@RequestBody QueryOrderParam queryParams) { | 
 |  |  |         if (Objects.isNull(queryParams)) { | 
 |  |  |             throw new CoolException("参数不能为空!!"); | 
 |  |  |         } | 
 |  |  |         return receiveMsgService.queryTransfer(queryParams); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |