You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

35 lines
1.2 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.epmet.adv.dao.AdvVedioDao">
<resultMap type="com.epmet.adv.entity.AdvVedioEntity" id="entityMap">
<result property="id" column="ID"/>
<result property="path" column="PATH"/>
<result property="storeType" column="STORE_TYPE"/>
<result property="enable" column="ENABLE"/>
<result property="revision" column="REVISION"/>
<result property="delFlag" column="DEL_FLAG"/>
<result property="createdBy" column="CREATED_BY"/>
<result property="createdTime" column="CREATED_TIME"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
</resultMap>
<select id="getEnableAdvVedioEntity" resultMap="entityMap">
select id,
path,
store_type,
enable,
revision,
del_flag,
created_by,
created_time,
updated_by,
updated_time
from adv_vedio
where ENABLE = 1
limit 1;
</select>
</mapper>