| | |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from yeshi_ec_device_active where da_device = #{device} and |
| | | da_platform=#{platform} |
| | | da_platform=#{platform} order by da_id desc limit 1 |
| | | </select> |
| | | |
| | | <select id="selectByDeviceToeknMd5AndPlatform" resultMap="BaseResultMap"> |
| | |
| | | from yeshi_ec_device_active where da_device_token_md5 = |
| | | #{deviceTokenMd5} and da_platform=#{platform} |
| | | </select> |
| | | |
| | | |
| | | <select id="selectFirst" resultMap="BaseResultMap" parameterType="java.lang.String"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from yeshi_ec_device_active where da_device = |
| | | #{0} order by da_id limit 1 |
| | | </select> |
| | | |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">delete from |
| | | yeshi_ec_device_active where da_id = #{id,jdbcType=BIGINT} |