当前位置:网站首页>Lombok使用引发的血案
Lombok使用引发的血案
2022-07-04 14:29:00 【InfoQ】
简介
问题描述
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderQueryReq {
/**
* 用户id
*/
private Long userId;
/**
* 每页条数
*/
private Integer pageSize = 1;
/**
* 课程类型
*/
private String courseType;
/**
* 订单状态
*/
private String status;
/**
* 支付时间结束
*/
private String payEndTime;
}
PageResp<OrderResp> orderPage = orderCenterAgent.getOrder(OrderQueryReq.builder()
.userId(userId).payEndTime(DateUtil.timeToString(payTime)).courseType(courseType)
.status(orderStatus).build());
原因分析
解决方法
边栏推荐
猜你喜欢
AI has surpassed Dr. CS in question making?
开源人张亮的 17 年成长路线,热爱才能坚持
Unity脚本生命周期 Day02
Kubernets pod exists finalizers are always in terminating state
Memory management summary
夜天之书 #53 Apache 开源社群的“石头汤”
Introduction to asynchronous task capability of function calculation - task trigger de duplication
Optimization method of deep learning neural network
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
Quick introduction to automatic control principle + understanding
随机推荐
Techsmith Camtasia Studio 2022.0.2屏幕录制软件
MySQL learning notes - data type (numeric type)
Guitar Pro 8win10 latest guitar learning / score / creation
PXE网络
JS tile data lookup leaf node
Redis的4种缓存模式分享
对话龙智高级咨询顾问、Atlassian认证专家叶燕秀:Atlassian产品进入后Server时代,中国用户应当何去何从?
MySQL学习笔记——数据类型(2)
03 storage system
Guitar Pro 8win10最新版吉他学习 / 打谱 / 创作
Unity预制件Prefab Day04
mysql 联合主键_Mysql 创建联合主键[通俗易懂]
%S format character
微博、虎牙挺进兴趣社区:同行不同路
重排数组
LeetCode 35. 搜索插入位置 —vector遍历(O(logn)和O(n)的写法---二分查找法)
Partial modification - progressive development
.Net 应用考虑x64生成
Width and alignment
Is BigDecimal safe to calculate the amount? Look at these five pits~~