Browse Source

添加查询条件

dev
HAHA 3 years ago
parent
commit
0befaeb320
  1. 3
      epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/IcPartyMemberPayRecordDetailDao.xml

3
epmet-module/resi-partymember/resi-partymember-server/src/main/resources/mapper/partymember/IcPartyMemberPayRecordDetailDao.xml

@ -29,10 +29,9 @@
sum(pm.MONEY) as money,
pm.REMARK
from ic_party_member_pay_record_detail prd
left join ic_party_member pm on pm.ID = prd.PARTY_MEMBER_ID
left join ic_party_member pm on pm.ID = prd.PARTY_MEMBER_ID and pm.DEL_FLAG = 0
left join ic_party_org org on org.ID = pm.SSZB and org.DEL_FLAG = 0
where prd.DEL_FLAG = 0
and pm.DEL_FLAG = 0
and prd.CUSTOMER_ID = #{customerId}
<if test='name != "" and name != null'>
and pm.NAME like concat('%',#{name},'%')

Loading…
Cancel
Save