|
@@ -116,14 +116,14 @@ public class StorageChangeStoragehouseRopServiceImpl implements StorageChangeSto
|
|
116
|
//根据仓房、货位、orgId获取粮食品种等信息
|
116
|
//根据仓房、货位、orgId获取粮食品种等信息
|
|
117
|
Map<String, Object> map = feignAgileService.getDateByChHwh(orgId, houseOutId, wareOutHouseId);
|
117
|
Map<String, Object> map = feignAgileService.getDateByChHwh(orgId, houseOutId, wareOutHouseId);
|
|
118
|
if ("0".equals(map.get("pz").toString())) {
|
118
|
if ("0".equals(map.get("pz").toString())) {
|
|
|
|
119
|
+ sbf.append("根据倒出货位的值"+wareOutHouseId+"未获取到对应的库存信息,");
|
|
|
|
120
|
+ } else {
|
|
119
|
Integer grainKind = (Integer) map.get("pz"); //品种
|
121
|
Integer grainKind = (Integer) map.get("pz"); //品种
|
|
120
|
storageChangeStoragehouseDefault.setFoodWar(grainKind); //品种
|
122
|
storageChangeStoragehouseDefault.setFoodWar(grainKind); //品种
|
|
121
|
String grainAttribute = map.get("hwxz").toString();//粮油性质
|
123
|
String grainAttribute = map.get("hwxz").toString();//粮油性质
|
|
122
|
storageChangeStoragehouseDefault.setFoodNature(grainAttribute); //粮油性质
|
124
|
storageChangeStoragehouseDefault.setFoodNature(grainAttribute); //粮油性质
|
|
123
|
Integer grainDetailKind = (Integer) map.get("mxpz"); //明细品种
|
125
|
Integer grainDetailKind = (Integer) map.get("mxpz"); //明细品种
|
|
124
|
storageChangeStoragehouseDefault.setDetailWar(grainDetailKind); //明细品种
|
126
|
storageChangeStoragehouseDefault.setDetailWar(grainDetailKind); //明细品种
|
|
125
|
- } else {
|
|
|
|
126
|
- sbf.append("根据倒出货位的值"+wareOutHouseId+"未获取到对应的库存信息,");
|
|
|
|
127
|
}
|
127
|
}
|
|
128
|
}
|
128
|
}
|
|
129
|
|
129
|
|