id, parent_id, file_name, file_path, debug_type, file_length, last_reco_time, reco_plate,
plate_color, sort
and parent_id = #{parentId,jdbcType=INTEGER}
and file_name = #{fileName,jdbcType=VARCHAR}
and file_path = #{filePath,jdbcType=VARCHAR}
and debug_type = #{debugType,jdbcType=VARCHAR}
and file_length = #{fileLength,jdbcType=INTEGER}
and last_reco_time = #{lastRecoTime,jdbcType=VARCHAR}
and reco_plate = #{recoPlate,jdbcType=VARCHAR}
and plate_color = #{plateColor,jdbcType=VARCHAR}
and sort = #{sort,jdbcType=INTEGER}
Sqlite
insert into t_plate_reco_debug (parent_id, file_name, file_path,
debug_type, file_length, last_reco_time,
reco_plate, plate_color, sort
)
values (#{parentId,jdbcType=INTEGER}, #{fileName,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR},
#{debugType,jdbcType=VARCHAR}, #{fileLength,jdbcType=INTEGER}, #{lastRecoTime,jdbcType=VARCHAR},
#{recoPlate,jdbcType=VARCHAR}, #{plateColor,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}
)
Sqlite
insert into t_plate_reco_debug
parent_id,
file_name,
file_path,
debug_type,
file_length,
last_reco_time,
reco_plate,
plate_color,
sort,
#{parentId,jdbcType=INTEGER},
#{fileName,jdbcType=VARCHAR},
#{filePath,jdbcType=VARCHAR},
#{debugType,jdbcType=VARCHAR},
#{fileLength,jdbcType=INTEGER},
#{lastRecoTime,jdbcType=VARCHAR},
#{recoPlate,jdbcType=VARCHAR},
#{plateColor,jdbcType=VARCHAR},
#{sort,jdbcType=INTEGER},
update t_plate_reco_debug
parent_id = #{parentId,jdbcType=INTEGER},
file_name = #{fileName,jdbcType=VARCHAR},
file_path = #{filePath,jdbcType=VARCHAR},
debug_type = #{debugType,jdbcType=VARCHAR},
file_length = #{fileLength,jdbcType=INTEGER},
last_reco_time = #{lastRecoTime,jdbcType=VARCHAR},
reco_plate = #{recoPlate,jdbcType=VARCHAR},
plate_color = #{plateColor,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update t_plate_reco_debug
set parent_id = #{parentId,jdbcType=INTEGER},
file_name = #{fileName,jdbcType=VARCHAR},
file_path = #{filePath,jdbcType=VARCHAR},
debug_type = #{debugType,jdbcType=VARCHAR},
file_length = #{fileLength,jdbcType=INTEGER},
last_reco_time = #{lastRecoTime,jdbcType=VARCHAR},
reco_plate = #{recoPlate,jdbcType=VARCHAR},
plate_color = #{plateColor,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
delete from t_plate_reco_debug
where id = #{id,jdbcType=INTEGER}
delete from t_plate_reco_debug
where parent_id = #{parentId,jdbcType=INTEGER}
insert into t_plate_reco_debug (parent_id, file_name, file_path,
debug_type, reco_plate, plate_color, sort )
values
ifnull(#{item.parentId,jdbcType=INTEGER}, 0), ifnull(#{item.fileName,jdbcType=VARCHAR}, ''), ifnull(#{item.filePath,jdbcType=VARCHAR}, ''),
ifnull(#{item.debugType,jdbcType=VARCHAR}, ''), ifnull(#{item.recoPlate,jdbcType=VARCHAR}, ''),
ifnull(#{item.plateColor,jdbcType=VARCHAR}, ''), ifnull(#{item.sort,jdbcType=INTEGER}, 0)