master:系统功能调优;

pull/1121/head
liujiang 2025-12-08 21:18:52 +08:00
parent 5b3bd3eff2
commit 3e14829b2d
10 changed files with 14 additions and 14 deletions

View File

@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND ssf.type_id = #{typeId}
</if>
ORDER BY
ssf.create_time DESC
ssf.id DESC
</select>
</mapper>

View File

@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</if>
ORDER BY
sm.create_time DESC
sm.id DESC
</select>

View File

@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="emergency != null "> and spdd.emergency = #{emergency}</if>
<if test="demandStatus != null "> and spdd.detail_status = #{demandStatus}</if>
ORDER BY
spdd.create_time DESC
spdd.id DESC
</select>

View File

@ -163,7 +163,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND spf2.file_type = 1
AND spf2.order_num = 1
ORDER BY
spf2.create_time DESC
spf2.id DESC
LIMIT 1
);
</select>

View File

@ -329,7 +329,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
GROUP BY
sp.id
ORDER BY
sp.create_time DESC
sp.id DESC
LIMIT 10
</select>

View File

@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND sps.storage_type = #{storageType}
</if>
ORDER BY
spsd.create_time DESC
spsd.id DESC
</select>
<select id="selectExportListVoucherDateBetween" resultType="com.ruoyi.xkt.dto.storeProdStorage.StoreStorageDetailDownloadDTO">
@ -114,7 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND sps.storage_type = #{storageType}
</if>
ORDER BY
spsd.create_time DESC
spsd.id DESC
</select>
</mapper>

View File

@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createTimeStart != null"> and sps.voucher_date &gt;= #{createTimeStart}</if>
<if test="createTimeEnd != null"> and sps.voucher_date &lt;= #{createTimeEnd}</if>
ORDER BY
sps.create_time DESC
sps.id DESC
</select>

View File

@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createTimeStart != null"> and ss.voucher_date &gt;= #{createTimeStart}</if>
<if test="createTimeEnd != null"> and ss.voucher_date &lt;= #{createTimeEnd}</if>
ORDER BY
ss.create_time DESC
ss.id DESC
</select>
<select id="selectExportList" resultType="com.ruoyi.xkt.dto.storeSale.StoreSaleDownloadDTO">
@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</if>
ORDER BY
ss.create_time DESC
ss.id DESC
</select>
<select id="selectExportListVoucherDateBetween" resultType="com.ruoyi.xkt.dto.storeSale.StoreSaleDownloadDTO">
@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND ss.store_id = #{storeId}
AND ss.voucher_date BETWEEN #{voucherDateStart} AND #{voucherDateEnd}
ORDER BY
ss.create_time DESC
ss.id DESC
</select>

View File

@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
AND un.user_id = #{userId}
ORDER BY
un.create_time DESC,
un.id DESC,
un.target_notice_type
</select>
@ -60,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND un.target_notice_type = #{targetNoticeType}
AND un.user_id = #{userId}
ORDER BY
un.create_time DESC
un.id DESC
</select>
</mapper>

View File

@ -24,7 +24,7 @@
us.del_flag = 0 AND us.user_id = #{userId}
<if test="storeName != null and storeName != ''">and s.store_name LIKE CONCAT('%', #{storeName}, '%')</if>
ORDER BY
us.create_time DESC
us.id DESC
</select>
<select id="selectTop10List" resultType="com.ruoyi.xkt.dto.dailyStoreTag.DailyStoreTagDTO">