Browse Source

党组织树sql调整

master
Jackwang 3 years ago
parent
commit
ebec56fea2
  1. 2
      epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partyOrg/IcPartyOrgDao.xml

2
epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partyOrg/IcPartyOrgDao.xml

@ -37,7 +37,7 @@
where DEL_FLAG=0
and CUSTOMER_ID=#{customerId}
<choose>
<when test="orgPid != ''' and orgPid != null and agencyId != null and agencyId != ''">
<when test="orgPid != '' and orgPid != null and agencyId != null and agencyId != ''">
AND ((AGENCY_ID = #{agencyId} or AGENCY_PIDS LIKE concat('%',#{agencyId}, '%' ))
or
id =#{orgPid})

Loading…
Cancel
Save