|
|
|
<?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.dao.CustomerFootBarDao">
|
|
|
|
|
|
|
|
<resultMap type="com.epmet.entity.CustomerFootBarEntity" id="customerFootBarMap">
|
|
|
|
<result property="id" column="ID"/>
|
|
|
|
<result property="barName" column="BAR_NAME"/>
|
|
|
|
<result property="barKey" column="BAR_KEY"/>
|
|
|
|
<result property="appType" column="APP_TYPE"/>
|
|
|
|
<result property="pageTitle" column="PAGE_TITLE"/>
|
|
|
|
<result property="iconPath" column="ICON_PATH"/>
|
|
|
|
<result property="selectedIconPath" column="SELECTED_ICON_PATH"/>
|
|
|
|
<result property="order" column="ORDER"/>
|
|
|
|
<result property="delFlag" column="DEL_FLAG"/>
|
|
|
|
<result property="revision" column="REVISION"/>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<!--查询客户的footbar列表-->
|
|
|
|
<select id="listCustomerFootBars" resultType="com.epmet.entity.CustomerFootBarEntity">
|
|
|
|
SELECT
|
|
|
|
id,
|
|
|
|
customer_id,
|
|
|
|
app_type,
|
|
|
|
bar_key,
|
|
|
|
bar_name,
|
|
|
|
app_type,
|
|
|
|
page_title,
|
|
|
|
icon_path,
|
|
|
|
selected_icon_path,
|
|
|
|
`order`,
|
|
|
|
del_flag,
|
|
|
|
revision,
|
|
|
|
created_by,
|
|
|
|
created_time,
|
|
|
|
updated_by,
|
|
|
|
updated_time,
|
|
|
|
`order`
|
|
|
|
FROM
|
|
|
|
customer_foot_bar
|
|
|
|
<where>
|
|
|
|
DEL_FLAG = '0'
|
|
|
|
AND CUSTOMER_ID = #{customerId}
|
|
|
|
AND APP_TYPE = #{appType}
|
|
|
|
</where>
|
|
|
|
ORDER BY `order` ASC
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|