Commit 0f3bb50b by 徐高华

列表查询

parent e31a099e
...@@ -495,7 +495,7 @@ ...@@ -495,7 +495,7 @@
select a.staff_id select a.staff_id
from tab_haoban_staff_clerk_relation a left join tab_haoban_staff b on b.staff_id = a.staff_id from tab_haoban_staff_clerk_relation a left join tab_haoban_staff b on b.staff_id = a.staff_id
where a.enterprise_id = #{enterpriseId} and a.status_flag=1 and b.status_flag = 1 and a.wx_enterprise_id = #{wxEnterpriseId} where a.enterprise_id = #{enterpriseId} and a.status_flag=1 and b.status_flag = 1 and a.wx_enterprise_id = #{wxEnterpriseId}
<if test="null != clerkId"> <if test="null != clerkId and clerkId != '' ">
and a.clerk_id = #{clerkId} and a.clerk_id = #{clerkId}
</if> </if>
<if test="null != storeIdList"> <if test="null != storeIdList">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment