|
|
@@ -24,7 +24,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="questionCode" column="question_code" /> |
|
|
|
<result property="source" column="source" /> |
|
|
|
<result property="questionName" column="question_name" /> |
|
|
|
<result property="questionContent" column="question_content" /> |
|
|
|
<result property="questionDesc" column="question_desc" /> |
|
|
|
<result property="status" column="status" /> |
|
|
|
<result property="checkUser" column="check_user" /> |
|
|
@@ -56,7 +55,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="questionCode" column="question_code" /> |
|
|
|
<result property="source" column="source" /> |
|
|
|
<result property="questionName" column="question_name" /> |
|
|
|
<result property="questionContent" column="question_content" /> |
|
|
|
<result property="questionDesc" column="question_desc" /> |
|
|
|
<result property="status" column="status" /> |
|
|
|
<result property="checkUser" column="check_user" /> |
|
|
@@ -90,16 +88,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_content, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark |
|
|
|
id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="selectThInspectionFileVo"> |
|
|
|
select id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_content, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark from th_inspection_file |
|
|
|
select id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark from th_inspection_file |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="Base_Extend_Column_List"> |
|
|
|
tif.id, tif.tenant_id, tif.file_code, tif.inspection_id, tif.file_type, tif.file_name, tif.file_thumbnail, tif.file_original, tif.file_image, tif.file_size, |
|
|
|
tif.latitude, tif.longitude, tif.location, tif.gaode_longitude, tif.gaode_latitude, tif.gaode_address, tif.source, tif.question_code, tif.question_name, tif.question_content, tif.question_desc, tif.status, |
|
|
|
tif.latitude, tif.longitude, tif.location, tif.gaode_longitude, tif.gaode_latitude, tif.gaode_address, tif.source, tif.question_code, tif.question_name, tif.question_desc, tif.status, |
|
|
|
tif.check_user, tif.check_time, tif.create_user, tif.create_time, tif.update_user, tif.update_time, tif.mark, |
|
|
|
ti.code as inspection_code, ti.name as inspection_name, ti.road_id, ti.dept_id |
|
|
|
</sql> |
|
|
@@ -113,7 +111,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, |
|
|
|
gaode_address, `source`, question_code, question_name, question_content, 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 |
|
|
|
<foreach collection="list" item="item" separator=","> |
|
|
|
( |
|
|
@@ -135,7 +133,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
#{item.source,jdbcType=BOOLEAN}, |
|
|
|
#{item.questionCode,jdbcType=VARCHAR}, |
|
|
|
#{item.questionName,jdbcType=VARCHAR}, |
|
|
|
#{item.questionContent,jdbcType=VARCHAR}, |
|
|
|
#{item.questionDesc,jdbcType=VARCHAR}, |
|
|
|
#{item.status,jdbcType=TINYINT}, |
|
|
|
#{item.checkUser,jdbcType=INTEGER}, |