Bladeren bron

后勤地市和单位数据接口代码优化添加排序

yangbq 2 maanden geleden
bovenliggende
commit
3a3560db5d

+ 4 - 2
project-zcustom/src/main/resources/mapper/zcustom/logistics/PlatLogisticsMapper.xml

@@ -279,6 +279,7 @@
         WHERE
             b.app_parent_org = '10001'
           AND b.app_org NOT IN ('1','1A001','1A002','1A004','1A005')
+        order by b.sort
     </select>
 
     <select id="getSceneRateY" resultMap="LargePlatLogisticsResult">
@@ -289,7 +290,7 @@
             large_plat_logistics a
                 LEFT JOIN large_plat_app_org b ON a.app_code = b.app_code
         WHERE
-            b.app_parent_org = '10001'
+            b.app_parent_org = '10001' order by b.sort
     </select>
 
     <select id="getOperation" resultMap="LargePlatLogisticsResult">
@@ -314,6 +315,7 @@
         WHERE
              b.app_parent_org = '10001'
             AND b.app_org NOT IN ('1','1A001','1A002','1A004','1A005')
+        order by b.sort
     </select>
 
     <select id="getInspectionSchemeNumY" resultMap="LargePlatLogisticsResult">
@@ -324,6 +326,6 @@
             large_plat_logistics a
                 LEFT JOIN large_plat_app_org b ON a.app_code = b.app_code
         WHERE
-            b.app_parent_org = '10001'
+            b.app_parent_org = '10001' order by b.sort
     </select>
 </mapper>