日照智慧社区接口服务
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.
 
 
 
 
 

28 lines
777 B

<?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.CustomerStartPageDao">
<select id="selectByCustomerId" resultType="com.epmet.dto.result.StartPageResultDTO">
SELECT
url AS url,
client_type AS clientType,
time AS time,
type AS type
FROM
customer_start_page
WHERE
del_flag = '0'
AND customer_id = #{customerId}
</select>
<delete id="delByCustomerId">
DELETE
FROM
customer_start_page
WHERE
customer_id = #{customerId}
AND client_type = #{clientType}
</delete>
</mapper>