bugfix 站点管理员查询订单页面可看到平台所有数据

This commit is contained in:
Lemon
2024-10-18 15:06:26 +08:00
parent 049b3662a5
commit f0ce2a1393

View File

@@ -1799,6 +1799,12 @@
<if test="merchantId != null and merchantId != ''">
and t1.merchant_id = #{merchantId,jdbcType=VARCHAR}
</if>
<if test="stationIdList != null and stationIdList.size() != 0">
and t1.station_id in
<foreach collection="stationIdList" item="stationId" open="(" separator="," close=")">
#{stationId}
</foreach>
</if>
<if test="stationDeptIds != null and stationDeptIds.size() != 0">
and t3.dept_id in
<foreach close=")" collection="stationDeptIds" item="stationDeptId" open="(" separator=",">