随笔分类 - 开发技术点
某个技术点的应用
摘要:一、校验数字的表达式 数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 带1-
阅读全文
摘要:foreach的主要用在构建in条件中,它可以在SQL语句中进行迭代一个集合。 foreach元素的属性主要有 item,index,collection,open,separator,close。 item:表示集合中每一个元素进行迭代时的别名 index:指 定一个名字,用于表示在迭代过程中,每
阅读全文
摘要:// 3DES加密 public static String getEnc3DES(String data, String key, String iv) throws Exception { Cipher cipher = Cipher.getInstance("DESede/CBC/PKCS5P
阅读全文
摘要:eclipse配置tomcat8.5时出错:The Apache Tomcat installation at this directory is version 8.5.4. A Tomcat 8.0 installation is expected. 可以选择使用tomcat8.0便可以去除这个
阅读全文
摘要:1.在pom.xml中添加maven依赖 <!--Quartz任务调度 --> <!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz --> <dependency> <groupId>org.quartz-sched
阅读全文

浙公网安备 33010602011771号