更新 QyWeChatAppInfoMapperTest.java

This commit is contained in:
2023-12-12 18:39:58 +08:00
parent 391686628e
commit 715dd2108e

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,12 @@ 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());
}
}
}