| | |
| | | </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 |
| | |
| | | and t.start_time < #{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 |
| | |
| | | </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 "> |
| | |
| | | and t.end_time > 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 |