修复获取选址数量逻辑
This commit is contained in:
@@ -93,5 +93,17 @@
|
||||
|
||||
</select>
|
||||
|
||||
<select id="getSelectedShopNum" resultType="com.cool.store.dto.point.LineCountDTO">
|
||||
select
|
||||
line_id as lineId,
|
||||
count(1) as selectedShopNum
|
||||
from xfsg_shop_info
|
||||
where deleted = 0 and point_id > 0 and line_id in
|
||||
<foreach collection="lineIds" item="lineId" index="index" open="(" separator="," close=")">
|
||||
#{lineId}
|
||||
</foreach>
|
||||
group by line_id
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user