Blame view

backend/portal/src/main/resources/mapper/SysLayoutSettingMapper.xml 698 Bytes
8d73e917   陈威   初始化提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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.hotent.portal.persistence.dao.SysLayoutSettingDao">
	<resultMap id="SysLayoutSetting" type="com.hotent.portal.model.SysLayoutSetting">
		<id property="id" column="ID_" jdbcType="VARCHAR"/>
		<result property="layoutId" column="LAYOUT_ID_" jdbcType="VARCHAR"/>
		<result property="logo" column="LOGO_" jdbcType="VARCHAR"/>
	</resultMap>
	
	<select id="getByLayoutId"   parameterType="java.lang.String" resultMap="SysLayoutSetting">
		SELECT * FROM portal_sys_layout_setting 
		WHERE 
		LAYOUT_ID_=#{layoutId}
	</select>
</mapper>