insert into t_big_overhaul big_overhaul_id, big_device_id, str_time, end_time, effect_num, consume_cost, is_use, create_time, create_user, notes, #{bigOverhaulId,jdbcType=VARCHAR}, #{bigDeviceId,jdbcType=VARCHAR}, #{strTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{effectNum,jdbcType=VARCHAR}, #{consumeCost,jdbcType=VARCHAR}, #{isUse,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createUser,jdbcType=VARCHAR}, #{notes,jdbcType=VARCHAR}, update t_big_overhaul set is_use=2 where big_overhaul_id=#{bigOverhaulId} update t_big_overhaul big_device_id = #{bigDeviceId,jdbcType=VARCHAR}, str_time = #{strTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, effect_num = #{effectNum,jdbcType=VARCHAR}, consume_cost = #{consumeCost,jdbcType=VARCHAR}, is_use = #{isUse,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_user = #{createUser,jdbcType=VARCHAR}, notes = #{notes,jdbcType=VARCHAR}, where big_overhaul_id = #{bigOverhaulId,jdbcType=VARCHAR} insert into t_big_overhaul_path overhaul_path_id, big_overhaul_id, overhaul_path, #{overhaulPathId,jdbcType=VARCHAR}, #{bigOverhaulId,jdbcType=VARCHAR}, #{overhaulPath,jdbcType=VARCHAR}, delete from t_big_overhaul_path where big_overhaul_id=#{bigOverhaulId}