|
@@ -72,7 +72,7 @@ public class ReleaseViewRecordServiceImpl extends ServiceImpl<ReleaseViewRecordM
|
|
|
queryWrapper.eq("user_id",userId);
|
|
|
}
|
|
|
if(null!=releaseId&&releaseId!=0){
|
|
|
- queryWrapper.eq("release_id",userId);
|
|
|
+ queryWrapper.eq("release_id",releaseId);
|
|
|
}
|
|
|
queryWrapper.orderByDesc("id").last("limit 1");
|
|
|
return this.getOne(queryWrapper);
|