java110
2022-01-17 48c9414db4b7c44a43524115570796025d38a653
java110-db/src/main/resources/mapper/fee/PayFeeAuditServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -28,7 +28,7 @@
        where 1=1
        and pfd.community_id = #{communityId}
        and  pfd.status_cd = '0'
        and pfd.state is null
        and pfd.state = '1400'
        <if test="roomId !=null and roomId != ''">
            and pf.payer_obj_id = #{roomId}
            and pf.payer_obj_type = '3333'
@@ -37,9 +37,17 @@
            and pf.payer_obj_id = #{carId}
            and pf.payer_obj_type = '6666'
        </if>
        <if test="state !=null and state != ''">
            and (pfa.state is null
            or pfa.state = #{state})
        <if test="payerObjId !=null and payerObjId != ''">
            and pf.payer_obj_id = #{payerObjId}
        </if>
        <if test="payerObjType !=null and payerObjType != ''">
            and pf.payer_obj_type = #{payerObjType}
        </if>
        <if test="state !=null and state != '1010'">
            and  pfa.state = #{state}
        </if>
        <if test="state !=null and state == '1010'">
            and pfa.state is null
        </if>
        ORDER BY pfd.create_time desc
        <if test="page != -1 and page != null ">
@@ -92,6 +100,7 @@
        where 1=1
        and pfd.community_id = #{communityId}
        and  pfd.status_cd = '0'
        and pfd.state = '1400'
        <if test="roomId !=null and roomId != ''">
            and pf.payer_obj_id = #{roomId}
            and pf.payer_obj_type = '3333'
@@ -100,9 +109,17 @@
            and pf.payer_obj_id = #{carId}
            and pf.payer_obj_type = '6666'
        </if>
        <if test="state !=null and state != ''">
            and (pfa.state is null
            or pfa.state = #{state})
        <if test="payerObjId !=null and payerObjId != ''">
            and pf.payer_obj_id = #{payerObjId}
        </if>
        <if test="payerObjType !=null and payerObjType != ''">
            and pf.payer_obj_type = #{payerObjType}
        </if>
        <if test="state !=null and state != '1010'">
            and  pfa.state = #{state}
        </if>
        <if test="state !=null and state == '1010'">
            and pfa.state is null
        </if>