lyhzzz 3 年之前
父节点
当前提交
bd8666a817
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/fdkankan/ucenter/service/impl/ScenePlusVoidServiceImpl.java

+ 1 - 0
src/main/java/com/fdkankan/ucenter/service/impl/ScenePlusVoidServiceImpl.java

@@ -60,6 +60,7 @@ public class ScenePlusVoidServiceImpl extends ServiceImpl<IScenePlusVoidMapper,
         if(plusVoid == null){
         if(plusVoid == null){
             plusVoid = new ScenePlusVoid();
             plusVoid = new ScenePlusVoid();
             plusVoid.setUserId(user.getId());
             plusVoid.setUserId(user.getId());
+            plusVoid.setStatus(type);
             plusVoid.setPlusId(scenePlus.getId());
             plusVoid.setPlusId(scenePlus.getId());
             this.save(plusVoid);
             this.save(plusVoid);
         }else {
         }else {