Commit a2210fd7 authored by hezhen's avatar hezhen

123

parent f7c2c6d0
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
) r ON l.id = r.user_id ) r ON l.id = r.user_id
LEFT JOIN app_user_login pl ON r.parent_id = pl.id LEFT JOIN app_user_login pl ON r.parent_id = pl.id
LEFT JOIN app_user_detail pd ON pl.id = pd.userid LEFT JOIN app_user_detail pd ON pl.id = pd.userid
LEFT JOIN xxfc_app.app_version_mark z ON z.mark = d.register_source LEFT JOIN chw_app.app_version_mark z ON z.mark = d.register_source
WHERE WHERE
l.isdel = 0 l.isdel = 0
and and
......
...@@ -1345,10 +1345,16 @@ ...@@ -1345,10 +1345,16 @@
</foreach> </foreach>
</when> </when>
<when test="type !=null and type == 3"> <when test="type !=null and type == 3">
and bc2.id in and (
bc2.id in
<foreach collection="dataCompanyIds" item="id" open="(" separator="," close=")"> <foreach collection="dataCompanyIds" item="id" open="(" separator="," close=")">
#{id} #{id}
</foreach> </foreach>
and v.subordinate_branch not in
<foreach collection="dataCompanyIds" item="id" open="(" separator="," close=")">
#{id}
</foreach>
)
</when> </when>
<otherwise> <otherwise>
and (bc.id in and (bc.id in
......
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