类名没有大写,....随便测一下。。。。API里有 package com.liruilong.fileserver; /** * @Description : * @Author: Liruilong * @Date: 2020/10/3 20:27 */ public class test { ...
分类:
其他好文 时间:
2020-11-11 16:09:44
阅读次数:
6
继续解答星球水友提问。===沈老师,我们有个业务,同一个用户在并发“查询,逻辑计算,扣款”的情况下,余额可能出现不一致,请问有什么优化方法么?===扣款的业务场景是怎样的?用户购买商品的过程中,要对余额进行查询与修改,大致的业务流程如下:第一步,从数据库查询用户现有余额:SELECTmoneyFROMt_yueWHEREuid=$uid;不妨设查询出来的$old_money=100元。第二步,业务
分类:
其他好文 时间:
2020-11-10 11:30:56
阅读次数:
8
<! +++ title = "Flask: 数据库" description = "" date = "2020 11 09" weight = 5 tags = [] categories = ["5 框架应用","51 web","flask"] keywords = [] +++ [TOC] ...
分类:
数据库 时间:
2020-11-10 11:03:45
阅读次数:
13
<! +++ title = "Flask: 静态文件 + " description = "" date = "2020 11 09" weight = 5 tags = [] categories = ["5 框架应用","51 web","flask"] keywords = [] +++ [ ...
分类:
其他好文 时间:
2020-11-10 11:03:28
阅读次数:
7
<! +++ title = "Flask: 渲染模板" description = "" date = "2020 11 09" weight = 5 tags = [] categories = ["5 框架应用","51 web","flask"] keywords = [] +++ "官方教 ...
分类:
其他好文 时间:
2020-11-10 11:03:11
阅读次数:
6
<! +++ title = "【入门】Flask: 基础知识" description = "" date = "2020 11 09" weight = 5 tags = [] categories = ["5 框架应用","51 web","flask"] keywords = [] +++ ...
分类:
其他好文 时间:
2020-11-10 11:02:55
阅读次数:
8
环境 SpringBoot 2.2.6.RELEASE Mybatis-Plus 3.3.1.tmp JDK 1.8 1.添加自动填充的配置 public class MybatisPlusObjectHandler implements MetaObjectHandler{ @Override p ...
分类:
Web程序 时间:
2020-11-10 10:29:50
阅读次数:
16
一:使用注解的方式 @JsonFormat注解 该注解加在实体类中的日期类型上,可以将返回的Json字符串中的时间戳转换为具体时间 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date update ...
分类:
其他好文 时间:
2020-11-10 10:28:40
阅读次数:
6
搜索和生成脚本 密码字典生存 #author :握着玫瑰的屠夫 #date :2020.10.11 #contact :QQ 2472674814 #project :creat dictionaries #130******37 import itertools as its import tim ...
分类:
编程语言 时间:
2020-11-08 17:25:48
阅读次数:
24
喇叭花(也叫牵牛花) 其每一位数字的阶乘之和恰好等于它本身,即abc = a! + b! + c!,其中,abc表示一个三位数。 /** * @ Author whimouse * @ Date 2020/11/4 19:21 * @ Version 1.0 * @ Description:牵牛花( ...
分类:
其他好文 时间:
2020-11-08 17:00:47
阅读次数:
22