|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (str.startsWith("PK")) { | 
|---|
|  |  |  | ordersParam.setInType(OrderType.PK_IN_ORDER.id); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | ordersParam.setInType(OrderType.UTC_OUT_ORDER.id); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | boolean result = mobileService.batchMergeOrders(ordersParam); | 
|---|
|  |  |  | if (result) { | 
|---|
|  |  |  | 
|---|
|  |  |  | return mobileService.selectShippingDetl(params); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author Ryan | 
|---|
|  |  |  | * @date 2025/6/28 | 
|---|
|  |  |  | * @description: 获取推荐库位 | 
|---|
|  |  |  | * @version 1.0 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping("/recommend/locs") | 
|---|
|  |  |  | public R getRecommend() { | 
|---|
|  |  |  | return  mobileService.getRecommendLocs(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author Ryan | 
|---|
|  |  |  | * @date 2025/6/28 | 
|---|
|  |  |  | * @description: 查询物料信息 | 
|---|
|  |  |  | * @version 1.0 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping("/mats/search/{matnr}") | 
|---|
|  |  |  | public R getMats(@PathVariable String matnr) { | 
|---|
|  |  |  | return mobileService.getMatsByCode(matnr); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 确认发货单明细 | 
|---|
|  |  |  | * @return | 
|---|