2021年8月19日

JPA专用

摘要: 1. jpa 中的isnull替代方法:coalesce @Query(value = "select coalesce(max (matter.matterIndex),'0') from AuditMatters matter where matter.parent.id = :parentId 阅读全文

posted @ 2021-08-19 11:29 谦虚好学每一天 阅读(228) 评论(0) 推荐(0)

统一社会信用和身份证码

摘要: 统一社会信用代码:12440300695588698291430111MA4L16JQ9B12460000578729754112440300G347828872 身份证号码51010019850602001x510100198506020036510100198506020052 阅读全文

posted @ 2021-08-19 11:28 谦虚好学每一天 阅读(621) 评论(0) 推荐(0)

2021年8月14日

jpa specification 实现外连接

摘要: 见(digitalgd)一、调用Specification spec;PredicateBuilder<HonestTalk> pb = Specifications.<HonestTalk>and() .eq(StringUtils.isNotBlank(sponsorOaAccount), "s 阅读全文

posted @ 2021-08-14 11:26 谦虚好学每一天 阅读(378) 评论(0) 推荐(0)

2021年7月14日

git--切换远程仓库和切换远程分支

摘要: 一、切换远程仓库 git remote -v # 查看当前远程仓库地址git remote set-url origin <new url> # 修改远程地址为新的地址 <new url> 改为新的地址 # git remote show origin # 再次查看当前仓库远程地址 确认是否发生改变 阅读全文

posted @ 2021-07-14 16:00 谦虚好学每一天 阅读(2193) 评论(0) 推荐(0)

mvn install 安装包到本机仓库

摘要: mvn install:install-file -DgroupId=com.mt_kingbase -DartifactId=kingbase8 -Dversion=8.6.0 -Dpackaging=jar -Dfile=/d/jar/kingbase8-8.6.0.jar mvn中心库中不存在 阅读全文

posted @ 2021-07-14 15:57 谦虚好学每一天 阅读(135) 评论(0) 推荐(0)

2021年7月10日

前后端分离项目dockerfile部署

摘要: https://gitee.com/linshaoqi/docker-vhr 阅读全文

posted @ 2021-07-10 12:29 谦虚好学每一天 阅读(78) 评论(0) 推荐(0)

webstorm 和 idea 启动用dockerfile部署出现:Failed to deploy 'vhr-front Dockerfile: Dockerfile': Not connected to docker

摘要: 1. 关闭webstorm 或 idea 2. 右键单击快捷键,选择 " 管理员取得所有权" 3. 重新打开webstorm 或 idea 即可。 阅读全文

posted @ 2021-07-10 09:59 谦虚好学每一天 阅读(7251) 评论(0) 推荐(0)

2021年7月3日

Rxjs ForkJoin的使用

摘要: const type$ = this.dictionaryService.findByCode('PUNISHMENT_TYPE');const category$ = this.dictionaryService.findByCode('PUNISHED_CATEGORY');const all$ 阅读全文

posted @ 2021-07-03 13:59 谦虚好学每一天 阅读(534) 评论(0) 推荐(0)

2021年6月26日

rxjs switchmap 应用案例

摘要: loadTree() { this.auditItemTypeService .findAllTree() .pipe( switchMap((result: Array<TreeDto>) => { this.nodes = result; if (result && result.length) 阅读全文

posted @ 2021-06-26 15:27 谦虚好学每一天 阅读(250) 评论(0) 推荐(0)

2021年6月17日

跨域相关

摘要: 1.跨域 host origin referer Host:表示当前请求要被发送的目的地,说白了就是当前请求目标资源的host,仅包括域名和端口号,如test.haoji.me。在任何类型请求中,request都会包含此header信息。 Origin:表示当前请求资源所在页面的协议和域名,如htt 阅读全文

posted @ 2021-06-17 14:22 谦虚好学每一天 阅读(67) 评论(0) 推荐(0)

导航