| | |
| | | userId,t.payer_obj_id,t.payer_obj_id payerObjId,pfc.square_price squarePrice,pfc.additional_amount |
| | | additionalAmount,t.fee_flag,t.fee_flag feeFlag,t.state,t.config_id,t.config_id configId, |
| | | pfc.fee_name feeName,td1.name feeTypeCdName,td2.name stateName,td3.name feeFlagName,pfc.computing_formula |
| | | computingFormula, |
| | | computingFormula,pfc.computing_formula_text computingFormulaText, |
| | | pfc.bill_type billType,t.payer_obj_type,t.payer_obj_type payerObjType,pfc.is_default isDefault,pfc.start_time |
| | | configStartTime,pfc.end_time configEndTime,pfc.payment_cd paymentCd,pfc.payment_cycle paymentCycle,td4.name |
| | | billTypeName,pfa.value importFeeName,ifd.end_time importFeeEndTime,mw.cur_degrees curDegrees,mw.pre_degrees |
| | | preDegrees, |
| | | mw.pre_reading_time preReadingTime,mw.cur_reading_time curReadingTime |
| | | mw.pre_reading_time preReadingTime,mw.cur_reading_time curReadingTime,pfa1.`value` deadlineTime |
| | | from pay_fee t |
| | | INNER join pay_fee_config pfc on t.fee_type_cd = pfc.fee_type_cd and t.config_id = pfc.config_id and |
| | | pfc.status_cd = '0' |
| | |
| | | left join t_dict td4 on pfc.bill_type = td4.status_cd and td4.table_name = 'pay_fee_config' and |
| | | td4.table_columns = 'bill_type' |
| | | LEFT JOIN pay_fee_attrs pfa on t.fee_id = pfa.fee_id and pfa.spec_cd = '390002' and pfa.status_cd = '0' |
| | | LEFT JOIN pay_fee_attrs pfa1 on t.fee_id = pfa1.fee_id and pfa1.spec_cd = '390010' and pfa1.status_cd = '0' |
| | | left join import_fee_detail ifd on t.fee_id = ifd.fee_id and ifd.status_cd = '0' and t.fee_flag = '2006012' |
| | | LEFT JOIN meter_water mw on t.fee_id = mw.fee_id and mw.status_cd = '0' and mw.community_id = t.community_id |
| | | <if test="ownerId != null and ownerId != ''"> |
| | |
| | | userId,t.payer_obj_id,t.payer_obj_id payerObjId,pfc.square_price squarePrice,pfc.additional_amount |
| | | additionalAmount,t.fee_flag,t.fee_flag feeFlag,t.state,t.config_id,t.config_id configId, |
| | | pfc.fee_name feeName,td1.name feeTypeCdName,td2.name stateName,td3.name feeFlagName,pfc.computing_formula |
| | | computingFormula, |
| | | computingFormula,pfc.computing_formula_text computingFormulaText, |
| | | t.payer_obj_type,t.payer_obj_type payerObjType,pfc.is_default isDefault,pfc.start_time |
| | | configStartTime,pfc.end_time configEndTime,pfc.payment_cd paymentCd,pfc.payment_cycle paymentCycle |
| | | from pay_fee t |
| | |
| | | <select id="computeEveryOweFee" parameterType="Map" resultType="Map"> |
| | | select pfc.fee_name feeName,pf.fee_id feeId,pf.end_time endTime,pf.payer_obj_id payerObjId,pf.payer_obj_type |
| | | payerObjType, |
| | | pf.community_id communityId,pfc.computing_formula computingFormula,pfc.square_price |
| | | pf.community_id communityId,pfc.computing_formula computingFormula,pfc.computing_formula_text computingFormulaText, |
| | | pfc.square_price |
| | | squarePrice,pfc.additional_amount additionalAmount |
| | | from pay_fee pf |
| | | INNER JOIN pay_fee_config pfc on pf.config_id = pfc.config_id and pfc.bill_type = '004' and pfc.status_cd = '0' |