insert into t_pipe_out_plan_moth id, pipe_out_plan_id, month, plan_product, id = #{id,jdbcType=VARCHAR}, pipe_out_plan_id = #{pipeOutPlanId,jdbcType=VARCHAR}, `month` = #{month,jdbcType=INTEGER}, plan_product= #{planProduct,jdbcType=INTEGER}, insert into t_pipe_out_plan plan_out_id, pro_id, plan_year, need_pipe_num, create_time, create_user, update_time, update_user, #{planOutId}, #{proId}, #{planYear}, #{needPipeNum}, #{createTime}, #{createUser}, #{updateTime}, #{updateUser}, update t_pipe_out_plan pro_id=#{proId}, plan_year=#{planYear}, needPipeNum = #{needPipeNum}, create_time=#{createTime}, create_user=#{createUser}, update_time=#{updateTime}, update_user=#{updateUser}, where plan_out_id=#{planOutId} update t_pipe_out_plan SET is_use = 0 where plan_out_id=#{planOutId} delete from t_pipe_out_plan_moth where plan_out_id=#{planOutId}