master:系统功能调优;
parent
5b3bd3eff2
commit
3e14829b2d
|
|
@ -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>
|
||||
|
|
@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</foreach>
|
||||
</if>
|
||||
ORDER BY
|
||||
sm.create_time DESC
|
||||
sm.id DESC
|
||||
</select>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="createTimeStart != null"> and sps.voucher_date >= #{createTimeStart}</if>
|
||||
<if test="createTimeEnd != null"> and sps.voucher_date <= #{createTimeEnd}</if>
|
||||
ORDER BY
|
||||
sps.create_time DESC
|
||||
sps.id DESC
|
||||
</select>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="createTimeStart != null"> and ss.voucher_date >= #{createTimeStart}</if>
|
||||
<if test="createTimeEnd != null"> and ss.voucher_date <= #{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>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue