wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/fee/FeeComboV1ServiceDaoImplMapper.xml
@@ -8,9 +8,9 @@
    <!-- 保存费用套餐信息 add by wuxw 2018-07-03 -->
    <insert id="saveFeeComboInfo" parameterType="Map">
        insert into fee_combo(
        combo_name,combo_id,community_id
        combo_name,combo_id,community_id,remark
        ) values (
        #{comboName},#{comboId},#{communityId}
        #{comboName},#{comboId},#{communityId},#{remark}
        )
    </insert>
@@ -18,7 +18,7 @@
    <!-- 查询费用套餐信息 add by wuxw 2018-07-03 -->
    <select id="getFeeComboInfo" parameterType="Map" resultType="Map">
        select t.combo_name,t.combo_name comboName,t.combo_id,t.combo_id comboId,t.status_cd,t.status_cd
        statusCd,t.community_id,t.community_id communityId
        statusCd,t.community_id,t.community_id communityId,t.remark,t.create_time createTime
        from fee_combo t
        where 1 =1
        <if test="comboName !=null and comboName != ''">
@@ -50,13 +50,16 @@
        <if test="comboName !=null and comboName != ''">
            , t.combo_name= #{comboName}
        </if>
        <if test="communityId !=null and communityId != ''">
            , t.community_id= #{communityId}
        <if test="remark !=null and remark != ''">
            , t.remark= #{remark}
        </if>
        where 1=1
        <if test="comboId !=null and comboId != ''">
            and t.combo_id= #{comboId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
    </update>