Browse Source

1.拆包机bug解决 2.桶装空托出库增加日志

ChenYang 1 year ago
parent
commit
7cc9eb7bf7

+ 0 - 2
warewms-ams/src/main/java/com/ruoyi/ams/asn/service/impl/WmsDocAsnHeaderServiceImpl.java

@@ -28,9 +28,7 @@ import com.ruoyi.ams.order.domain.WmsDocOrderHeader;
 import com.ruoyi.ams.order.dto.WmsDocOrderDTO;
 import com.ruoyi.ams.order.mapper.WmsDocOrderDetailsMapper;
 import com.ruoyi.ams.order.service.IActAllocationDetailsService;
-import com.ruoyi.ams.order.service.IWmsDocOrderDetailsService;
 import com.ruoyi.ams.order.service.IWmsDocOrderHeaderService;
-import com.ruoyi.ams.task.domain.WcsTask;
 import com.ruoyi.ams.task.service.IWcsTaskService;
 import com.ruoyi.base.constant.Constant;
 import com.ruoyi.base.domain.BaseLocationInfo;

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

@@ -117,6 +117,7 @@ public class WcsTaskSubService {
         wcsTask.setState(state);
         wcsTask.setTaskType(Constant.TASK_TYPE.FORWARD.getValue());
         wcsTask.setBusinessType("01");
+        wcsTask.setWhTypeFrom(Constant.TaskType.CROSS_INV.getDesc());
         wcsTask.setAreaFrom(baseLocationInfoFrom.getZoneId().toString());
         wcsTask.setLocationFrom(baseLocationInfoFrom.getId().toString());
         wcsTask.setAreaTo(baseLocationInfoTo.getZoneId().toString());

+ 1 - 0
warewms-base/src/main/java/com/ruoyi/base/constant/Constant.java

@@ -69,6 +69,7 @@ public class Constant {
     public enum TaskType{
         EMPTY_PALLET("emptyPallet"),
         MOVE_INV("moveInv"),
+        CROSS_INV("crossInv"),
         AGV("agv"),
         RGV("rgv");