Commit 225b7bb6 by zhengxj

finish 服务商用户不做数据权限处理 on 20190321 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18750 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 106c0423
......@@ -591,16 +591,22 @@
LEFT JOIN
sys_merchant sm ON so.shop_id = sm.id
<where>
1=1 and shop_id in
1=1
<if test="ids != null">
and shop_id in
<foreach item="item" collection="ids" separator="," open="("
close=")" index=""> #{item, jdbcType=INTEGER}
</foreach>
<if test="beginTime != null">
<if test="beginTime != null">
and so.create_time &gt;= #{beginTime}
</if>
<if test="endTime != null">
and so.create_time &lt;= #{endTime}
</if>
<if test="merchantId != null">
and so.merchant_id &lt;= #{merchantId}
</if>
</where>
GROUP BY shop_id
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!