select f_id, f_pid, f_goodsid, f_packageid, f_cntrid, f_cntrcount, f_cntrweight, f_cntrstatus, f_soc, f_temperature, f_Draught, f_Humidity, f_precooling, f_plantakecntr, f_IFDANGER, create_by, create_time, update_by, update_time, remark from t_warehousebills_cntr_logger insert into t_warehousebills_cntr_logger f_pid, f_goodsid, f_packageid, f_cntrid, f_cntrcount, f_cntrweight, f_cntrstatus, f_soc, f_temperature, f_Draught, f_Humidity, f_precooling, f_plantakecntr, f_IFDANGER, create_by, create_time, update_by, update_time, remark, #{fPid}, #{fGoodsid}, #{fPackageid}, #{fCntrid}, #{fCntrcount}, #{fCntrweight}, #{fCntrstatus}, #{fSoc}, #{fTemperature}, #{fDraught}, #{fHumidity}, #{fPrecooling}, #{fPlantakecntr}, #{fIfdanger}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update t_warehousebills_cntr_logger f_pid = #{fPid}, f_goodsid = #{fGoodsid}, f_packageid = #{fPackageid}, f_cntrid = #{fCntrid}, f_cntrcount = #{fCntrcount}, f_cntrweight = #{fCntrweight}, f_cntrstatus = #{fCntrstatus}, f_soc = #{fSoc}, f_temperature = #{fTemperature}, f_Draught = #{fDraught}, f_Humidity = #{fHumidity}, f_precooling = #{fPrecooling}, f_plantakecntr = #{fPlantakecntr}, f_IFDANGER = #{fIfdanger}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where f_id = #{fId} delete from t_warehousebills_cntr_logger where f_id = #{fId} delete from t_warehousebills_cntr_logger where f_id in #{fId} insert into t_warehousebills_cntr_logger SELECT tc.f_id, tc.f_pid, tc.f_goodsid, tc.f_packageid, tc.f_cntrid, tc.f_cntrcount, tc.f_cntrweight, tc.f_cntrstatus, tc.f_soc, tc.f_temperature, tc.f_Draught, tc.f_Humidity, tc.f_precooling, tc.f_plantakecntr, tc.f_IFDANGER, tc.create_by, tc.create_time, tc.update_by, tc.update_time, tc.remark FROM t_warehousebills_cntr tc WHERE tc.f_pid = #{fId}