货物类型查询修改
This commit is contained in:
+3
-1
@@ -2657,7 +2657,7 @@ public class StockShelfOrderApplicationService {
|
|||||||
String mtpckEndprdTypecd = "E";
|
String mtpckEndprdTypecd = "E";
|
||||||
if (materialBaseInfoId != null) {
|
if (materialBaseInfoId != null) {
|
||||||
MaterialBaseInfo materialBaseIn = materialBaseInfoMapper.selectById(materialBaseInfoId);
|
MaterialBaseInfo materialBaseIn = materialBaseInfoMapper.selectById(materialBaseInfoId);
|
||||||
if (materialBaseIn != null) {
|
if (materialBaseIn.getGoodsType() != null) {
|
||||||
Integer goodsType = materialBaseIn.getGoodsType();
|
Integer goodsType = materialBaseIn.getGoodsType();
|
||||||
if (goodsType == 0) {
|
if (goodsType == 0) {
|
||||||
mtpckEndprdTypecd = "M";
|
mtpckEndprdTypecd = "M";
|
||||||
@@ -2665,6 +2665,8 @@ public class StockShelfOrderApplicationService {
|
|||||||
mtpckEndprdTypecd = "E";
|
mtpckEndprdTypecd = "E";
|
||||||
} else if (goodsType == 1) {
|
} else if (goodsType == 1) {
|
||||||
mtpckEndprdTypecd = "E";
|
mtpckEndprdTypecd = "E";
|
||||||
|
}else{
|
||||||
|
throw new ServiceException("货物类型不存在");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user