Browse Source

updateviewCount

lyhzzz 2 years ago
parent
commit
79e30fd259

+ 1 - 0
src/main/java/com/fdkankan/ucenter/controller/TestController.java

@@ -55,6 +55,7 @@ public class TestController {
                     LambdaUpdateWrapper<ScenePlusExt> wrapper = new LambdaUpdateWrapper<>();
                     LambdaUpdateWrapper<ScenePlusExt> wrapper = new LambdaUpdateWrapper<>();
                     wrapper.eq(ScenePlusExt::getId,ext.getId());
                     wrapper.eq(ScenePlusExt::getId,ext.getId());
                     wrapper.set(ScenePlusExt::getViewCount,sceneProRe.getViewCount());
                     wrapper.set(ScenePlusExt::getViewCount,sceneProRe.getViewCount());
+                    scenePlusExtService.update(wrapper);
                 }
                 }
             }
             }
         }
         }