Kaynağa Gözat

mapper文件对应的sql添加mark字段

tags/v1.2.0^2
chengwang 1 yıl önce
ebeveyn
işleme
72eb10e9c8
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml

+ 3
- 2
tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml Dosyayı Görüntüle

@@ -117,7 +117,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="addBatch" parameterType="com.tuoheng.admin.entity.InspectionFile">
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,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,mark)
values
<foreach collection="list" item="item" separator=",">
(
@@ -145,7 +145,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item.checkUser,jdbcType=INTEGER},
#{item.checkTime,jdbcType=TIMESTAMP},
#{item.createUser,jdbcType=INTEGER},
#{item.tenantId,jdbcType=INTEGER}
#{item.tenantId,jdbcType=INTEGER},
#{item.mark,jdbcType=INTEGER}
)
</foreach>
</insert>

Yükleniyor…
İptal
Kaydet