old mode 100644
new mode 100755
| | |
| | | <!-- 保存费用公式信息 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> |
| | | |
| | |
| | | <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 != ''"> |
| | |
| | | <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} |