Commit 449f1494 by 叶立庆

查询有工资条员工列表增加门店参数

1 parent 32611aae
...@@ -129,6 +129,12 @@ ...@@ -129,6 +129,12 @@
AND dsmr.sub_merchant_type IN (6, 8) AND dsmr.sub_merchant_type IN (6, 8)
AND dsmr.main_merchant_type = 2 AND dsmr.main_merchant_type = 2
AND dsmr.sub_merchant_id = dsi.merchant_id AND dsmr.sub_merchant_id = dsi.merchant_id
<if test="merchantIds != null and merchantIds.size()>0">
AND dsmr.main_merchant_id IN
<foreach collection="merchantIds" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
) )
AND EXISTS ( AND EXISTS (
SELECT 1 SELECT 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!