chengf
2026-01-27 b6184e2ddf3db37a94f7efb3b619bbc64642a292
java110-db/src/main/resources/mapper/fee/FeeConfigServiceDaoImplMapper.xml
@@ -134,7 +134,10 @@
    </insert>
    <!-- 查询费用配置信息 add by wuxw 2018-07-03 -->
    <select id="getFeeConfigInfo" parameterType="Map" resultType="Map">
        select t.fee_type_cd,t.fee_type_cd feeTypeCd,t.secondary_fee_type_cd,t.secondary_fee_type_cd secondaryFeeTypeCd,s.secondary_fee_type_cd_name,s.secondary_fee_type_cd_name secondaryFeeTypeCdName,t.computing_formula,t.computing_formula
        select t.fee_type_cd,t.fee_type_cd feeTypeCd,t.secondary_fee_type_cd,
               t.secondary_fee_type_cd secondaryFeeTypeCd,s.secondary_fee_type_cd_name,s.secondary_fee_type_cd_name secondaryFeeTypeCdName,
               s.is_contract_fee ,s.is_contract_fee isContractFee,
               t.computing_formula,t.computing_formula
        computingFormula,t.additional_amount,t.additional_amount additionalAmount,t.status_cd,t.status_cd
        statusCd,t.square_price,t.square_price squarePrice,t.is_default,t.is_default isDefault,t.config_id,t.config_id
        configId,t.fee_flag,t.fee_flag feeFlag,t.fee_name,t.fee_name feeName,t.start_time,t.start_time
@@ -192,9 +195,9 @@
        <if test="configId !=null and configId != ''">
            and t.config_id= #{configId}
        </if>
        <if test="feeFlag !=null and feeFlag != ''">
            and t.fee_flag= #{feeFlag}
        </if>
<!--        <if test="feeFlag !=null and feeFlag != ''">-->
<!--            and t.fee_flag= #{feeFlag}-->
<!--        </if>-->
        <if test="feeName !=null and feeName != ''">
            and t.fee_name like '%${feeName}%'
        </if>
@@ -215,7 +218,7 @@
            and t.start_time &lt; #{curTime}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
            and t.community_id in (#{communityId}, '9999')
        </if>
        <if test="communityIds !=null">
            and t.community_id in
@@ -243,6 +246,9 @@
        </if>
        <if test="state !=null and state != ''">
            and t.state = #{state}
        </if>
        <if test="feeTypeCdName != null">
            and td1.name = #{feeTypeCdName}
        </if>
        order by t.create_time desc
        <if test="page != -1 and page != null ">
@@ -474,7 +480,7 @@
            and t.end_time &gt; now()
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
            and t.community_id in (#{communityId}, '9999')
        </if>
        <if test="communityIds !=null">
            and t.community_id in
@@ -528,6 +534,16 @@
        </if>
    </select>
    <select id="selectSssBySecondaryFeeTypeCd" parameterType="Map" resultType="Map">
        select secondary_fee_type_cd secondaryFeeTypeCd,
               fee_type_cd feeTypeCd,
               secondary_fee_type_cd_name secondartyFeeTypeCdName
        from secondary_fee_type_cd_tb where 1 = 1
        <if test="secondaryFeeTypeCd !=null and secondaryFeeTypeCd != ''">
            and secondary_fee_type_cd = #{secondaryFeeTypeCd}
        </if>
    </select>
    <select id="selectSss" parameterType="Map" resultType="Map">
        SELECT