select line_id, report_info_id, img, img_src, image_normal_url_path, creat_time, img_type
from inspection_report_img
insert into inspection_report_img
report_info_id,
img,
img_src,
creat_time,
img_type,
#{reportInfoId},
#{img},
#{imgSrc},
#{creatTime},
#{imgType},
update inspection_report_img
report_info_id = #{reportInfoId},
img = #{img},
img_src = #{imgSrc},
creat_time = #{creatTime},
img_type = #{imgType},
where line_id = #{lineId}
delete
from inspection_report_img
where line_id = #{lineId}
delete from inspection_report_img where line_id in
#{lineId}
insert into inspection_report_img (line_id, report_info_id, img, img_src, image_normal_url_path, creat_time, img_type) values
(#{t.lineId}, #{t.reportInfoId}, #{t.img}, #{t.imgSrc}, #{t.imageNormalUrlPath}, #{t.creatTime}, #{t.imgType})