限时折扣 优先级
This commit is contained in:
parent
d685d437aa
commit
f1341b8c7f
|
|
@ -19,7 +19,7 @@
|
|||
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(#{useDay}, use_days) > 0
|
||||
ORDER BY sort,
|
||||
ORDER BY sort DESC,
|
||||
update_time DESC,
|
||||
create_time DESC
|
||||
LIMIT 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue