Explorar el Código

操盘手业务,添加排序

zhaoxian hace 3 años
padre
commit
bb6172e59e

+ 1 - 0
ruixuan-live/src/main/resources/mapper/live/KuaishouLiveBroadcastMapper.xml

@@ -105,6 +105,7 @@
                 like concat('%', #{inputController}, '%')
             </if>
         </where>
+        ORDER BY create_time desc
     </select>
 
     <select id="selectKuaishouLiveBroadcastById" parameterType="String" resultMap="KuaishouLiveBroadcastResult">

+ 1 - 0
ruixuan-live/src/main/resources/mapper/live/KuaishouLiveUserAccountMapper.xml

@@ -83,6 +83,7 @@
             <if test="putType != null  and putType != ''">and put_type like concat('%', #{putType}, '%')</if>
             <if test="createrId != null  and createrId != ''">and creater_id = #{createrId}</if>
         </where>
+        ORDER BY create_time desc
     </select>
 
     <select id="getOne" parameterType="String" resultType="com.ruixuan.live.entity.KuaishouLiveUserAccount">