浏览代码

fix 修改按照户号排序

tjf 3 年之前
父节点
当前提交
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>