update 首页汇总数据更换查询表

This commit is contained in:
Lemon
2023-07-20 16:03:55 +08:00
parent a3aaef384e
commit d99faaad46
6 changed files with 70 additions and 21 deletions

View File

@@ -273,10 +273,12 @@
LEFT JOIN pile_station_info t2 ON t2.merchant_id = t1.id and t2.del_flag = '0'
WHERE
t1.del_flag = '0'
<if test="merchantDeptIds != null and merchantDeptIds.size() != 0">
AND t1.dept_id IN
<foreach collection="merchantDeptIds" item="item" open="(" separator="," close=")">
#{item,jdbcType=VARCHAR}
</foreach>
</if>
</select>
<select id="queryInfoByDeptId" resultMap="PileMerchantInfoResult">