java110
2023-05-25 781c2e20a4bb844dae3f4eafbf5f0e494b942ea8
java110-db/src/main/resources/mapper/fee/FeeAttrServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -79,7 +79,7 @@
        statusCd,t.community_id,t.community_id communityId,t.b_id,t.b_id bId,t.fee_id,t.fee_id feeId,t.value,
        td.name specCdName
        from pay_fee_attrs t
        left join t_dict td on t.spec_cd = td.table_columns and td.table_name = 'pay_fee_attrs'
        left join t_dict td on t.spec_cd = td.status_cd and td.table_name = 'pay_fee_attrs' and td.table_columns = 'spec_cd'
        where 1 =1
        <if test="attrId !=null and attrId != ''">
            and t.attr_id= #{attrId}
@@ -121,15 +121,6 @@
        <if test="newBId != null and newBId != ''">
            ,t.b_id = #{newBId}
        </if>
        <if test="specCd !=null and specCd != ''">
            , t.spec_cd= #{specCd}
        </if>
        <if test="communityId !=null and communityId != ''">
            , t.community_id= #{communityId}
        </if>
        <if test="feeId !=null and feeId != ''">
            , t.fee_id= #{feeId}
        </if>
        <if test="value !=null and value != ''">
            , t.value= #{value}
        </if>
@@ -140,6 +131,15 @@
        <if test="bId !=null and bId != ''">
            and t.b_id= #{bId}
        </if>
        <if test="specCd !=null and specCd != ''">
            and t.spec_cd= #{specCd}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
        <if test="feeId !=null and feeId != ''">
            and t.fee_id= #{feeId}
        </if>
    </update>