| | |
| | | import cn.hutool.core.io.FileUtil; |
| | | import com.ltkj.LtkjApplication; |
| | | import com.ltkj.framework.config.MatchUtils; |
| | | import com.ltkj.hosp.domain.TjJcycxm; |
| | | import com.ltkj.hosp.idutil.IdUtils; |
| | | import jodd.util.StringUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | |
| | | System.out.println(MatchUtils.isIdCard("622723197401030409")); |
| | | System.out.println(MatchUtils.isMobileNO("15346732733")); |
| | | String s = "610124199809053678"; |
| | | String s1 = "610622199805230627"; |
| | | System.out.println(String.valueOf(MatchUtils.getAgeByIdCard(s))); |
| | | System.out.println(String.valueOf(MatchUtils.getAgeByIdCard(s1))); |
| | | |
| | | } |
| | | |
| | | |