|
|
|
@ -18,22 +18,6 @@
|
|
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<resultMap id="PhotoMarkMap" type="com.shxy.xymanager_common.dto.PhotoMarkDto">
|
|
|
|
|
<result column="id" jdbcType="INTEGER" property="markId"/>
|
|
|
|
|
<result column="width" jdbcType="INTEGER" property="width"/>
|
|
|
|
|
<result column="mark_id" jdbcType="INTEGER" property="markId"/>
|
|
|
|
|
<result column="height" jdbcType="INTEGER" property="height"/>
|
|
|
|
|
<result column="color" jdbcType="VARCHAR" property="color"/>
|
|
|
|
|
<result column="boder_width" jdbcType="SMALLINT" property="boderWidth"/>
|
|
|
|
|
<result column="path" jdbcType="VARCHAR" property="path"/>
|
|
|
|
|
<collection property="list" javaType="list" ofType="com.shxy.xymanager_common.dto.TermChannelCoordinateDto">
|
|
|
|
|
<result column="x1" jdbcType="FLOAT" property="x1"/>
|
|
|
|
|
<result column="x2" jdbcType="FLOAT" property="x2"/>
|
|
|
|
|
<result column="y1" jdbcType="FLOAT" property="y1"/>
|
|
|
|
|
<result column="y2" jdbcType="FLOAT" property="y2"/>
|
|
|
|
|
</collection>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<resultMap id="PhotoAndLineAndChannelMap" type="com.shxy.xymanager_common.dto.PhotoAndLineAndChannelDto">
|
|
|
|
|
<result column="term_id" jdbcType="INTEGER" property="termid"/>
|
|
|
|
|
<result column="display_name" jdbcType="VARCHAR" property="displayname"/>
|
|
|
|
@ -50,6 +34,22 @@
|
|
|
|
|
<result column="media_type" jdbcType="VARCHAR" property="mediatype"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<resultMap id="PhotoMarkMap" type="com.shxy.xymanager_common.dto.PhotoMarkDto">
|
|
|
|
|
<result column="id" jdbcType="INTEGER" property="markId"/>
|
|
|
|
|
<result column="width" jdbcType="INTEGER" property="width"/>
|
|
|
|
|
<result column="mark_id" jdbcType="INTEGER" property="markId"/>
|
|
|
|
|
<result column="height" jdbcType="INTEGER" property="height"/>
|
|
|
|
|
<result column="color" jdbcType="VARCHAR" property="color"/>
|
|
|
|
|
<result column="boder_width" jdbcType="SMALLINT" property="boderWidth"/>
|
|
|
|
|
<result column="path" jdbcType="VARCHAR" property="path"/>
|
|
|
|
|
<collection property="list" javaType="list" ofType="com.shxy.xymanager_common.dto.TermChannelCoordinateDto">
|
|
|
|
|
<result column="x1" jdbcType="FLOAT" property="x1"/>
|
|
|
|
|
<result column="x2" jdbcType="FLOAT" property="x2"/>
|
|
|
|
|
<result column="y1" jdbcType="FLOAT" property="y1"/>
|
|
|
|
|
<result column="y2" jdbcType="FLOAT" property="y2"/>
|
|
|
|
|
</collection>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<resultMap id="TermAndChannelLatestPhotoMap" type="com.shxy.xymanager_common.dto.TermAndChannelLatestPhotoMapperDto">
|
|
|
|
|
<id column="id" jdbcType="BIGINT" property="id"/>
|
|
|
|
|
<result column="term_id" jdbcType="INTEGER" property="termid"/>
|
|
|
|
@ -469,7 +469,6 @@
|
|
|
|
|
tpm.color as color,
|
|
|
|
|
tpm.boder_width as boder_width,
|
|
|
|
|
tpm.id as mark_id,
|
|
|
|
|
tpmp.id as path_id,
|
|
|
|
|
tpmp.x1 as x1,
|
|
|
|
|
tpmp.x2 as x2,
|
|
|
|
|
tpmp.y1 as y1,
|
|
|
|
@ -486,7 +485,6 @@
|
|
|
|
|
where tp.term_id = #{termId} and tp.channel_id = #{channelId}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectPhotoWithoutPic" resultMap="PhotoMarkMap" parameterType="com.shxy.xymanager_common.vo.MarkReqVo">
|
|
|
|
|
select
|
|
|
|
|
tpm.id as id,
|
|
|
|
@ -495,7 +493,6 @@
|
|
|
|
|
tpm.color as color,
|
|
|
|
|
tpm.boder_width as boder_width,
|
|
|
|
|
tpm.id as mark_id,
|
|
|
|
|
tpmp.id as path_id,
|
|
|
|
|
tpmp.x1 as x1,
|
|
|
|
|
tpmp.x2 as x2,
|
|
|
|
|
tpmp.y1 as y1,
|
|
|
|
|