|
@@ -4,6 +4,7 @@ import com.steerinfo.dil.mapper.OmstruckOrderMaterialMapper;
|
|
|
import com.steerinfo.dil.mapper.RmsCapacityMapper;
|
|
|
import com.steerinfo.dil.mapper.RmsPwarehouseGridMapper;
|
|
|
import com.steerinfo.dil.model.OmstruckOrderMaterial;
|
|
|
+import com.steerinfo.dil.model.RmsCapacity;
|
|
|
import com.steerinfo.dil.model.RmsPwarehouseGrid;
|
|
|
import com.steerinfo.dil.service.IOmstruckOrderMaterialService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -113,7 +114,7 @@ public class OmstruckOrderMaterialServiceImpl implements IOmstruckOrderMaterialS
|
|
|
for (Map<String,Object> stackingIdMap : stackingIdList) {
|
|
|
BigDecimal stackingId = (BigDecimal) stackingIdMap.get("stackingId");
|
|
|
// 遍历层次
|
|
|
- for (int i = 1; i <= 8; i++) {
|
|
|
+ for (int i = 1; i <= 25; i++) {
|
|
|
// 遍历层序
|
|
|
for (int j = 1; j <= 24; j++) {
|
|
|
// 一棒库时
|
|
@@ -170,7 +171,13 @@ public class OmstruckOrderMaterialServiceImpl implements IOmstruckOrderMaterialS
|
|
|
}
|
|
|
// B月台
|
|
|
if (platformId.intValue() == 4) {
|
|
|
-
|
|
|
+ RmsPwarehouseGrid rmsPwarehouseGrid = new RmsPwarehouseGrid();
|
|
|
+ BigDecimal gridId = gridId();
|
|
|
+ rmsPwarehouseGrid.setGridId(gridId);
|
|
|
+ rmsPwarehouseGrid.setWarehouseId(warehouseId);
|
|
|
+ rmsPwarehouseGrid.setPlatformId(platformId);
|
|
|
+ insertSelective(rmsPwarehouseGrid);
|
|
|
+ count++;
|
|
|
}
|
|
|
// C月台
|
|
|
if (platformId.intValue() == 5) {
|
|
@@ -205,13 +212,6 @@ public class OmstruckOrderMaterialServiceImpl implements IOmstruckOrderMaterialS
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- // 高线库时
|
|
|
- if (warehouseId.intValue() == 3) {
|
|
|
- // A月台
|
|
|
- if (platformId.intValue() == 7) {
|
|
|
-// RmsPwarehouseGrid rmsPwarehouseGrid = new RmsPwarehouseGrid();
|
|
|
- }
|
|
|
- }
|
|
|
// 配送库时:
|
|
|
if (warehouseId.intValue() == 4) {
|
|
|
// A月台
|