java110
2022-01-17 48c9414db4b7c44a43524115570796025d38a653
java110-db/src/main/resources/mapper/fee/FeeFormulaServiceDaoImplMapper.xml
old mode 100644 new mode 100755
@@ -8,9 +8,9 @@
    <!-- 保存费用公式信息 add by wuxw 2018-07-03 -->
    <insert id="saveFeeFormulaInfo" parameterType="Map">
        insert into fee_formula(
        formula_id,formula_type,formula_value,formula_desc,community_id
        formula_id,formula_type,formula_value,formula_desc,community_id,price
        ) values (
        #{formulaId},#{formulaType},#{formulaValue},#{formulaDesc},#{communityId}
        #{formulaId},#{formulaType},#{formulaValue},#{formulaDesc},#{communityId},#{price}
        )
    </insert>
@@ -19,7 +19,8 @@
    <select id="getFeeFormulaInfo" parameterType="Map" resultType="Map">
        select t.formula_id,t.formula_id formulaId,t.formula_type,t.formula_type
        formulaType,t.formula_value,t.formula_value formulaValue,t.status_cd,t.status_cd
        statusCd,t.formula_desc,t.formula_desc formulaDesc,t.community_id,t.community_id communityId
        statusCd,t.formula_desc,t.formula_desc formulaDesc,t.community_id,t.community_id communityId,
        t.price
        from fee_formula t
        where 1 =1
        <if test="formulaId !=null and formulaId != ''">
@@ -66,6 +67,10 @@
        <if test="communityId !=null and communityId != ''">
            , t.community_id= #{communityId}
        </if>
        <if test="price !=null and price != ''">
            , t.price= #{price}
        </if>
        where 1=1
        <if test="formulaId !=null and formulaId != ''">
            and t.formula_id= #{formulaId}