Browse Source

各类人员关联时加上客户ID

dev
zhangyuan 3 years ago
parent
commit
eaf642a7ab
  1. 1
      epmet-user/epmet-user-server/src/main/resources/mapper/ChangeDeathDao.xml
  2. 1
      epmet-user/epmet-user-server/src/main/resources/mapper/ChangeRelocationDao.xml
  3. 1
      epmet-user/epmet-user-server/src/main/resources/mapper/ChangeWelfareDao.xml

1
epmet-user/epmet-user-server/src/main/resources/mapper/ChangeDeathDao.xml

@ -50,6 +50,7 @@
d.DEL_FLAG = '0'
<if test="customerId != null and customerId != ''">
AND d.CUSTOMER_ID = #{customerId}
AND u.CUSTOMER_ID = #{customerId}
</if>
<if test="gridId != null and gridId != ''">
AND d.GRID_ID = #{gridId}

1
epmet-user/epmet-user-server/src/main/resources/mapper/ChangeRelocationDao.xml

@ -74,6 +74,7 @@
r.DEL_FLAG = '0'
<if test="customerId != null and customerId != ''">
AND r.CUSTOMER_ID = #{customerId}
AND u.CUSTOMER_ID = #{customerId}
</if>
<if test="gridId != null and gridId != ''">
AND r.AGENCY_ID = #{gridId}

1
epmet-user/epmet-user-server/src/main/resources/mapper/ChangeWelfareDao.xml

@ -48,6 +48,7 @@
w.DEL_FLAG = '0'
<if test="customerId != null and customerId != ''">
AND w.CUSTOMER_ID = #{customerId}
AND u.CUSTOMER_ID = #{customerId}
</if>
<if test="gridId != null and gridId != ''">
AND w.GRID_ID = #{gridId}

Loading…
Cancel
Save