数据库版本表t_version包含的字段: 用户创建config,在一个config下创建多个版本。 在创建版本时,versionId字段要在该config下上一个版本ID的基础上自动加1. 在创建版本时,使用@Transaction注解设置数据库事务。 获取当前config的最大版本号 此时存在的 ...
分类:
数据库 时间:
2020-04-03 21:34:27
阅读次数:
87
1: lnmp1.6 一键安装过程见 https://lnmp.org/install.html 安装步骤 注意 选择mysql 5.7 和php 版本7.2 2:lnmp 环境在这里安装成功。测试自己的环境正常往下操作 3:查看 composer 是否安装成功 composer --version ...
分类:
其他好文 时间:
2020-04-03 18:02:09
阅读次数:
105
jenkins 中文设置/中文插件_运维_cbuy888的博客 CSDN博客 https://blog.csdn.net/cbuy888/article/details/89873892 How to Upgrade Jenkins to New Version and Update Plugins ...
分类:
其他好文 时间:
2020-04-03 16:38:06
阅读次数:
77
基本定义 装饰者模式属于 结构型模式 ,它可以 动态的 将新功能 附加到对象上 ,同时又 不改变其结构 。在对象功能扩展方面,它比继承更有弹性,装饰者模式也体现了开闭原则(OCP)。 模式结构 装饰者和被装饰者有 相同的超类型 ,因为装饰者和被装饰者必须是一样的类型, 利用继承是为了达到类型的匹配, ...
分类:
其他好文 时间:
2020-04-03 16:37:14
阅读次数:
57
leetcode 53. Maximum Subarray 链接 "leetcode" 描述 Given an integer array nums, find the contiguous subarray (containing at least one number) which has th ...
分类:
其他好文 时间:
2020-04-03 16:25:10
阅读次数:
60
题目: 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/find-numbers-with-even-number-of-digits 给你一个整数数组 nums,请你返回其中位数为 偶数 的数字的个数。 示例 1: 输入:nums = [12, ...
分类:
其他好文 时间:
2020-04-03 15:13:15
阅读次数:
92
import logginglogging.basicConfig(level=logging.INFO)'''def check_number_exist(password_str): has_number = False for c in password_str: if c.isnumber( ...
分类:
编程语言 时间:
2020-04-03 13:40:45
阅读次数:
73
var xmlhttp;xmlhttp=new XMLHttpRequest();xmlhttp.open("GET",userUrl2 + 'user/getQrCode'+accessToken+"&name="+item.name+"&phone="+item.phoneNumber+"&co ...
分类:
其他好文 时间:
2020-04-03 12:28:54
阅读次数:
557
<!-- https://mvnrepository.com/artifact/dom4j/dom4j --> <dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> ...
分类:
其他好文 时间:
2020-04-03 12:27:23
阅读次数:
94
web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLS ...
分类:
其他好文 时间:
2020-04-03 12:22:19
阅读次数:
61