Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
张松 2025-10-22 17:38:24 +08:00
commit 48c5f09687
1 changed files with 1 additions and 2 deletions

View File

@ -9,11 +9,10 @@
WHERE shop_id = #{shopId}
AND is_del = 0
AND status = 1
AND NOW() BETWEEN valid_start_time AND valid_end_time
AND (use_time_type = 'all' OR
(use_time_type = 'custom' AND TIME(NOW()) BETWEEN use_start_time AND use_end_time))
AND FIND_IN_SET(#{week}, use_days) > 0
ORDER BY sort,
ORDER BY id,
update_time DESC,
create_time DESC
</select>