Browse Source

完善判断

ywx
王宁 6 months ago
parent
commit
f469457719
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/java/com/xhkjedu/service/EPaperVerifyService.java

+ 1
- 1
src/main/java/com/xhkjedu/service/EPaperVerifyService.java View File

49
         Integer studentid = psParams.getStudentid();
49
         Integer studentid = psParams.getStudentid();
50
         Integer newstudentid = psParams.getNewstudentid();
50
         Integer newstudentid = psParams.getNewstudentid();
51
         Integer samed = 2; //是否和以前一致1一致2不一致
51
         Integer samed = 2; //是否和以前一致1一致2不一致
52
-        if(N_Utils.isTrueInteger(newstudentid) && studentid.equals(newstudentid)){
52
+        if(!N_Utils.isTrueInteger(newstudentid) || studentid.equals(newstudentid)){
53
             samed = 1;
53
             samed = 1;
54
             newstudentid = studentid;
54
             newstudentid = studentid;
55
         }
55
         }

Loading…
Cancel
Save