上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页
摘要: http://www.postgres.cn/docs/9.3/datatype-net-types.html#DATATYPE-INET 文档有详细的pgsql介绍 使用案例: SELECT to_char(12345,'') 为空SELECT to_char(12345,'99999')//12 阅读全文
posted @ 2021-05-03 16:56 余生请多指教ANT 阅读(229) 评论(0) 推荐(0) 编辑
摘要: join on 与数学原理 pgsql切换数据库 直接输入 \C youdatabasename 即可 \d 表名 —— 得到表结构 select * from tablename查看表的数据 相信有不少人读一遍两边都不懂, A集合有n行,x列,B集合有m行,y列 那么笛卡尔之积就是 一个(m*n) 阅读全文
posted @ 2021-05-02 23:17 余生请多指教ANT 阅读(2724) 评论(0) 推荐(0) 编辑
摘要: --求所有人的薪水的总和,平均值,最大值,最小值 select sum(sal) , avg(sal), max(sal) , min(sal) from emp; --求总的行数 select count(*) from emp; --求总的行树,(可以指定具体的字段)但如果字段有null值的时候 阅读全文
posted @ 2021-05-02 15:07 余生请多指教ANT 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 过滤 filter; //匹配第一个元素 Optional<Integer> findFirst=list.stream().filter(x->x>6).findFirst(); //任意匹配 (适用于并行流) List<String> collect = personList.stream(). 阅读全文
posted @ 2021-05-01 22:57 余生请多指教ANT 阅读(133) 评论(0) 推荐(0) 编辑
摘要: package library.book.demo.config.loginconfig; import com.alibaba.fastjson.JSON; import com.sun.org.apache.xml.internal.security.algorithms.JCEMapper; 阅读全文
posted @ 2021-04-20 22:02 余生请多指教ANT 阅读(163) 评论(0) 推荐(0) 编辑
摘要: package dubbo.wangbiao.project.ThreadAndSocket.designprinciples.lishitihuanyuanze.k0; //长方形 public class Rectangle { private long height; public long 阅读全文
posted @ 2021-04-19 22:25 余生请多指教ANT 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 代理类的两种写法: package com.wangbiao.mybetty.demo; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Pro 阅读全文
posted @ 2021-04-19 21:16 余生请多指教ANT 阅读(396) 评论(5) 推荐(0) 编辑
摘要: 出现如下错误时: Could not found property service.disableGlobalTransaction, try to use default value instead 控制台错误才会消失 file.config内容:# 通信协议 transport { # tcp 阅读全文
posted @ 2021-04-12 21:39 余生请多指教ANT 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: package com.wangbiao.config; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import com.netflix.zuul.exception.Zuu 阅读全文
posted @ 2021-04-11 17:57 余生请多指教ANT 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 配置类: package com.wangbiao.config.dynamic; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure 阅读全文
posted @ 2021-04-11 17:41 余生请多指教ANT 阅读(139) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 33 下一页