上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 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 一隅桥畔 阅读(4788) 评论(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 一隅桥畔 阅读(211) 评论(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 一隅桥畔 阅读(5119) 评论(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 一隅桥畔 阅读(2826) 评论(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 一隅桥畔 阅读(495) 评论(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 一隅桥畔 阅读(366) 评论(0) 推荐(0)
摘要: 1.操作步骤需要严格执行如下顺序:commit->pull->push2.commit:将代码提交到本地仓库。3.pull:将远程仓库代码同步到本地仓库。如遇冲突,解决冲突,重复commit->pull,直到没有冲突。4.push:将本地仓库代码提交到远程仓库。 具体讨论可参看《Git的commit 阅读全文
posted @ 2022-08-05 16:57 一隅桥畔 阅读(1580) 评论(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 一隅桥畔 阅读(449) 评论(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 一隅桥畔 阅读(100) 评论(0) 推荐(0)
摘要: -- 批量删除重复数据 delete t from ( select row_number() over(partition by user_code order by id) as rowNumber,* from t_user )t where t.rowNumber > 1 阅读全文
posted @ 2022-07-29 15:36 一隅桥畔 阅读(114) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页