Ver código fonte

选矿出库部分优化、加入wcs坐标字段

zhangxin 1 ano atrás
pai
commit
06000b90d0

+ 1 - 1
warewms-ams/src/main/java/com/ruoyi/ams/xuankuang/service/WmsDocOrderSubService.java

@@ -112,7 +112,7 @@ public class WmsDocOrderSubService {
             String X = baseLocationLotattVO1.getRowIndex();
             String wcsLocation = baseLocationLotattVO1.getUserdefine4();
 
-            String locationTO = sku.equals("C4H9O2PSSNH4") ? Constant.DRUM_CONNECTORS.toString() : Constant.LOC_SORTATION_CACHE.toString();
+            String locationTO = "C4H9O2PSSNH4".equals(sku) ? Constant.DRUM_CONNECTORS.toString() : Constant.LOC_SORTATION_CACHE.toString();
             AjaxResult ajaxResult = wcsTaskSubService.addWcsOutTask(locationFrom, locationTO, orderNo, pallentNo, wcsNo);
 
             //调用出库任务下发接口