fanxw 5 lat temu
rodzic
commit
a42ecf7245

+ 1 - 1
src/main/java/com/chinaitop/depot/basic/mapper/BasicStorehouseMapper.xml

@@ -1251,7 +1251,7 @@
1251
     <if test="delFlag != null">
1251
     <if test="delFlag != null">
1252
       AND house.del_flag = #{delFlag}
1252
       AND house.del_flag = #{delFlag}
1253
     </if>
1253
     </if>
1254
-    order by house.storehouse_id asc
1254
+    order by CONVERT(house.storehouse_code, SIGNED) asc
1255
   </select>
1255
   </select>
1256
   <!-- 更新单位表仓房数、油罐数、有效仓容、有效罐容 -->
1256
   <!-- 更新单位表仓房数、油罐数、有效仓容、有效罐容 -->
1257
   <update id="editOrgCfAndHwNum" parameterType="java.util.Map" >
1257
   <update id="editOrgCfAndHwNum" parameterType="java.util.Map" >