|
|
@ -61,10 +61,12 @@ |
|
|
|
prd.* |
|
|
|
from ic_party_member_pay_record_detail prd |
|
|
|
where prd.DEL_FLAG = 0 |
|
|
|
AND CONCAT(prd.YEAR,'-',prd.MONTH) IN |
|
|
|
<foreach collection="monthList" index="index" item="month" open="(" separator="," close=")"> |
|
|
|
#{month} |
|
|
|
</foreach> |
|
|
|
<if test="monthList != null and monthList.size() > 0"> |
|
|
|
AND CONCAT(prd.YEAR,'-',prd.MONTH) IN |
|
|
|
<foreach collection="monthList" index="index" item="month" open="(" separator="," close=")"> |
|
|
|
#{month} |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
<if test='partyMemberId != "" and partyMemberId != null'> |
|
|
|
and prd.PARTY_MEMBER_ID = #{partyMemberId} |
|
|
|
</if> |
|
|
|