Blame view

dal/src/main/resources/META-INF/mybatis/AppActivateIdfaListMapper.xml 883 Bytes
ping authored
1 2 3 4 5
<?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.yoho.unions.dal.IAppActivateIdfaListDAO">
	<resultMap id="BaseResultMap" type="com.yoho.unions.dal.model.AppActivateIdfaList">
		<result column="date_id" property="dateId" jdbcType="BIGINT" />
6
		<result column="udid" property="udid" jdbcType="VARCHAR" />
bblu authored
7
		<result column="app_key" property="appKey" jdbcType="VARCHAR" />
ping authored
8
	</resultMap>
zhengwen.ge authored
9
	<select id="selectByUdidAndDate" resultMap="BaseResultMap">
10
		select * from app_activate_idfa_list where date_id=#{dateId} and udid=#{udid} and app_key = #{appKey}
ping authored
11
	</select>
zhengwen.ge authored
12
ping authored
13
	<select id="select15DaysByIdfaAndDate" resultMap="BaseResultMap">
14
		select * from app_activate_idfa_list_15days where date_id=#{dateId} and idfa=#{idfa} and app_key = #{appKey}
ping authored
15
	</select>
ping authored
16
</mapper>