id, client_id, client_name, controller_id, intake_id, rtu_addr, dt, rtu_dt, order_no, ic_card_addr, ic_card_no, water_level, water_press, water_instant, water_total, ele_total, money_remain, water_remain, this_ele, this_water, this_money, this_duration, water_price, ele_price, a_volt, b_volt, c_volt, a_current, b_current, c_current, battery_volt, water_meter_trans_volt, water_meter_work_volt delete from rm_work_report_history where id = #{id,jdbcType=BIGINT} insert into rm_work_report_history (id, client_id, client_name, controller_id, intake_id, rtu_addr, dt, rtu_dt, order_no, ic_card_addr, ic_card_no, water_level, water_press, water_instant, water_total, ele_total, money_remain, water_remain, this_ele, this_water, this_money, this_duration, water_price, ele_price, a_volt, b_volt, c_volt, a_current, b_current, c_current, battery_volt, water_meter_trans_volt, water_meter_work_volt ) values (#{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{clientName,jdbcType=VARCHAR}, #{controllerId,jdbcType=BIGINT}, #{intakeId,jdbcType=BIGINT}, #{rtuAddr,jdbcType=VARCHAR}, #{dt,jdbcType=TIMESTAMP}, #{rtuDt,jdbcType=TIMESTAMP}, #{orderNo,jdbcType=VARCHAR}, #{icCardAddr,jdbcType=VARCHAR}, #{icCardNo,jdbcType=VARCHAR}, #{waterLevel,jdbcType=FLOAT}, #{waterPress,jdbcType=FLOAT}, #{waterInstant,jdbcType=FLOAT}, #{waterTotal,jdbcType=FLOAT}, #{eleTotal,jdbcType=FLOAT}, #{moneyRemain,jdbcType=FLOAT}, #{waterRemain,jdbcType=FLOAT}, #{thisEle,jdbcType=FLOAT}, #{thisWater,jdbcType=FLOAT}, #{thisMoney,jdbcType=FLOAT}, #{thisDuration,jdbcType=INTEGER}, #{waterPrice,jdbcType=FLOAT}, #{elePrice,jdbcType=FLOAT}, #{aVolt,jdbcType=FLOAT}, #{bVolt,jdbcType=FLOAT}, #{cVolt,jdbcType=FLOAT}, #{aCurrent,jdbcType=FLOAT}, #{bCurrent,jdbcType=FLOAT}, #{cCurrent,jdbcType=FLOAT}, #{batteryVolt,jdbcType=FLOAT}, #{waterMeterTransVolt,jdbcType=FLOAT}, #{waterMeterWorkVolt,jdbcType=FLOAT} ) insert into rm_work_report_history id, client_id, client_name, controller_id, intake_id, rtu_addr, dt, rtu_dt, order_no, ic_card_addr, ic_card_no, water_level, water_press, water_instant, water_total, ele_total, money_remain, water_remain, this_ele, this_water, this_money, this_duration, water_price, ele_price, a_volt, b_volt, c_volt, a_current, b_current, c_current, battery_volt, water_meter_trans_volt, water_meter_work_volt, #{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{clientName,jdbcType=VARCHAR}, #{controllerId,jdbcType=BIGINT}, #{intakeId,jdbcType=BIGINT}, #{rtuAddr,jdbcType=VARCHAR}, #{dt,jdbcType=TIMESTAMP}, #{rtuDt,jdbcType=TIMESTAMP}, #{orderNo,jdbcType=VARCHAR}, #{icCardAddr,jdbcType=VARCHAR}, #{icCardNo,jdbcType=VARCHAR}, #{waterLevel,jdbcType=FLOAT}, #{waterPress,jdbcType=FLOAT}, #{waterInstant,jdbcType=FLOAT}, #{waterTotal,jdbcType=FLOAT}, #{eleTotal,jdbcType=FLOAT}, #{moneyRemain,jdbcType=FLOAT}, #{waterRemain,jdbcType=FLOAT}, #{thisEle,jdbcType=FLOAT}, #{thisWater,jdbcType=FLOAT}, #{thisMoney,jdbcType=FLOAT}, #{thisDuration,jdbcType=INTEGER}, #{waterPrice,jdbcType=FLOAT}, #{elePrice,jdbcType=FLOAT}, #{aVolt,jdbcType=FLOAT}, #{bVolt,jdbcType=FLOAT}, #{cVolt,jdbcType=FLOAT}, #{aCurrent,jdbcType=FLOAT}, #{bCurrent,jdbcType=FLOAT}, #{cCurrent,jdbcType=FLOAT}, #{batteryVolt,jdbcType=FLOAT}, #{waterMeterTransVolt,jdbcType=FLOAT}, #{waterMeterWorkVolt,jdbcType=FLOAT}, update rm_work_report_history client_id = #{clientId,jdbcType=BIGINT}, client_name = #{clientName,jdbcType=VARCHAR}, controller_id = #{controllerId,jdbcType=BIGINT}, intake_id = #{intakeId,jdbcType=BIGINT}, rtu_addr = #{rtuAddr,jdbcType=VARCHAR}, dt = #{dt,jdbcType=TIMESTAMP}, rtu_dt = #{rtuDt,jdbcType=TIMESTAMP}, order_no = #{orderNo,jdbcType=VARCHAR}, ic_card_addr = #{icCardAddr,jdbcType=VARCHAR}, ic_card_no = #{icCardNo,jdbcType=VARCHAR}, water_level = #{waterLevel,jdbcType=FLOAT}, water_press = #{waterPress,jdbcType=FLOAT}, water_instant = #{waterInstant,jdbcType=FLOAT}, water_total = #{waterTotal,jdbcType=FLOAT}, ele_total = #{eleTotal,jdbcType=FLOAT}, money_remain = #{moneyRemain,jdbcType=FLOAT}, water_remain = #{waterRemain,jdbcType=FLOAT}, this_ele = #{thisEle,jdbcType=FLOAT}, this_water = #{thisWater,jdbcType=FLOAT}, this_money = #{thisMoney,jdbcType=FLOAT}, this_duration = #{thisDuration,jdbcType=INTEGER}, water_price = #{waterPrice,jdbcType=FLOAT}, ele_price = #{elePrice,jdbcType=FLOAT}, a_volt = #{aVolt,jdbcType=FLOAT}, b_volt = #{bVolt,jdbcType=FLOAT}, c_volt = #{cVolt,jdbcType=FLOAT}, a_current = #{aCurrent,jdbcType=FLOAT}, b_current = #{bCurrent,jdbcType=FLOAT}, c_current = #{cCurrent,jdbcType=FLOAT}, battery_volt = #{batteryVolt,jdbcType=FLOAT}, water_meter_trans_volt = #{waterMeterTransVolt,jdbcType=FLOAT}, water_meter_work_volt = #{waterMeterWorkVolt,jdbcType=FLOAT}, where id = #{id,jdbcType=BIGINT} update rm_work_report_history set client_id = #{clientId,jdbcType=BIGINT}, client_name = #{clientName,jdbcType=VARCHAR}, controller_id = #{controllerId,jdbcType=BIGINT}, intake_id = #{intakeId,jdbcType=BIGINT}, rtu_addr = #{rtuAddr,jdbcType=VARCHAR}, dt = #{dt,jdbcType=TIMESTAMP}, rtu_dt = #{rtuDt,jdbcType=TIMESTAMP}, order_no = #{orderNo,jdbcType=VARCHAR}, ic_card_addr = #{icCardAddr,jdbcType=VARCHAR}, ic_card_no = #{icCardNo,jdbcType=VARCHAR}, water_level = #{waterLevel,jdbcType=FLOAT}, water_press = #{waterPress,jdbcType=FLOAT}, water_instant = #{waterInstant,jdbcType=FLOAT}, water_total = #{waterTotal,jdbcType=FLOAT}, ele_total = #{eleTotal,jdbcType=FLOAT}, money_remain = #{moneyRemain,jdbcType=FLOAT}, water_remain = #{waterRemain,jdbcType=FLOAT}, this_ele = #{thisEle,jdbcType=FLOAT}, this_water = #{thisWater,jdbcType=FLOAT}, this_money = #{thisMoney,jdbcType=FLOAT}, this_duration = #{thisDuration,jdbcType=INTEGER}, water_price = #{waterPrice,jdbcType=FLOAT}, ele_price = #{elePrice,jdbcType=FLOAT}, a_volt = #{aVolt,jdbcType=FLOAT}, b_volt = #{bVolt,jdbcType=FLOAT}, c_volt = #{cVolt,jdbcType=FLOAT}, a_current = #{aCurrent,jdbcType=FLOAT}, b_current = #{bCurrent,jdbcType=FLOAT}, c_current = #{cCurrent,jdbcType=FLOAT}, battery_volt = #{batteryVolt,jdbcType=FLOAT}, water_meter_trans_volt = #{waterMeterTransVolt,jdbcType=FLOAT}, water_meter_work_volt = #{waterMeterWorkVolt,jdbcType=FLOAT} where id = #{id,jdbcType=BIGINT}