Commit 31ad97da authored by daniel's avatar daniel

feat(bag): 赛包邮寄查询优化

parent d8fa8de7
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
LEFT JOIN geerunner.cmpt_item c ON c.cmpt_id=b.cmpt_id AND b.cmpt_item=c.item_id LEFT JOIN geerunner.cmpt_item c ON c.cmpt_id=b.cmpt_id AND b.cmpt_item=c.item_id
LEFT JOIN gksite.bag_drop_points d on d.cmpt_id = a.cmpt_id and d.id = a.storage_point LEFT JOIN gksite.bag_drop_points d on d.cmpt_id = a.cmpt_id and d.id = a.storage_point
where a.del_flag = 0 where a.del_flag = 0
AND b.del_flg=0 AND c.del_flg=0 and d.del_flag= 0 AND b.del_flg=0 AND c.del_flg=0
<include refid="bag-where-sql"/> <include refid="bag-where-sql"/>
order by a.create_date desc order by a.create_date desc
limit #{page.offset},#{page.size} limit #{page.offset},#{page.size}
...@@ -245,7 +245,6 @@ ...@@ -245,7 +245,6 @@
AND a.del_flag = 0 AND a.del_flag = 0
AND b.del_flg = 0 AND b.del_flg = 0
AND c.del_flg = 0 AND c.del_flg = 0
and d.del_flag = 0
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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