|
|
@ -65,6 +65,17 @@
|
|
|
|
<result column="field17" property="field17" jdbcType="VARCHAR"/>
|
|
|
|
<result column="field17" property="field17" jdbcType="VARCHAR"/>
|
|
|
|
<result column="field18" property="field18" jdbcType="VARCHAR"/>
|
|
|
|
<result column="field18" property="field18" jdbcType="VARCHAR"/>
|
|
|
|
<result column="suspiciousfile" property="suspiciousfile" jdbcType="INTEGER"/>
|
|
|
|
<result column="suspiciousfile" property="suspiciousfile" jdbcType="INTEGER"/>
|
|
|
|
|
|
|
|
<association property="pictureInfo" javaType="cn.jyjz.xiaoyao.ocr.dataobject.OcrPictureInfo">
|
|
|
|
|
|
|
|
<result column="pictureid" property="pictureId"/>
|
|
|
|
|
|
|
|
<result column="img_size" property="imgSize"/>
|
|
|
|
|
|
|
|
<result column="img_format" property="imgFormat"/>
|
|
|
|
|
|
|
|
<result column="img_measure" property="imgMeasure"/>
|
|
|
|
|
|
|
|
<result column="upload_time" property="uploadTime"/>
|
|
|
|
|
|
|
|
<result column="create_time" property="createTime"/>
|
|
|
|
|
|
|
|
<result column="img_space" property="imgSpace"/>
|
|
|
|
|
|
|
|
<result column="tag_time" property="tagTime"/>
|
|
|
|
|
|
|
|
<result column="source" property="source"/>
|
|
|
|
|
|
|
|
</association>
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
ID AS id,
|
|
|
|
ID AS id,
|
|
|
@ -207,9 +218,10 @@
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getPackagePictureInfo" resultMap="BaseResultMap">
|
|
|
|
<select id="getPackagePictureInfo" resultMap="BaseResultMap">
|
|
|
|
SELECT t2.*
|
|
|
|
SELECT t2.*,t3.*
|
|
|
|
FROM ocr_check_duplicate_result t1
|
|
|
|
FROM ocr_check_duplicate_result t1
|
|
|
|
LEFT JOIN ocr_picture t2 ON t1.picture_id = t2.ID
|
|
|
|
LEFT JOIN ocr_picture t2 ON t1.picture_id = t2.ID
|
|
|
|
|
|
|
|
left join ocr_picture_info t3 on t2.ID=t3.picture_id
|
|
|
|
where t1.check_duplicate_id = #{packageId}
|
|
|
|
where t1.check_duplicate_id = #{packageId}
|
|
|
|
<if test="pictureId != null and pictureId != ''">
|
|
|
|
<if test="pictureId != null and pictureId != ''">
|
|
|
|
and t1.picture_id = #{pictureId}
|
|
|
|
and t1.picture_id = #{pictureId}
|
|
|
|