yujian
2019-09-02 9eeda0d3049b71877c373c04d65533939b5582ef
fanli/src/main/java/com/yeshi/fanli/mapping/push/DeviceTokenIOSMapper.xml
@@ -40,14 +40,29 @@
      parameterType="java.lang.Long">
      select
      <include refid="Base_Column_List" />
      from yeshi_ec_uid_devicetoken_ios where uid = #{0}
      from yeshi_ec_uid_devicetoken_ios WHERE uid = #{uid}
       <if test="list != null and list.size() > 0">
          AND version in
          <foreach collection="list" item="item" open="(" separator="," close=")">
             #{item}
          </foreach>
       </if>
   </select>
   <select id="selectList" resultMap="BaseResultMap">
      select
      <include refid="Base_Column_List" />
      from yeshi_ec_uid_devicetoken_ios limit #{start},#{count}
      from yeshi_ec_uid_devicetoken_ios
       <if test="list != null and list.size() > 0">
          WHERE version in
          <foreach collection="list" item="item" open="(" separator="," close=")">
             #{item}
          </foreach>
       </if>
      limit #{start},#{count}
   </select>
   <select id="selectCount" resultType="java.lang.Long">select count(id) from
   <select id="selectCount" resultType="java.lang.Long">
      select count(id) from
      yeshi_ec_uid_devicetoken_ios
   </select>
   <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">delete from