and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, line_code, prd_type, simulation_role, control_mode, operate_object, operate,
conditions, params
delete from command_definition
where id = #{id,jdbcType=BIGINT}
delete from command_definition
insert into command_definition (line_code, prd_type, simulation_role,
control_mode, operate_object, operate,
conditions, params)
values (#{lineCode,jdbcType=VARCHAR}, #{prdType,jdbcType=VARCHAR}, #{simulationRole,jdbcType=VARCHAR},
#{controlMode,jdbcType=VARCHAR}, #{operateObject,jdbcType=VARCHAR}, #{operate,jdbcType=VARCHAR},
#{conditions,jdbcType=VARCHAR}, #{params,jdbcType=VARCHAR})
insert into command_definition
line_code,
prd_type,
simulation_role,
control_mode,
operate_object,
operate,
conditions,
params,
#{lineCode,jdbcType=VARCHAR},
#{prdType,jdbcType=VARCHAR},
#{simulationRole,jdbcType=VARCHAR},
#{controlMode,jdbcType=VARCHAR},
#{operateObject,jdbcType=VARCHAR},
#{operate,jdbcType=VARCHAR},
#{conditions,jdbcType=VARCHAR},
#{params,jdbcType=VARCHAR},
update command_definition
id = #{record.id,jdbcType=BIGINT},
line_code = #{record.lineCode,jdbcType=VARCHAR},
prd_type = #{record.prdType,jdbcType=VARCHAR},
simulation_role = #{record.simulationRole,jdbcType=VARCHAR},
control_mode = #{record.controlMode,jdbcType=VARCHAR},
operate_object = #{record.operateObject,jdbcType=VARCHAR},
operate = #{record.operate,jdbcType=VARCHAR},
conditions = #{record.conditions,jdbcType=VARCHAR},
params = #{record.params,jdbcType=VARCHAR},
update command_definition
set id = #{record.id,jdbcType=BIGINT},
line_code = #{record.lineCode,jdbcType=VARCHAR},
prd_type = #{record.prdType,jdbcType=VARCHAR},
simulation_role = #{record.simulationRole,jdbcType=VARCHAR},
control_mode = #{record.controlMode,jdbcType=VARCHAR},
operate_object = #{record.operateObject,jdbcType=VARCHAR},
operate = #{record.operate,jdbcType=VARCHAR},
conditions = #{record.conditions,jdbcType=VARCHAR},
params = #{record.params,jdbcType=VARCHAR}
update command_definition
line_code = #{lineCode,jdbcType=VARCHAR},
prd_type = #{prdType,jdbcType=VARCHAR},
simulation_role = #{simulationRole,jdbcType=VARCHAR},
control_mode = #{controlMode,jdbcType=VARCHAR},
operate_object = #{operateObject,jdbcType=VARCHAR},
operate = #{operate,jdbcType=VARCHAR},
conditions = #{conditions,jdbcType=VARCHAR},
params = #{params,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update command_definition
set line_code = #{lineCode,jdbcType=VARCHAR},
prd_type = #{prdType,jdbcType=VARCHAR},
simulation_role = #{simulationRole,jdbcType=VARCHAR},
control_mode = #{controlMode,jdbcType=VARCHAR},
operate_object = #{operateObject,jdbcType=VARCHAR},
operate = #{operate,jdbcType=VARCHAR},
conditions = #{conditions,jdbcType=VARCHAR},
params = #{params,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}