|
|
|
|
|
|
|
|
<!-- 批量新增问题图片 --> |
|
|
<!-- 批量新增问题图片 --> |
|
|
<insert id="addBatch" parameterType="com.tuoheng.admin.entity.InspectionFile"> |
|
|
<insert id="addBatch" parameterType="com.tuoheng.admin.entity.InspectionFile"> |
|
|
insert into th_inspection_file (id,file_code, inspection_id, file_type, file_name, |
|
|
insert into th_inspection_file (id,file_code, inspection_id, file_type, file_name, |
|
|
file_thumbnail, file_original, file_image, file_size, latitude, longitude, `location`, gaode_longitude, gaode_latitude, |
|
|
|
|
|
|
|
|
file_thumbnail, file_original, file_image, file_size, latitude, longitude, `location`, gaode_longitude, gaode_latitude,question_id, |
|
|
gaode_address, `source`, question_code, question_name, question_desc, `status`, check_user, check_time, create_user, tenant_id) |
|
|
gaode_address, `source`, question_code, question_name, question_desc, `status`, check_user, check_time, create_user, tenant_id) |
|
|
values |
|
|
values |
|
|
<foreach collection="list" item="item" separator=","> |
|
|
<foreach collection="list" item="item" separator=","> |
|
|
|
|
|
|
|
|
#{item.location,jdbcType=VARCHAR}, |
|
|
#{item.location,jdbcType=VARCHAR}, |
|
|
#{item.gaodeLongitude,jdbcType=VARCHAR}, |
|
|
#{item.gaodeLongitude,jdbcType=VARCHAR}, |
|
|
#{item.gaodeLatitude,jdbcType=VARCHAR}, |
|
|
#{item.gaodeLatitude,jdbcType=VARCHAR}, |
|
|
|
|
|
#{item.questionId,jdbcType=VARCHAR}, |
|
|
#{item.gaodeAddress,jdbcType=VARCHAR}, |
|
|
#{item.gaodeAddress,jdbcType=VARCHAR}, |
|
|
#{item.source,jdbcType=BOOLEAN}, |
|
|
#{item.source,jdbcType=BOOLEAN}, |
|
|
#{item.questionCode,jdbcType=VARCHAR}, |
|
|
#{item.questionCode,jdbcType=VARCHAR}, |