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, config_no, channel_use_type, pl_no, channel_number, channel_direction, allow_pass_type,
config_sort, start_time, end_time, is_open, create_empid, create_date, modfiy_empid,
modfiy_date, data_state
delete from enclosed_tide_channel_config
where id = #{id,jdbcType=BIGINT}
delete from enclosed_tide_channel_config
SELECT LAST_INSERT_ID()
insert into enclosed_tide_channel_config (config_no, channel_use_type, pl_no,
channel_number, channel_direction, allow_pass_type,
config_sort, start_time, end_time,
is_open, create_empid, create_date,
modfiy_empid, modfiy_date, data_state
)
values (#{configNo,jdbcType=VARCHAR}, #{channelUseType,jdbcType=INTEGER}, #{plNo,jdbcType=VARCHAR},
#{channelNumber,jdbcType=VARCHAR}, #{channelDirection,jdbcType=INTEGER}, #{allowPassType,jdbcType=VARCHAR},
#{configSort,jdbcType=INTEGER}, #{startTime,jdbcType=TIME}, #{endTime,jdbcType=TIME},
#{isOpen,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{dataState,jdbcType=INTEGER}
)
SELECT LAST_INSERT_ID()
insert into enclosed_tide_channel_config
config_no,
channel_use_type,
pl_no,
channel_number,
channel_direction,
allow_pass_type,
config_sort,
start_time,
end_time,
is_open,
create_empid,
create_date,
modfiy_empid,
modfiy_date,
data_state,
#{configNo,jdbcType=VARCHAR},
#{channelUseType,jdbcType=INTEGER},
#{plNo,jdbcType=VARCHAR},
#{channelNumber,jdbcType=VARCHAR},
#{channelDirection,jdbcType=INTEGER},
#{allowPassType,jdbcType=VARCHAR},
#{configSort,jdbcType=INTEGER},
#{startTime,jdbcType=TIME},
#{endTime,jdbcType=TIME},
#{isOpen,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{dataState,jdbcType=INTEGER},
update enclosed_tide_channel_config
id = #{record.id,jdbcType=BIGINT},
config_no = #{record.configNo,jdbcType=VARCHAR},
channel_use_type = #{record.channelUseType,jdbcType=INTEGER},
pl_no = #{record.plNo,jdbcType=VARCHAR},
channel_number = #{record.channelNumber,jdbcType=VARCHAR},
channel_direction = #{record.channelDirection,jdbcType=INTEGER},
allow_pass_type = #{record.allowPassType,jdbcType=VARCHAR},
config_sort = #{record.configSort,jdbcType=INTEGER},
start_time = #{record.startTime,jdbcType=TIME},
end_time = #{record.endTime,jdbcType=TIME},
is_open = #{record.isOpen,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
data_state = #{record.dataState,jdbcType=INTEGER},
update enclosed_tide_channel_config
set id = #{record.id,jdbcType=BIGINT},
config_no = #{record.configNo,jdbcType=VARCHAR},
channel_use_type = #{record.channelUseType,jdbcType=INTEGER},
pl_no = #{record.plNo,jdbcType=VARCHAR},
channel_number = #{record.channelNumber,jdbcType=VARCHAR},
channel_direction = #{record.channelDirection,jdbcType=INTEGER},
allow_pass_type = #{record.allowPassType,jdbcType=VARCHAR},
config_sort = #{record.configSort,jdbcType=INTEGER},
start_time = #{record.startTime,jdbcType=TIME},
end_time = #{record.endTime,jdbcType=TIME},
is_open = #{record.isOpen,jdbcType=INTEGER},
create_empid = #{record.createEmpid,jdbcType=VARCHAR},
create_date = #{record.createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP},
data_state = #{record.dataState,jdbcType=INTEGER}
update enclosed_tide_channel_config
config_no = #{configNo,jdbcType=VARCHAR},
channel_use_type = #{channelUseType,jdbcType=INTEGER},
pl_no = #{plNo,jdbcType=VARCHAR},
channel_number = #{channelNumber,jdbcType=VARCHAR},
channel_direction = #{channelDirection,jdbcType=INTEGER},
allow_pass_type = #{allowPassType,jdbcType=VARCHAR},
config_sort = #{configSort,jdbcType=INTEGER},
start_time = #{startTime,jdbcType=TIME},
end_time = #{endTime,jdbcType=TIME},
is_open = #{isOpen,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
data_state = #{dataState,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update enclosed_tide_channel_config
set config_no = #{configNo,jdbcType=VARCHAR},
channel_use_type = #{channelUseType,jdbcType=INTEGER},
pl_no = #{plNo,jdbcType=VARCHAR},
channel_number = #{channelNumber,jdbcType=VARCHAR},
channel_direction = #{channelDirection,jdbcType=INTEGER},
allow_pass_type = #{allowPassType,jdbcType=VARCHAR},
config_sort = #{configSort,jdbcType=INTEGER},
start_time = #{startTime,jdbcType=TIME},
end_time = #{endTime,jdbcType=TIME},
is_open = #{isOpen,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
data_state = #{dataState,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}