From c9bc6e1989866c9b1958c3bfd5279e4d9bb16a6f Mon Sep 17 00:00:00 2001 From: "zhiyong.ning" <354350178@qq.com> Date: Fri, 26 Feb 2021 17:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/msdw/tms/dao/UserDao.java | 2 +- src/main/resources/mapper/tms/StudentDao.xml | 2 +- src/main/resources/mapper/tms/UserInfoDao.xml | 4 ++-- .../msdw/tms/service/AchievementManagementTest.java | 13 +++++-------- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/msdw/tms/dao/UserDao.java b/src/main/java/com/msdw/tms/dao/UserDao.java index 20c28b6..876d757 100644 --- a/src/main/java/com/msdw/tms/dao/UserDao.java +++ b/src/main/java/com/msdw/tms/dao/UserDao.java @@ -41,7 +41,7 @@ public interface UserDao extends BaseMapper { List findPhoneSetTime(String phone, String checkCode,Integer types); - boolean saveCheckPhoneCode(CheckVo checkVo); +// boolean saveCheckPhoneCode(CheckVo checkVo); List queryPhone(CheckVo checkVo); } diff --git a/src/main/resources/mapper/tms/StudentDao.xml b/src/main/resources/mapper/tms/StudentDao.xml index 9d14baa..349554a 100644 --- a/src/main/resources/mapper/tms/StudentDao.xml +++ b/src/main/resources/mapper/tms/StudentDao.xml @@ -43,7 +43,7 @@ AND u.isdel = 0 AND l.isdel = 0 AND s.isdel = 0 - AND (u.userName LIKE CONCAT('%',#{searchContent},'%') OR s.workNumber LIKE CONCAT('%',#{searchContent},'%')) + AND (u.account LIKE CONCAT('%',#{searchContent},'%') OR u.userName LIKE CONCAT('%',#{searchContent},'%') OR s.workNumber LIKE CONCAT('%',#{searchContent},'%')) ORDER BY lastLoginTime DESC,studentId DESC diff --git a/src/main/resources/mapper/tms/UserInfoDao.xml b/src/main/resources/mapper/tms/UserInfoDao.xml index fa949fc..5ec1bd1 100644 --- a/src/main/resources/mapper/tms/UserInfoDao.xml +++ b/src/main/resources/mapper/tms/UserInfoDao.xml @@ -215,7 +215,7 @@