java110
2021-08-06 b5e47a74ad88c453bf82fb8b870b69ac9d45503f
java110-db/src/main/resources/mapper/report/ReportOweFeeServiceDaoImplMapper.xml
@@ -43,6 +43,9 @@
        <if test="amountOwed !=null and amountOwed != ''">
            and t.amount_owed= #{amountOwed}
        </if>
        <if test='hasOweFee !=null and hasOweFee == "Y"'>
            and t.amount_owed &gt; 0
        </if>
        <if test="payerObjName !=null and payerObjName != ''">
            and t.payer_obj_name= #{payerObjName}
        </if>
@@ -73,7 +76,7 @@
        <if test="payerObjId !=null and payerObjId != ''">
            and t.payer_obj_id= #{payerObjId}
        </if>
        order by t.create_time desc
        order by t.payer_obj_name
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>
@@ -84,9 +87,6 @@
    <update id="updateReportOweFeeInfo" parameterType="Map">
        update report_owe_fee t
        <set>
            <if test="newBId != null and newBId != ''">
                t.b_id = #{newBId},
            </if>
            <if test="configName !=null and configName != ''">
                t.config_name= #{configName},
            </if>
@@ -134,7 +134,26 @@
            </if>
        </set>
        where 1=1
        and t.owe_id= #{oweId}
            and t.owe_id= #{oweId}
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
    </update>
    <!-- 修改欠费统计信息 add by wuxw 2018-07-03 -->
    <update id="deleteReportOweFeeInfo" parameterType="Map">
        delete from report_owe_fee
        where 1=1
        <if test="oweId !=null and oweId != ''">
            and owe_id= #{oweId}
        </if>
        <if test="feeId !=null and feeId != ''">
            and fee_id = #{feeId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and community_id= #{communityId}
        </if>
    </update>
    <!-- 查询欠费统计数量 add by wuxw 2018-07-03 -->
@@ -165,6 +184,9 @@
        </if>
        <if test="amountOwed !=null and amountOwed != ''">
            and t.amount_owed= #{amountOwed}
        </if>
        <if test='hasOweFee !=null and hasOweFee == "Y"'>
            and t.amount_owed &gt; 0
        </if>
        <if test="payerObjName !=null and payerObjName != ''">
            and t.payer_obj_name= #{payerObjName}
@@ -270,7 +292,7 @@
                #{item}
            </foreach>
        </if>
        order by t.create_time desc
        order by t.payer_obj_name
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>