| | |
| | | <!-- 查询费用规则信息 add by wuxw 2018-07-03 --> |
| | | <select id="getPayFeeRuleInfo" parameterType="Map" resultType="Map"> |
| | | select t.max_time,t.max_time maxTime,t.amount,t.fee_type_cd,t.fee_type_cd |
| | | feeTypeCd,t.cur_year_month,t.cur_year_month curYearMonth,t.status_cd,t.status_cd statusCd,t.batch_id,t.batch_id |
| | | feeTypeCd,s.secondary_fee_type_cd_name,s.secondary_fee_type_cd_name secondaryFeeTypeCdName,t.cur_year_month,t.cur_year_month curYearMonth,t.status_cd,t.status_cd statusCd,t.batch_id,t.batch_id |
| | | batchId,t.user_id,t.user_id userId,t.income_obj_id,t.income_obj_id incomeObjId,t.config_id,t.config_id |
| | | configId,t.fee_flag,t.fee_flag feeFlag,t.start_time,t.start_time startTime,t.end_time,t.end_time |
| | | endTime,t.state,t.rule_id,t.rule_id ruleId,t.community_id,t.community_id |
| | |
| | | 'fee_flag' |
| | | left join t_dict td4 on pfc.computing_formula = td4.status_cd and td4.table_name = 'pay_fee_config' and |
| | | td4.table_columns = 'computing_formula' |
| | | left join secondary_fee_type_cd_tb s on t.secondary_fee_type_cd = s.secondary_fee_type_cd |
| | | where 1 =1 |
| | | <if test="maxTime !=null and maxTime != ''"> |
| | | and t.max_time= #{maxTime} |
| | |
| | | <if test="feeTypeCd !=null and feeTypeCd != ''"> |
| | | , t.fee_type_cd= #{feeTypeCd} |
| | | </if> |
| | | <if test="secondaryFeeTypeCd !=null and secondaryFeeTypeCd != ''"> |
| | | , t.secondary_fee_type_cd= #{secondaryFeeTypeCd} |
| | | </if> |
| | | <if test="curYearMonth !=null and curYearMonth != ''"> |
| | | , t.cur_year_month= #{curYearMonth} |
| | | </if> |