Browse Source

党群管理权限

feature/syp_points
songyunpeng 5 years ago
parent
commit
938a430823
  1. 10
      esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyGroupDao.xml
  2. 11
      esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyGroupOfficialsDao.xml

10
esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyGroupDao.xml

@ -32,10 +32,12 @@
epdc_party_group
WHERE
DEL_FLAG = '0'
and DEPT_ID IN
<foreach item="deptIdItem" collection="deptIdList" open="(" separator="," close=")">
#{deptIdItem}
</foreach>
<if test="deptIdList!=null and deptIdList.size()>0">
and DEPT_ID IN
<foreach item="deptIdItem" collection="deptIdList" open="(" separator="," close=")">
#{deptIdItem}
</foreach>
</if>
</select>
<select id="selectListOfPartyGroupDTO" resultType="com.elink.esua.epdc.dto.PartyGroupDTO">

11
esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyGroupOfficialsDao.xml

@ -47,10 +47,13 @@
t1.PARTY_GROUP_NAME
from epdc_party_group_officials t
left join epdc_party_group t1 on t.PARTY_GROUP_ID = t1.ID and t1.DEL_FLAG='0'
where t.DEL_FLAG ='0' and t.GRID_ID IN
<foreach item="deptIdItem" collection="deptIdList" open="(" separator="," close=")">
#{deptIdItem}
</foreach>
where t.DEL_FLAG ='0'
<if test="deptIdList!=null and deptIdList.size()>0">
and t.GRID_ID IN
<foreach item="deptIdItem" collection="deptIdList" open="(" separator="," close=")">
#{deptIdItem}
</foreach>
</if>
<if test="groupId!=null and groupId != ''">
and t.PARTY_GROUP_ID = #{groupId}
</if>

Loading…
Cancel
Save