| | |
| | | <!-- 保存费用套餐信息 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> |
| | | |
| | |
| | | <!-- 查询费用套餐信息 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 != ''"> |
| | |
| | | <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> |
| | | |