仓库控制信息
This commit is contained in:
+4
-2
@@ -671,7 +671,8 @@ public class ReservationStockInOrderDomainService {
|
||||
MaterialWarehouseControlPO materialWarehouseControlPO = reservationStockInOrderMapper.getInfoByMaterialBaseInfoIds(materialBaseInfoPO.getMaterialBaseInfoId());
|
||||
//MaterialWarehouseControlPO materialWarehouseControlPO = materialWarehouseControlService.getInfoByMaterialBaseInfoIds(materialBaseInfoPO.getMaterialBaseInfoId());
|
||||
if (materialWarehouseControlPO == null){
|
||||
throw new ServiceException("物料仓库控制信息不存在");
|
||||
// throw new ServiceException("物料仓库控制信息不存在");
|
||||
materialWarehouseControlPO = new MaterialWarehouseControlPO();
|
||||
}
|
||||
inMaterialDetailDO.setMaterialWarehouseControlId(materialWarehouseControlPO.getMaterialWarehouseControlId());
|
||||
inMaterialDetailDO.setSerialNumberManage(materialWarehouseControlPO.getSerialNumberManage());
|
||||
@@ -686,7 +687,8 @@ public class ReservationStockInOrderDomainService {
|
||||
MaterialGoodsRulePO materialGoodsRulePO = reservationStockInOrderMapper.getGoodsInfoByMaterialBaseInfoIds(inMaterialDetailDO.getMaterialBaseInfoId());
|
||||
//MaterialGoodsRulePO materialGoodsRulePO = materialGoodsRuleService.getInfoByMaterialBaseInfoIds(materialBaseInfoPO.getMaterialBaseInfoId());
|
||||
if (materialGoodsRulePO == null){
|
||||
throw new ServiceException("物料商品规则信息不存在");
|
||||
// throw new ServiceException("物料商品规则信息不存在");
|
||||
materialGoodsRulePO =new MaterialGoodsRulePO();
|
||||
}
|
||||
inMaterialDetailDO.setDistributeRuleId(materialGoodsRulePO.getMaterialGoodsRuleId());
|
||||
inMaterialDetailDO.setDistributeRuleCode(materialGoodsRulePO.getRuleCode());
|
||||
|
||||
Reference in New Issue
Block a user