视频查看量更新
This commit is contained in:
parent
48dbd6e3fb
commit
c71a78d39a
@ -109,7 +109,7 @@ public class LearningResourcesServiceImpl implements LearningResourcesService {
|
||||
Integer downCount = updateReqVO.getDownCount();
|
||||
|
||||
// 如果downCount为空或者小于等于0,则将downCount设置为0
|
||||
if (downCount == null|| downCount <= 0) {
|
||||
if (downCount == null|| downCount < 0) {
|
||||
updateReqVO.setDownCount(0);
|
||||
}else {
|
||||
updateReqVO.setDownCount(downCount + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user