Explorar el Código

统一日期控件

mengy hace 5 años
padre
commit
d226fd9386

+ 1 - 1
src/main/java/com/chinaitop/depot/storage/controller/StorageFoodbasicInfoController.java

@@ -165,7 +165,7 @@ public class StorageFoodbasicInfoController {
165 165
                     }
166 166
                 }
167 167
                 for(StorageQualitycheckInspection sqki : SqciList){
168
-                    if(sqki.getInsolubleImpurity()!=null ){
168
+                    if(sqki.getInsolubleImpurity()!=null && sqki.getInsolubleImpurity()!="" && !sqki.getInsolubleImpurity().equals("") ){
169 169
                         foodbasicinfo.setImpurity(sqki.getInsolubleImpurity());
170 170
                         continue;
171 171
                     }

+ 4 - 3
src/main/java/com/chinaitop/depot/storage/mapper/StorageFoodbasicinfoMapper.xml

@@ -897,8 +897,8 @@
897 897
         bs.storehouse_code storehouseCode,
898 898
         bs.storehouse_type house_type,
899 899
         bs.design_capacity design_house_capacity,
900
-        bs.length,
901
-        bs.width,
900
+        sf.length,
901
+        sf.width,
902 902
         bs.storeHouse_name storehouseName,
903 903
         bw.warehouse_name wareHouseName,
904 904
         <!--bs.depot_name keep_unite,-->
@@ -908,6 +908,7 @@
908 908
         temp_sqk.keeper keeperNames,
909 909
         temp_sqk.water,
910 910
         temp_sqk.impurity,
911
+        temp_sqk.location,
911 912
         temp_sqk.badpart unsound,
912 913
         temp_sqk.capacity weight,
913 914
         temp_sqk. LEVEL,
@@ -938,7 +939,7 @@
938 939
         <if test="warehouseId != null">
939 940
         AND sqk.warehouse_id = #{warehouseId}
940 941
         </if>
941
-        AND sqk.type = 1
942
+        AND sqk.type = 0
942 943
         AND sqk.history_status = 0
943 944
         ORDER BY
944 945
             id DESC