更新 QyWeChatAppInfoMapperTest.java

pull/1/head
wangsiyuan 2023-12-12 18:43:59 +08:00
parent e1ea384d94
commit 2834117f0f
1 changed files with 6 additions and 6 deletions

View File

@ -15,6 +15,7 @@ public class QyWeChatAppInfoMapperTest {
@Autowired
private QyWeChatAppInfoMapper qyWeChatAppInfoMapper;
@Test
public void testSelect() {
System.out.println(("----- select by id test ------"));
@ -41,12 +42,11 @@ public class QyWeChatAppInfoMapperTest {
System.out.println("Test complete");
}
@Test
public void testAllColum() {
for (int i = 1; i < 12; i++) {
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(i);
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(1);
PhoneNumberValidation phoneNumberValidation = new PhoneNumberValidation();
phoneNumberValidation.isValidPhoneNumber(qyWeChatAppInfo.getPhoneNumber());
}
}
}