05 2020 档案

摘要:问题1:在jenkins的Build--Execute shell中,将编译好的js拷贝到工作目录,没有权限。 原因分析:Jenkins默认会以Jenkins的用户来执行shell 解决办法:修改Execute shell的执行用户 1)修改/etc/sysconfig/jenkins #JENKI 阅读全文
posted @ 2020-05-23 21:28 海尚书 阅读(467) 评论(0) 推荐(0) 编辑
摘要:1.Tomca环境安装 下载Tomcat安装包: wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.34/bin/apache-tomcat-8.5.34.tar.gz 解压tar包 tar -xvzf apa 阅读全文
posted @ 2020-05-22 13:59 海尚书 阅读(175) 评论(0) 推荐(0) 编辑
摘要:/** * 检查日期格式 * @param date * @return */ public static boolean checkDate(String date) { String eL = "^((\\d{2}(([02468][048])|([13579][26]))[\\-\\/\\s] 阅读全文
posted @ 2020-05-09 18:25 海尚书 阅读(1112) 评论(0) 推荐(0) 编辑
摘要:假如现在我们要查询一个姓张的且名字大于25的人: xml中的写法 select <include refid="userCols" /> from user<where> <if test="name != null and name != ''"> and name like concat(#{n 阅读全文
posted @ 2020-05-08 17:59 海尚书 阅读(2244) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示