Explorar el Código

主题配置和网格配置列表按创建时间倒序

lidongyu hace 1 año
padre
commit
230861ada1

+ 1 - 0
sooka-jnb/src/main/resources/mapper/handleAffairs/GridTypeMapper.xml

@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
             <if test="yesOrNoShow != null  and yesOrNoShow != ''"> and yes_or_no_show = #{yesOrNoShow}</if>
         </where>
+        order by create_time DESC
     </select>
     
     <select id="selectGridTypeById" parameterType="Long" resultMap="GridTypeResult">

+ 1 - 0
sooka-jnb/src/main/resources/mapper/handleAffairs/TopicTypeMapper.xml

@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="yesOrNoShow != null  and yesOrNoShow != ''"> and yes_or_no_show = #{yesOrNoShow}</if>
             <if test="objectOfHandling != null  and objectOfHandling != ''"> and object_of_handling like concat('%',#{objectOfHandling},'%')</if>
         </where>
+        order by create_time DESC
     </select>
     
     <select id="selectTopicTypeById" parameterType="Long" resultMap="TopicTypeResult">