12 2019 档案
摘要:[TOC] 校验字符串是否是合法的数据字段: 手机号验证 邮箱验证 密码验证
阅读全文
摘要:``` import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFWorkbook; impo
阅读全文
摘要:[TOC] list.addAll list.subList() list.indexOf() list.clear() list.equals(list2) list.isEmpty 1. 有没有瓶子 list != null 2. 瓶子里有没有水 list.isEmpty() 3. 判断的时候一
阅读全文
摘要:[TOC] int,String 转Integer(定义时) String 转Integer String、Integer转为int Integer转换为float, double, long 所有类型转String
阅读全文
摘要:[TOC] Double.valueOf(String) 和Float.valueOf(String)会丢失精度。所以开发中,如果我们需要精确计算的结果,则必须使用BigDecimal类来操作。 构造函数 1.BigDecimal(int) 创建一个具有参数所指定整数值的对象 2.BigDecima
阅读全文
摘要:[Toc] http更换为ssh git remote v git remote remove origin git remote add origin git@github.com:amycing/ying sql.git git branch set upstream to=origin/mas
阅读全文
摘要:[TOC] 查找最大数 查找总数和数量 IF语句 根据指定年月查询
阅读全文
摘要:Controller @Api(tags = " ") @RestController @RequestMapping("/ / ") @Autowired @Qualifier(" ServiceImpl") private Service Service; @ApiOperation(" ")
阅读全文
摘要:``` formatter(row, column){ let date = new Date(row.creationTime); let Y = date.getFullYear() + '-'; let M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-'; let D = date.
阅读全文
摘要:[TOC] 聚合函数(常用于group by从句的select查询中) avg(col)返回指定列的平均值 count(col)返回指定列中非null值的个数 min(col)返回指定列的最小值 max(col)返回指定列的最大值 sum(col)返回指定列的所有值之和 group_concat(c
阅读全文
摘要:wrapper介绍: AbstractWrapper: 用于查询条件封装,生成sql的where条件 AbstractLambdaWrapper: Lambda语法使用Wrapper统一处理解析lambda获取column QueryWrapper: Entity 对象封装操作类,不是用lambda
阅读全文
摘要:Math.round() round 附近 四舍五入 取附近的整数 Math.round(11.5)=12 Math.round(11.4)=11 Math.round( 11.6)= 12 Math.round( 11.4)= 11 Math.ceil() ceil 天花板 取大于当前小数的整数
阅读全文
摘要:报错 Avoid mutating a prop directly since the value will be overwritten whenever the parent component re renders. Instead, use a data or computed proper
阅读全文

浙公网安备 33010602011771号