2020年11月26日

配置前后端CD/CI

摘要: CD/CI1.前端:package.json"build": "" //正式环境"build-qa":"" //qa环境 .gitlab-ci.yml //正式环境和qa环境需要写不同的脚本script:将编译后的包在不同环境拷到不同的目录only: - master 或 - master-qa / 阅读全文

posted @ 2020-11-26 10:48 谦虚好学每一天 阅读(240) 评论(0) 推荐(0)

2020年11月25日

springboot maven 打包命令

摘要: mvn clean package -Dmaven.test.skip=true -e 阅读全文

posted @ 2020-11-25 21:11 谦虚好学每一天 阅读(258) 评论(0) 推荐(0)

2020年11月23日

谷歌访问助手

摘要: 具体代码见本人github. 按照代码安装后,即可使用谷歌网上应用店。 阅读全文

posted @ 2020-11-23 22:52 谦虚好学每一天 阅读(1) 评论(0) 推荐(0)

2020年11月9日

后台返回字节流,前端在页面显示(如pdf/svg/img)

摘要: 摘自:https://blog.csdn.net/sinat_39648402/article/details/105664037 Axios({ methods: 'GET', url: ‘url’, responseType: 'blob'//这里意思是接收返回文件格式 }).then(res 阅读全文

posted @ 2020-11-09 07:45 谦虚好学每一天 阅读(2096) 评论(0) 推荐(0)

2020年11月3日

angular lint 长度超过140的处理方法 和 禁止 箭头函数处理方法

摘要: 在该行代码上面加上: // tslint:disable-next-line:max-line-length 允许使用箭头函数 // tslint:disable-next-line: only-arrow-functions 阅读全文

posted @ 2020-11-03 20:42 谦虚好学每一天 阅读(172) 评论(0) 推荐(0)

2020年10月19日

jpa动态sql且分页

摘要: 1.HQL@Query("select p.projectMaterial from ProjectMaterialAuthority p where (:projectId is null or p.project.id = :projectId) and (:typeId is null or 阅读全文

posted @ 2020-10-19 14:16 谦虚好学每一天 阅读(388) 评论(0) 推荐(0)

2020年9月25日

jpa 多条件组合查询

摘要: PredicateBuilder<Project> builder = Specifications.<Project>and() .eq(StringUtils.isNotBlank(year), "year", year) .like(StringUtils.isNotBlank(project 阅读全文

posted @ 2020-09-25 09:15 谦虚好学每一天 阅读(472) 评论(0) 推荐(0)

2020年9月20日

jpa 多对多关联关系 -- 两方主控

摘要: 1. user @Getter@Setter@Entity@Table(name = "t_user")@NoArgsConstructorpublic class User { @Id private Long id; private String username; public User(Lo 阅读全文

posted @ 2020-09-20 15:42 谦虚好学每一天 阅读(201) 评论(0) 推荐(0)

jpa 多对多关联关系 -- 一方主控

摘要: 1. user 主控方 @Getter@Setter@Entity@Table(name = "t_user")@NoArgsConstructorpublic class User { @Id private Long id; private String username; public Use 阅读全文

posted @ 2020-09-20 15:03 谦虚好学每一天 阅读(266) 评论(0) 推荐(0)

2020年6月4日

在centos7minal安装docker并应用nginx容器

摘要: 1.设置IP地址cd /etc/sysconfig/network-scriptsvi ifcfg-ens32 ONBOOT = yes BOOTPROTO=static IPADDR=192.168.172.89 NETMASK=255.255.255.0 GATEWAY=192.168.172. 阅读全文

posted @ 2020-06-04 00:25 谦虚好学每一天 阅读(105) 评论(0) 推荐(0)

导航