上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: 只列出order子句order by s.pay_amount DESC,t.status asc,t.lmt desc作用是第一按照s.pay_amount 降序排第二 按照 t.status 升序排第三 按照 t.lmt 降序排当有空值时ORDER BY COALESCE(o.reference 阅读全文
posted @ 2022-12-27 16:33 了悟 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1.先说需求 是微信公众号要做 微信支付 之前没有做过的话,需要让公司财务去申请微信商户号 去微信支付官网 pay.weixin.qq.com 需要拿到的参数: public static String WX_GX_APP_ID = "xxx"; //APPID public static Stri 阅读全文
posted @ 2022-12-08 17:59 了悟 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: 8核 16G内存的配置 在中小企业基本不会出现内存泄漏,但是面试 https://blog.csdn.net/u013773608/article/details/126044448 阅读全文
posted @ 2022-12-07 17:46 了悟 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1.这个对号点掉 2. 如果还是不行,加一步这个,一般不需要 setting-->Editor-->Code Style中红色圈出来的地方会有个黄色感叹号,把感叹号点掉,格式问题完美解决~(ps:我的idea用的时2021版,此处我的黄色感叹号已点掉,所以没显示了) 3.idea 格式化 快捷键 C 阅读全文
posted @ 2022-11-30 15:56 了悟 阅读(6935) 评论(0) 推荐(2) 编辑
摘要: 1.首先选中一列 2.点击数据,数据验证 3.点击允许,选择序列 来源是下拉值,用英文逗号隔开 阅读全文
posted @ 2022-11-16 11:14 了悟 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 1.@NotNull(message = "有效期不能为空") <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId></dependency> 2.@JsonFormat(pa 阅读全文
posted @ 2022-10-24 16:50 了悟 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 一般是html的转义,xml也适用 但是在写sql时,xml文件中会出现。转义方法public static String htmlReplace(String str){ str = str.replace("“","&ldquo;"); str = str.replace("”","&rdquo 阅读全文
posted @ 2022-10-19 11:27 了悟 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 时间差函数:TIMESTAMPDIFF MySQL 语法: TIMESTAMPDIFF (unit,begin,end) begin和end可以为DATE或DATETIME类型,并且可允许参数为混合类型。 unit参数是确定(end-begin)时间差的单位,单位值如下表 单位 MySQL(UNIT 阅读全文
posted @ 2022-10-19 11:19 了悟 阅读(833) 评论(0) 推荐(0) 编辑
摘要: downloadByBlob(url,name) { let image = new Image() image.setAttribute('crossOrigin', 'anonymous') image.src = url image.onload = () => { let canvas = 阅读全文
posted @ 2022-10-18 16:09 了悟 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 1.使用List.toArray将List<String>专为String[]; 2.再用StringUtils.join使用join(Object[] array, String separator)专为String 代码 :StringUtils.join(list.toArray(), "," 阅读全文
posted @ 2022-10-11 13:53 了悟 阅读(1304) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页