Commit 3964921d050db10746cbc1007fc7f51879883f25
1 parent
b3be24fc
Exists in
master
测试类报错修改
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
cloud/dahua/src/test/java/com/example/dahua/mapper/SearchMapperTest.java
| @@ -45,9 +45,9 @@ public class SearchMapperTest extends Tester { | @@ -45,9 +45,9 @@ public class SearchMapperTest extends Tester { | ||
| 45 | userDao.checkLeave("234232"); | 45 | userDao.checkLeave("234232"); |
| 46 | System.out.println(JSON.toJSON(userDao.checkLeave("234232"))); | 46 | System.out.println(JSON.toJSON(userDao.checkLeave("234232"))); |
| 47 | userDao.selectByParentMobile("234232"); | 47 | userDao.selectByParentMobile("234232"); |
| 48 | - System.out.println(JSON.toJSON(userDao.checkLeave("234232"))); | ||
| 49 | - userDao.checkLeave("234232"); | ||
| 50 | - System.out.println(JSON.toJSON(userDao.checkLeave("234232"))); | 48 | + System.out.println(JSON.toJSON(userDao.selectByParentMobile("234232"))); |
| 49 | +// userDao.checkLeave("234232"); | ||
| 50 | +// System.out.println(JSON.toJSON(userDao.checkLeave("234232"))); | ||
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | @Test | 53 | @Test |
| @@ -57,8 +57,8 @@ public class SearchMapperTest extends Tester { | @@ -57,8 +57,8 @@ public class SearchMapperTest extends Tester { | ||
| 57 | shortMsg.setTableName("smsNew" + tableSuffix); | 57 | shortMsg.setTableName("smsNew" + tableSuffix); |
| 58 | shortMsg.setSchoolId(23); | 58 | shortMsg.setSchoolId(23); |
| 59 | shortMsg.setMobile("124124242"); | 59 | shortMsg.setMobile("124124242"); |
| 60 | - userDao.insertMessage(); | ||
| 61 | - System.out.println(JSON.toJSON(userDao.checkLeave("234232"))); | 60 | +// userDao.insertMessage(); |
| 61 | +// System.out.println(JSON.toJSON(userDao.checkLeave("234232"))); | ||
| 62 | 62 | ||
| 63 | } | 63 | } |
| 64 | } | 64 | } |