t.id as id,
t.tch_id as tchId,
t.tch_file as tchFile,
t.create_time as createTime
t.tch_id = #{tchId} AND
t.tch_file = #{tchFile} AND
t.create_time = #{createTime} AND
insert into t_tch_files
id,
tch_id,
tch_file,
create_time,
#{id},
#{tchId},
#{tchFile},
#{createTime},
update t_tch_files
tch_id=#{tchId},
tch_file=#{tchFile},
create_time=#{createTime},
where id=#{id}
update t_tch_files
SET is_use = 0
where id=#{id}
delete from t_tch_files
where id=#{id}
delete from t_tch_files
where tch_id=#{tchId}