demand: TMS系统 - 客户管理 - 现金客户-销售/回款联系人/销售助理可以查询到与自己关联的现金客户信息 TMS系统 - 客户管理 - 现金客户 - 查询性能优化 TMS系统 - 客户管理 - 月结客户 - 查询性能优化
committer: heyu
This commit is contained in:
parent
31acd0cf4e
commit
ab4a59949f
@ -256,7 +256,7 @@
|
||||
and (
|
||||
a.salesmen=#{params.privEmpName}
|
||||
or a.payee=#{params.privEmpName}
|
||||
or exists (select 1 from emis_salesmen_rel rel where rel.del_flag='0' AND a.salesmen=rel.salesmen AND rel.sales_ass=#{params.privEmpName})
|
||||
or exists (select 1 from emis_salesmen_rel rel where rel.del_flag='0' AND rel.bl_open='1' AND a.salesmen=rel.salesmen AND rel.sales_ass=#{params.privEmpName})
|
||||
)
|
||||
|
||||
</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user