insert into simulation_automatic_project ( id, project_date, project_num, project_id, project_name, project_describe, algorithm, algorithm_type, vehicle, scene, operation_cycle, parallelism, rule_view, is_choice_gpu, automatic_run_times, last_run_time, automatic_run_state, create_time, create_user_id, modify_time, modify_user_id, is_deleted ) values ( #{id,jdbcType=VARCHAR}, #{projectDate,jdbcType=INTEGER}, #{projectNum,jdbcType=INTEGER}, #{projectId,jdbcType=VARCHAR}, #{projectName,jdbcType=VARCHAR}, #{projectDescribe,jdbcType=VARCHAR}, #{algorithm,jdbcType=VARCHAR}, #{algorithmType,jdbcType=VARCHAR}, #{vehicle,jdbcType=VARCHAR}, #{scene,jdbcType=VARCHAR}, #{operationCycle,jdbcType=VARCHAR}, #{parallelism,jdbcType=VARCHAR}, #{ruleView,jdbcType=VARCHAR}, #{isChoiceGpu,jdbcType=VARCHAR}, #{automaticRunTimes,jdbcType=BIGINT}, #{lastRunTime,jdbcType=TIMESTAMP}, #{automaticRunState,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=VARCHAR}, #{isDeleted,jdbcType=VARCHAR} ) update simulation_automatic_project set project_name = #{projectName,jdbcType=VARCHAR}, project_describe = #{projectDescribe,jdbcType=VARCHAR}, algorithm = #{algorithm,jdbcType=VARCHAR}, algorithm_type = #{algorithmType,jdbcType=VARCHAR}, vehicle = #{vehicle,jdbcType=VARCHAR}, scene = #{scene,jdbcType=VARCHAR}, operation_cycle = #{operation_cycle,jdbcType=VARCHAR}, parallelism = #{parallelism,jdbcType=VARCHAR}, is_choice_gpu = #{isChoiceGpu,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR} and is_deleted = '0' update simulation_automatic_project set is_deleted='1' where id in #{id,jdbcType=VARCHAR}