insert into simulation_manual_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,
now_run_state,
evaluation_level,
start_time,
finish_time,
max_simulation_time,
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},
#{nowRunState,jdbcType=VARCHAR},
#{evaluationLevel,jdbcType=VARCHAR},
#{startTime,jdbcType=TIMESTAMP},
#{finishTime,jdbcType=TIMESTAMP},
#{maxSimulationTime,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{createUserId,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP},
#{modifyUserId,jdbcType=VARCHAR},
#{isDeleted,jdbcType=VARCHAR})
update simulation_manual_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},
max_simulation_time = #{maxSimulationTime,jdbcType=BIGINT},
parallelism = #{parallelism,jdbcType=VARCHAR},
is_choice_gpu = #{isChoiceGpu,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
and is_deleted = '0'
update simulation_manual_project
set is_deleted='1'
where id in
#{id,jdbcType=VARCHAR}
update simulation_manual_project
now_run_state = #{nowRunState,jdbcType=VARCHAR},
start_time=#{startTime,jdbcType=TIMESTAMP},
finish_time=#{finishTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR} and is_deleted = '0'
insert into simulation_mpt_last_target_score
(id,
p_id,
target,
create_time,
create_user_id,
modify_time,
modify_user_id,
is_deleted)
values (#{id,jdbcType=VARCHAR}
#{pId,jdbcType=VARCHAR}
#{target,jdbcType=VARCHAR}
#{createTime,jdbcType=TIMESTAMP},
#{createUserId,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP},
#{modifyUserId,jdbcType=VARCHAR},
#{isDeleted,jdbcType=VARCHAR})
insert into simulation_mpt_first_target_score
(id,
p_id,
target,
create_time,
create_user_id,
modify_time,
modify_user_id,
is_deleted)
values (#{id,jdbcType=VARCHAR}
#{pId,jdbcType=VARCHAR}
#{target,jdbcType=VARCHAR}
#{createTime,jdbcType=TIMESTAMP},
#{createUserId,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP},
#{modifyUserId,jdbcType=VARCHAR},
#{isDeleted,jdbcType=VARCHAR})
insert into algorithm
(id,
algorithm_name,
upload_mode,
is_deleted)
values (id = #{id,jdbcType=VARCHAR},
algorithm_name = #{algorithmName,jdbcType=VARCHAR},
upload_mode = #{uploadMode,jdbcType=VARCHAR},
is_deleted = #{isDeleted,jdbcType=VARCHAR},)
update algorithm
set algorithm_name=#{algorithmName,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
and is_deleted = '0'