| | |
| | | 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 |