fix(watch): 修复匿名进度查询参数类型
This commit is contained in:
1 parent
848c746505
commit
5d44ac239b
2 files changed
+72
-2
No files matched your search
+2
-2
@@ -14,9 +14,9 @@ public interface WatchProgressMapper extends BaseMapper<WatchProgress> {
|
||||
@Select("""
|
||||
SELECT * FROM watch_progress
|
||||
WHERE (
|
||||
(#{userId} IS NOT NULL AND user_id = #{userId})
|
||||
(#{userId,jdbcType=BIGINT} IS NOT NULL AND user_id = #{userId,jdbcType=BIGINT})
|
||||
OR
|
||||
(#{userId} IS NULL AND user_id IS NULL AND device_id = #{deviceId})
|
||||
(#{userId,jdbcType=BIGINT} IS NULL AND user_id IS NULL AND device_id = #{deviceId})
|
||||
)
|
||||
AND drama_id = #{dramaId}
|
||||
LIMIT 1
|
||||
|
||||
Reference in new issue
Block a user