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, source_id, file_path, file_type, file_size, file_name, file_suffix, file_state,
data_state, create_empid, create_date, modfiy_empid, modfiy_date, storage_group_name,
storage_file_name, terminal_source, file_sub_type
delete from td_c_file
where id = #{id,jdbcType=BIGINT}
delete from td_c_file
SELECT LAST_INSERT_ID()
insert into td_c_file (source_id, file_path, file_type,
file_size, file_name, file_suffix,
file_state, data_state, create_empid,
create_date, modfiy_empid, modfiy_date,
storage_group_name, storage_file_name, terminal_source,
file_sub_type)
values (#{sourceId,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR}, #{fileType,jdbcType=INTEGER},
#{fileSize,jdbcType=DECIMAL}, #{fileName,jdbcType=VARCHAR}, #{fileSuffix,jdbcType=VARCHAR},
#{fileState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP},
#{storageGroupName,jdbcType=VARCHAR}, #{storageFileName,jdbcType=VARCHAR}, #{terminalSource,jdbcType=INTEGER},
#{fileSubType,jdbcType=INTEGER})
SELECT LAST_INSERT_ID()
insert into td_c_file
source_id,
file_path,
file_type,
file_size,
file_name,
file_suffix,
file_state,
data_state,
create_empid,
create_date,
modfiy_empid,
modfiy_date,
storage_group_name,
storage_file_name,
terminal_source,
file_sub_type,
#{sourceId,jdbcType=VARCHAR},
#{filePath,jdbcType=VARCHAR},
#{fileType,jdbcType=INTEGER},
#{fileSize,jdbcType=DECIMAL},
#{fileName,jdbcType=VARCHAR},
#{fileSuffix,jdbcType=VARCHAR},
#{fileState,jdbcType=INTEGER},
#{dataState,jdbcType=INTEGER},
#{createEmpid,jdbcType=VARCHAR},
#{createDate,jdbcType=TIMESTAMP},
#{modfiyEmpid,jdbcType=VARCHAR},
#{modfiyDate,jdbcType=TIMESTAMP},
#{storageGroupName,jdbcType=VARCHAR},
#{storageFileName,jdbcType=VARCHAR},
#{terminalSource,jdbcType=INTEGER},
#{fileSubType,jdbcType=INTEGER},
update td_c_file
id = #{record.id,jdbcType=BIGINT},
source_id = #{record.sourceId,jdbcType=VARCHAR},
file_path = #{record.filePath,jdbcType=VARCHAR},
file_type = #{record.fileType,jdbcType=INTEGER},
file_size = #{record.fileSize,jdbcType=DECIMAL},
file_name = #{record.fileName,jdbcType=VARCHAR},
file_suffix = #{record.fileSuffix,jdbcType=VARCHAR},
file_state = #{record.fileState,jdbcType=INTEGER},
data_state = #{record.dataState,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},
storage_group_name = #{record.storageGroupName,jdbcType=VARCHAR},
storage_file_name = #{record.storageFileName,jdbcType=VARCHAR},
terminal_source = #{record.terminalSource,jdbcType=INTEGER},
file_sub_type = #{record.fileSubType,jdbcType=INTEGER},
update td_c_file
set id = #{record.id,jdbcType=BIGINT},
source_id = #{record.sourceId,jdbcType=VARCHAR},
file_path = #{record.filePath,jdbcType=VARCHAR},
file_type = #{record.fileType,jdbcType=INTEGER},
file_size = #{record.fileSize,jdbcType=DECIMAL},
file_name = #{record.fileName,jdbcType=VARCHAR},
file_suffix = #{record.fileSuffix,jdbcType=VARCHAR},
file_state = #{record.fileState,jdbcType=INTEGER},
data_state = #{record.dataState,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},
storage_group_name = #{record.storageGroupName,jdbcType=VARCHAR},
storage_file_name = #{record.storageFileName,jdbcType=VARCHAR},
terminal_source = #{record.terminalSource,jdbcType=INTEGER},
file_sub_type = #{record.fileSubType,jdbcType=INTEGER}
update td_c_file
source_id = #{sourceId,jdbcType=VARCHAR},
file_path = #{filePath,jdbcType=VARCHAR},
file_type = #{fileType,jdbcType=INTEGER},
file_size = #{fileSize,jdbcType=DECIMAL},
file_name = #{fileName,jdbcType=VARCHAR},
file_suffix = #{fileSuffix,jdbcType=VARCHAR},
file_state = #{fileState,jdbcType=INTEGER},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
storage_group_name = #{storageGroupName,jdbcType=VARCHAR},
storage_file_name = #{storageFileName,jdbcType=VARCHAR},
terminal_source = #{terminalSource,jdbcType=INTEGER},
file_sub_type = #{fileSubType,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update td_c_file
set source_id = #{sourceId,jdbcType=VARCHAR},
file_path = #{filePath,jdbcType=VARCHAR},
file_type = #{fileType,jdbcType=INTEGER},
file_size = #{fileSize,jdbcType=DECIMAL},
file_name = #{fileName,jdbcType=VARCHAR},
file_suffix = #{fileSuffix,jdbcType=VARCHAR},
file_state = #{fileState,jdbcType=INTEGER},
data_state = #{dataState,jdbcType=INTEGER},
create_empid = #{createEmpid,jdbcType=VARCHAR},
create_date = #{createDate,jdbcType=TIMESTAMP},
modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
storage_group_name = #{storageGroupName,jdbcType=VARCHAR},
storage_file_name = #{storageFileName,jdbcType=VARCHAR},
terminal_source = #{terminalSource,jdbcType=INTEGER},
file_sub_type = #{fileSubType,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}