AppActivateIdfaListMapper.xml 883 Bytes
<?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" />
		<result column="udid" property="udid" jdbcType="VARCHAR" />
		<result column="app_key" property="appKey" jdbcType="VARCHAR" />
	</resultMap>
	<select id="selectByUdidAndDate" resultMap="BaseResultMap">
		select * from app_activate_idfa_list where date_id=#{dateId} and udid=#{udid} and app_key = #{appKey}
	</select>

	<select id="select15DaysByIdfaAndDate" resultMap="BaseResultMap">
		select * from app_activate_idfa_list_15days where date_id=#{dateId} and idfa=#{idfa} and app_key = #{appKey}
	</select>
</mapper>