Browse Source

新增活动模块

master
996472796@qq.com 2 years ago
parent
commit
995f96faf4
1 changed files with 1 additions and 3 deletions
  1. 4
      dating-agency-mall-server/src/main/resources/mapper/product/ProductViewMapper.xml

4
dating-agency-mall-server/src/main/resources/mapper/product/ProductViewMapper.xml

@ -93,10 +93,8 @@
LEFT JOIN da_product_spec_term as dpst2 on dpst2.is_delete=0 and dpst2.product_spec_id =ps.id and dpst2.`name`=3
LEFT JOIN da_product_spec_term as dpst3 on dpst3.is_delete=0 and dpst3.product_spec_id =ps.id and dpst3.`name`=2
LEFT JOIN da_product_spec_term as dpst4 on dpst4.is_delete=0 and dpst4.product_spec_id =ps.id and dpst4.`name`=4
WHERE a.is_delete = 0 AND a.start_time <= NOW() AND a.end_time >= NOW() ORDER BY a.create_time ASC , ap.create_time ASC
WHERE a.is_delete = 0 AND a.start_time <= NOW() AND a.end_time >= NOW()
UNION
select
0 groupType,
dp.id,

Loading…
Cancel
Save