Commit f6777403d4266d64a7dcd283c586efc5977018de
1 parent
f6c2934e
Exists in
master
海康代码提交
Showing
2 changed files
with
85 additions
and
0 deletions
Show diff stats
cloud/haikangface/src/main/java/com/sincere/haikangface/bean/test/SaveStudentBak.java
0 → 100644
| @@ -0,0 +1,84 @@ | @@ -0,0 +1,84 @@ | ||
| 1 | +package com.sincere.haikangface.bean.test; | ||
| 2 | + | ||
| 3 | +/** | ||
| 4 | + * Create with IntelliJ IDEA | ||
| 5 | + * | ||
| 6 | + * @author xuquan | ||
| 7 | + * @date 2022/2/2412:28 | ||
| 8 | + * @Description: 检索 | ||
| 9 | + */ | ||
| 10 | +public class SaveStudentBak { | ||
| 11 | + | ||
| 12 | + private Integer id; | ||
| 13 | + private String name; | ||
| 14 | + private String userId; | ||
| 15 | + private String cardNum; | ||
| 16 | + private String clientId; | ||
| 17 | + private String className; | ||
| 18 | + private Integer status; | ||
| 19 | + private Integer schoolId; | ||
| 20 | + | ||
| 21 | + public Integer getId() { | ||
| 22 | + return id; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public void setId(Integer id) { | ||
| 26 | + this.id = id; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public String getName() { | ||
| 30 | + return name; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + public void setName(String name) { | ||
| 34 | + this.name = name; | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + public String getUserId() { | ||
| 38 | + return userId; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + public void setUserId(String userId) { | ||
| 42 | + this.userId = userId; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | + public String getCardNum() { | ||
| 46 | + return cardNum; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + public void setCardNum(String cardNum) { | ||
| 50 | + this.cardNum = cardNum; | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + public String getClientId() { | ||
| 54 | + return clientId; | ||
| 55 | + } | ||
| 56 | + | ||
| 57 | + public void setClientId(String clientId) { | ||
| 58 | + this.clientId = clientId; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + public String getClassName() { | ||
| 62 | + return className; | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + public void setClassName(String className) { | ||
| 66 | + this.className = className; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + public Integer getStatus() { | ||
| 70 | + return status; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + public void setStatus(Integer status) { | ||
| 74 | + this.status = status; | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + public Integer getSchoolId() { | ||
| 78 | + return schoolId; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + public void setSchoolId(Integer schoolId) { | ||
| 82 | + this.schoolId = schoolId; | ||
| 83 | + } | ||
| 84 | +} |
cloud/haikangface/src/main/java/com/sincere/haikangface/service/impl/UserOperateServiceImpl.java
| @@ -1105,6 +1105,7 @@ public class UserOperateServiceImpl implements UserOperateService { | @@ -1105,6 +1105,7 @@ public class UserOperateServiceImpl implements UserOperateService { | ||
| 1105 | //2.重新下发 | 1105 | //2.重新下发 |
| 1106 | boolean isOk = baseService.sendImg(file.getAbsolutePath(), targetPath, deviceId, cardNum, userName, String.valueOf(userType), schoolId); | 1106 | boolean isOk = baseService.sendImg(file.getAbsolutePath(), targetPath, deviceId, cardNum, userName, String.valueOf(userType), schoolId); |
| 1107 | if (isOk) { | 1107 | if (isOk) { |
| 1108 | + userDao.updateStudent(saveStudentBak.getId()); | ||
| 1108 | return; | 1109 | return; |
| 1109 | } else { | 1110 | } else { |
| 1110 | } | 1111 | } |