fanxw 2 anni fa
parent
commit
f94539f3d5

+ 2 - 2
src/main/java/com/chinaitop/depot/storage/service/impl/StorageChangeStoragehouseRopServiceImpl.java

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