| | |
| | | and t.end_time= #{endTime} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | and t.community_id in (#{communityId}, '9999') |
| | | </if> |
| | | <if test="deductFrom !=null and deductFrom != ''"> |
| | | and t.deduct_from = #{deductFrom} |
| | |
| | | and t.config_id= #{configId} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | and t.community_id in (#{communityId}, '9999') |
| | | </if> |
| | | </update> |
| | | |
| | |
| | | and t.end_time= #{endTime} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | and t.community_id in (#{communityId}, '9999') |
| | | </if> |
| | | <if test="deductFrom !=null and deductFrom != ''"> |
| | | and t.deduct_from = #{deductFrom} |
| | |
| | | and t.payer_obj_type= #{payerObjType} |
| | | </if> |
| | | <if test="communityId != null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | and t.community_id in (#{communityId}, '9999') |
| | | </if> |
| | | |
| | | </select> |
| | |
| | | left join pay_fee_attrs pfa2 on t.fee_id = pfa2.fee_id and pfa2.status_cd = '0' and pfa2.spec_cd = '390009' |
| | | where t.config_id = #{configId} |
| | | <if test="communityId != null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | and t.community_id in (#{communityId}, '9999') |
| | | </if> |
| | | <if test="payerObjType != null and payerObjType != ''"> |
| | | and t.payer_obj_type= #{payerObjType} |