insert into pay_fee_rule_bill( bill_name,config_id,bill_id,cur_year_month,remark,rule_id,community_id,batch_id,fee_id,month_cycle ) values ( #{billName},#{configId},#{billId},#{curYearMonth},#{remark},#{ruleId},#{communityId},#{batchId},#{feeId},#{monthCycle} ) insert into pay_fee_rule_bill( bill_name,config_id,bill_id,cur_year_month,remark,rule_id,community_id,batch_id,fee_id,month_cycle ) values (#{item.billName},#{item.configId},#{item.billId},#{item.curYearMonth},#{item.remark},#{item.ruleId},#{item.communityId},#{item.batchId},#{item.feeId},#{item.monthCycle}) update pay_fee_rule_bill t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.bill_name= #{billName} , t.config_id= #{configId} , t.cur_year_month= #{curYearMonth} , t.remark= #{remark} where 1=1 and t.bill_id= #{billId} and t.community_id= #{communityId} and t.fee_id= #{feeId} and t.rule_id= #{ruleId} and t.batch_id= #{batchId}