记得上下班打卡 | git大法好,push需谨慎

Commit 328fbd4c authored by 胡佳晨's avatar 胡佳晨

修改 正在下单

parent 1f21cba2
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<select id="getZhengzaiStoreList" resultMap="goblinZhengzaiStoreListDtoResult"> <select id="getZhengzaiStoreList" resultMap="goblinZhengzaiStoreListDtoResult">
select b.store_id, select d.store_id,
c.store_name, c.store_name,
b.show_time, b.show_time,
IFNull(count(distinct d.spu_id), 0) as 'spu_count', IFNull(count(distinct d.spu_id), 0) as 'spu_count',
...@@ -49,9 +49,9 @@ select b.store_id, ...@@ -49,9 +49,9 @@ select b.store_id,
from goblin_self_marketing as a from goblin_self_marketing as a
inner join goblin_marketing_zhengzai_relation as b on a.self_market_id = b.self_market_id inner join goblin_marketing_zhengzai_relation as b on a.self_market_id = b.self_market_id
inner join goblin_store_info as c on c.store_id = b.store_id inner join goblin_store_info as c on c.store_id = b.store_id
left join goblin_marketing_zhengzai as d on d.self_market_id = b.self_market_id left join goblin_marketing_zhengzai as d on d.store_id = b.store_id and d.self_market_id = b.self_market_id
where a.self_market_id = #{marketId} where a.self_market_id = #{marketId}
GROUP BY b.store_id GROUP BY d.store_id
</select> </select>
<select id="getZhengzaiStoreDetails" resultMap="goblinZhengzaiStoreDetailsDtoResult"> <select id="getZhengzaiStoreDetails" resultMap="goblinZhengzaiStoreDetailsDtoResult">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment