ZeroLiYi 1 gadu atpakaļ
vecāks
revīzija
1021d63eff

+ 1 - 0
src/main/java/com/chinaitop/depot/storage/mapper/ClearanceConfirmationMapper.xml

@@ -173,6 +173,7 @@ cc.updatename updatename,cc.updatedate updatedate,cc.warehouse_id
173 173
         END AS temperatureMeasureType,
174 174
       Bs.design_capacity designCapacity,
175 175
       Bs.draftType,
176
+      Bs.storehouse_type storehouseType,
176 177
       Bs.keeping_way keepingWay
177 178
     FROM
178 179
       basic_storehouse Bs

+ 5 - 1
src/main/java/com/chinaitop/depot/storage/service/impl/WarehouseSealingRecordServiceImpl.java

@@ -219,6 +219,7 @@ public class WarehouseSealingRecordServiceImpl implements WarehouseSealingRecord
219 219
             Integer keepingWay =null;
220 220
             Integer draftType =null;
221 221
             Integer temperatureMeasureType=null;
222
+            Integer storehouseType=null;
222 223
 
223 224
                     if(stoMap != null && !stoMap.isEmpty()){
224 225
                         if(stoMap.get("designCapacity")!=null){
@@ -234,8 +235,11 @@ public class WarehouseSealingRecordServiceImpl implements WarehouseSealingRecord
234 235
                         if(stoMap.get("temperatureMeasureType")!=null){
235 236
                             temperatureMeasureType =(Integer)(stoMap.get("temperatureMeasureType"));
236 237
                         }
238
+                        if(stoMap.get("storehouseType")!=null){
239
+                            storehouseType =(Integer)(stoMap.get("storehouseType"));
240
+                        }
237 241
                     }
238
-
242
+            grainSituationCard.setStorehouseType(storehouseType);
239 243
             grainSituationCard.setKeepingWay(keepingWay);
240 244
             grainSituationCard.setDesignCapacity(designCapacity);
241 245
             grainSituationCard.setDrafttype(draftType);