tjf 3 лет назад
Родитель
Сommit
5462f950f6
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      boman-web-core/src/main/resources/mapper/CzrkMapper.xml

+ 3 - 3
boman-web-core/src/main/resources/mapper/CzrkMapper.xml

@@ -155,7 +155,7 @@
             <if test="isConfirm != null  and isConfirm != ''">and is_confirm = #{isConfirm}</if>
             <if test="gridId != null  and gridId != ''">and grid_id = #{gridId}</if>
         </where>
-        order by create_time DESC
+        order by code DESC
     </select>
 
 
@@ -189,7 +189,7 @@
             <if test="villageTownsIdXjd != null and villageTownsIdXjd != ''">and z.town_id = #{villageTownsIdXjd}</if>
             <if test="villageIdXjd != null and villageIdXjd != ''">and z.village_id = #{villageIdXjd}</if>
         </where>
-        order by c.create_time DESC
+        order by c.code DESC
     </select>
     <select id="listByRlryRel" resultType="com.boman.domain.Czrk">
         SELECT
@@ -1427,7 +1427,7 @@
             <if test="villageTownsIdXjd != null and villageTownsIdXjd != ''">and z.town_id = #{villageTownsIdXjd}</if>
             <if test="villageIdXjd != null and villageIdXjd != ''">and z.village_id = #{villageIdXjd}</if>
         </where>
-        order by c.create_time DESC
+        order by c.code DESC
     </select>