🔨 查询字段.
This commit is contained in:
@@ -29,6 +29,7 @@ import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 字典配置项 视图响应对象
|
||||
@@ -61,4 +62,16 @@ public class DictKeyVO implements Serializable {
|
||||
@Schema(description = "配置描述")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
private Date updateTime;
|
||||
|
||||
@Schema(description = "创建人")
|
||||
private String creator;
|
||||
|
||||
@Schema(description = "修改人")
|
||||
private String updater;
|
||||
|
||||
}
|
||||
|
||||
@@ -68,12 +68,12 @@ public class HistoryValueServiceImpl implements HistoryValueService {
|
||||
@Override
|
||||
public DataGrid<HistoryValueVO> getHistoryValuePage(HistoryValueQueryRequest request) {
|
||||
// 条件
|
||||
LambdaQueryWrapper<HistoryValueDO> wrapper = this.buildQueryWrapper(request);
|
||||
LambdaQueryWrapper<HistoryValueDO> wrapper = this.buildQueryWrapper(request)
|
||||
.orderByDesc(HistoryValueDO::getId);
|
||||
// 查询
|
||||
return historyValueDAO.of()
|
||||
.wrapper(wrapper)
|
||||
.page(request)
|
||||
.order(request, HistoryValueDO::getId)
|
||||
.dataGrid(HistoryValueConvert.MAPPER::to);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user