会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一隅桥畔
将来的你会感谢,现在奋斗的你
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
2022年8月12日
从list集合中获取某字段集合
摘要: 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)
2022年8月11日
如何使用git把本地代码上传到远程仓库
摘要: 如何使用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)
2022年8月10日
SQL模糊查询匹配多个字段like concat
摘要: -- 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)
2022年8月5日
Maven打包时报错: 程序包com.sun.xml.internal.ws.util.xml不存在
摘要: <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)
JAVA打包时引入lib里面的包
摘要: <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)
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test
摘要: //编译或打包时报错,需要在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)
git commit、pull、push的操作步骤
摘要: 1.操作步骤需要严格执行如下顺序:commit->pull->push2.commit:将代码提交到本地仓库。3.pull:将远程仓库代码同步到本地仓库。如遇冲突,解决冲突,重复commit->pull,直到没有冲突。4.push:将本地仓库代码提交到远程仓库。 具体讨论可参看《Git的commit
阅读全文
posted @ 2022-08-05 16:57 一隅桥畔
阅读(1580)
评论(0)
推荐(0)
2022年8月3日
java数组与集合相互转换
摘要: //数组转集合 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)
2022年7月31日
小数点校验
摘要: //校验金额--整数最多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)
2022年7月29日
sql server批量删除重复数据
摘要: -- 批量删除重复数据 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
下一页
公告