yujian
2019-09-02 9eeda0d3049b71877c373c04d65533939b5582ef
fanli/src/main/java/com/yeshi/fanli/mapping/push/DeviceActiveMapper.xml
@@ -30,7 +30,7 @@
      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">
@@ -39,6 +39,14 @@
      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}