| | |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from yeshi_ec_uid_devicetoken_hw |
| | | where 1=1 |
| | | |
| | | <if test="minUpdateTime!=null"> |
| | | AND dh_updatetime>=#{minUpdateTime} |
| | | </if> |
| | | |
| | | <if test="versionList!=null"> |
| | | <foreach collection="versionList" open="where (" separator=" or " |
| | | <foreach collection="versionList" open="and (" separator=" or " |
| | | item="ver" close=")"> |
| | | dh_version=#{ver} |
| | | </foreach> |
| | |
| | | |
| | | <select id="selectCount" resultType="java.lang.Long"> |
| | | select count(dh_id) from |
| | | yeshi_ec_uid_devicetoken_hw |
| | | yeshi_ec_uid_devicetoken_hw where 1=1 |
| | | |
| | | <if test="minUpdateTime!=null"> |
| | | AND dh_updatetime>=#{minUpdateTime} |
| | | </if> |
| | | |
| | | <if test="versionList!=null"> |
| | | <foreach collection="versionList" open="where (" separator=" or " |
| | | <foreach collection="versionList" open="and (" separator=" or " |
| | | item="ver" close=")"> |
| | | dh_version=#{ver} |
| | | </foreach> |