BMS应收管理列表查询数据隔离
This commit is contained in:
@@ -25,6 +25,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="billManageDO.createByName != null and billManageDO.createByName != ''">
|
||||
AND create_by_name like concat('%', #{billManageDO.createByName}, '%')
|
||||
</if>
|
||||
<if test="billManageDO.organizationId != null">
|
||||
AND organization_id = #{billManageDO.organizationId}
|
||||
</if>
|
||||
<if test="billManageDO.topOrganizationId != null and billManageDO.topOrganizationId != ''">
|
||||
AND top_organization_id = #{billManageDO.topOrganizationId}
|
||||
</if>
|
||||
|
||||
@@ -33,6 +33,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="receiptManageDO.createByName != null and receiptManageDO.createByName != ''">
|
||||
AND a.create_by_name like concat('%', #{receiptManageDO.createByName}, '%')
|
||||
</if>
|
||||
<if test="receiptManageDO.organizationId != null">
|
||||
AND a.organization_id = #{receiptManageDO.organizationId}
|
||||
</if>
|
||||
<if test="receiptManageDO.topOrganizationId != null and receiptManageDO.topOrganizationId != ''">
|
||||
AND a.top_organization_id = #{receiptManageDO.topOrganizationId}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user