Bläddra i källkod

问题6修改

bmmx 1 år sedan
förälder
incheckning
a017a937f6

+ 1 - 1
src/main/java/com/om/entity/vo/AppBindVO.java

@@ -11,6 +11,6 @@ public class AppBindVO {
 
     private Integer userId;
 
-    private String vciSn;
+    private String vciNum;
 
 }

+ 2 - 2
src/main/java/com/om/service/impl/UserServiceImpl.java

@@ -585,7 +585,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
             return Result.error().message("参数为空").result(ResultCode.NO_DATA);
         }
         Integer userId = bindVO.getUserId();
-        String vciNum = bindVO.getVciSn();
+        String vciNum = bindVO.getVciNum();
 
         LambdaQueryWrapper<VciInfo> vciInfoLambdaQueryWrapper = new LambdaQueryWrapper<>();
         vciInfoLambdaQueryWrapper.eq(VciInfo::getVciNum, vciNum);
@@ -636,7 +636,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
             return Result.error().message("参数为空").result(ResultCode.NO_DATA);
         }
         Integer userId = bindVO.getUserId();
-        String vciNum = bindVO.getVciSn();
+        String vciNum = bindVO.getVciNum();
         LambdaQueryWrapper<VciInfo> vciInfoLambdaQueryWrapper = new LambdaQueryWrapper<>();
         vciInfoLambdaQueryWrapper.eq(VciInfo::getVciNum, vciNum);
         VciInfo vciInfo = vciInfoService.getOne(vciInfoLambdaQueryWrapper);