@@ -403,6 +403,7 @@
and a.send_time BETWEEN #{audit.sendList[0]} AND #{audit.sendList[1]}
</if>
</where>
+ order by a.id desc
</select>
</mapper>
@@ -70,6 +70,7 @@
<if test="fUpdateTime != null ">and a.f_update_time = #{fUpdateTime}</if>
<if test="fDelFlag != null ">and a.f_del_flag = #{fDelFlag}</if>
+ order by f_id desc
<select id="selectTWarehouseCheckItemsById" parameterType="Long" resultMap="TWarehouseCheckItemsResult">
@@ -2419,8 +2419,8 @@
<if test='timeInterval != null and timeInterval[1] != null and timeInterval[1]!= ""'>
and w.f_bsdate <= #{timeInterval[1]}
- ${params.dataScope}
- order by w.f_bsdate desc
+ ${params.dataScope}
+ order by w.f_id desc
<select id="selectWarehouseItemListById" resultType="java.util.Map">