Merge branch '0.8.X' of http://49.232.154.205:10100/DeXun/klp-oa into 0.8.X
This commit is contained in:
@@ -3667,11 +3667,14 @@ public class WmsMaterialCoilServiceImpl implements IWmsMaterialCoilService {
|
||||
}
|
||||
|
||||
if (oldCoil.getDataType() == 0) {
|
||||
throw new RuntimeException("当前钢卷是历史钢卷");
|
||||
throw new RuntimeException("该钢卷是历史钢卷");
|
||||
}
|
||||
|
||||
WmsWarehouseBo warehouseBo = new WmsWarehouseBo();
|
||||
warehouseBo.setWarehouseName("退货仓");
|
||||
warehouseBo.setWarehouseCode("return");
|
||||
warehouseBo.setWarehouseType(1L);
|
||||
warehouseBo.setIsEnabled(1);
|
||||
List<WmsWarehouseVo> warehouseList = warehouseService.queryList(warehouseBo);
|
||||
if (warehouseList == null || warehouseList.isEmpty()) {
|
||||
throw new RuntimeException("退货仓不存在,请先配置退货仓");
|
||||
|
||||
Reference in New Issue
Block a user