上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: //调整高度函数 function setHeight(element) { //通过css属性,将元素高度设置为文本高度 $(element).css({'height':'auto','overflow-y':'hidden'}).height(element.scrollHeight); } 阅读全文
posted @ 2022-08-12 19:50 一隅桥畔 阅读(671) 评论(0) 推荐(0)
摘要: List<User> userList = new ArrayList<>(); //list集合中获取code集合 List<String> codeList = userList.stream().map(i -> i.getCode()).collect(Collectors.toList() 阅读全文
posted @ 2022-08-12 16:41 一隅桥畔 阅读(4792) 评论(0) 推荐(0)
摘要: 如何使用git把本地代码上传到远程仓库 Git 全局设置:git config --global user.name "xxx"git config --global user.email "xxx@163.com" 初始化git init 查看当前仓库状态git status 将本地的仓库关联到远 阅读全文
posted @ 2022-08-11 00:16 一隅桥畔 阅读(213) 评论(0) 推荐(0)
摘要: -- 1、匹配一个字段 比如user_name select * from tb_user where user_name like '%'+ #{keyWord} +'%'; select * from tb_user where user_name like concat('%',#{keyWo 阅读全文
posted @ 2022-08-10 23:53 一隅桥畔 阅读(5141) 评论(0) 推荐(0)
摘要: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1 阅读全文
posted @ 2022-08-05 17:30 一隅桥畔 阅读(2845) 评论(0) 推荐(0)
摘要: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1 阅读全文
posted @ 2022-08-05 17:16 一隅桥畔 阅读(497) 评论(0) 推荐(0)
摘要: //编译或打包时报错,需要在pom.xml文件中加上下面内容 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</ve 阅读全文
posted @ 2022-08-05 17:11 一隅桥畔 阅读(370) 评论(0) 推荐(0)
摘要: 1.操作步骤需要严格执行如下顺序:commit->pull->push2.commit:将代码提交到本地仓库。3.pull:将远程仓库代码同步到本地仓库。如遇冲突,解决冲突,重复commit->pull,直到没有冲突。4.push:将本地仓库代码提交到远程仓库。 具体讨论可参看《Git的commit 阅读全文
posted @ 2022-08-05 16:57 一隅桥畔 阅读(1591) 评论(0) 推荐(0)
摘要: //数组转集合 String[] strArr = {"AA","BB","CC"}; List<String> list = Arrays.asList(strArr); //集合转数组 List<String> list = new ArrayList<>(); list.add("AA"); 阅读全文
posted @ 2022-08-03 00:11 一隅桥畔 阅读(451) 评论(0) 推荐(0)
摘要: //校验金额--整数最多5位,小数最多2位 $("#unitCapital").blur(function(){ var reg = /((^[1-9]\d{0,4})|^0)(\.\d{1,2}){0,1}$/; if(!reg.test(this.value)){ alert("格式不对!整数最 阅读全文
posted @ 2022-07-31 12:53 一隅桥畔 阅读(103) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页