zhangyuewww 3 năm trước cách đây
mục cha
commit
74d7153447

+ 1 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/ProcurementPlanInfoMapper.xml

@@ -92,7 +92,7 @@
         <if test="showFlag != null and showFlag != ''">
             AND show_flag = #{showFlag}
         </if>
-        ORDER BY status DESC , update_date DESC
+        ORDER BY show_flag DESC , update_date DESC
         <if test="currentPage != null and currentPage != ''">
             LIMIT ${startRecord}, ${pageSize}
         </if>

+ 1 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/SalePlanInfoMapper.xml

@@ -92,7 +92,7 @@
         <if test="showFlag != null and showFlag != ''">
             AND show_flag = #{showFlag}
         </if>
-        ORDER BY status DESC , update_date DESC
+        ORDER BY show_flag DESC , update_date DESC
         <if test="currentPage != null and currentPage != ''">
             LIMIT ${startRecord}, ${pageSize}
         </if>