|
@@ -1,5 +1,6 @@
|
|
package com.ruoyi.web.controller.warewms.pda;
|
|
package com.ruoyi.web.controller.warewms.pda;
|
|
|
|
|
|
|
|
+import cn.hutool.core.util.ObjectUtil;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.ruoyi.ams.asn.domain.WmsDocAsnDetails;
|
|
import com.ruoyi.ams.asn.domain.WmsDocAsnDetails;
|
|
@@ -805,6 +806,19 @@ public class PdaController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 根据库位获取托盘信息
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/boxInfo/queryBoxInfo")
|
|
|
|
+ public AjaxResult queryBoxInfo(@RequestBody WmsBoxInfo wmsBoxInfo) {
|
|
|
|
+ wmsBoxInfo.setLocationId(Constant.LOC_SORTATION_CACHE);
|
|
|
|
+ WmsBoxInfo boxInfo = wmsBoxInfoService.selectWmsBoxInfoByModel(wmsBoxInfo);
|
|
|
|
+ if (ObjectUtil.isNull(boxInfo) || StringUtils.isBlank(boxInfo.getBoxNo())) {
|
|
|
|
+ return AjaxResult.error(wmsBoxInfo.getLocationId()+"库位不存在存在该托盘");
|
|
|
|
+ }
|
|
|
|
+ return AjaxResult.success(wmsBoxInfo.getLocationId()+"库位存在存在该托盘");
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 按照托盘进行库存调整
|
|
* 按照托盘进行库存调整
|
|
*/
|
|
*/
|