t.id , t.bill_month , t.bill_status , t.social_num , t.fund_num , t.other_num , t.social_pay , t.fund_pay , t.other_pay , t.accountant , t.remarks , t.creator , t.delete_type , t.create_time , t.update_time , t.tenant_key INSERT INTO hrsa_bill_batch bill_month, bill_status, social_num, fund_num, other_num, social_pay, fund_pay, other_pay, accountant, remarks, creator, delete_type, create_time, update_time, tenant_key, #{billMonth}, #{billStatus}, #{socialNum}, #{fundNum}, #{otherNum}, #{socialPay}, #{fundPay}, #{otherPay}, #{accountant}, #{remarks}, #{creator}, #{deleteType}, #{createTime}, #{updateTime}, #{tenantKey}, AND t.bill_month between param.startTime and param.endTime UPDATE hrsa_bill_batch SET delete_type = 1 WHERE delete_type = 0 AND id = #{id} UPDATE hrsa_bill_batch accountant=#{accountant}, update_time=#{updateTime}, social_pay=#{socialPay}, social_num=#{socialNum}, fund_num=#{fundNum}, fund_pay=#{fundPay}, other_num=#{otherNum}, other_pay=#{otherPay}, WHERE id = #{id} AND delete_type = 0