李雨欣 8.29 14:30 测试查询接口
parent
24d35f5a71
commit
081fc94cde
|
@ -14,7 +14,6 @@ import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.experimental.SuperBuilder;
|
import lombok.experimental.SuperBuilder;
|
||||||
import org.w3c.dom.Text;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -59,6 +58,11 @@ public class Product extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@Excel(name = "商品状态(1: 在售, 0: 下架)")
|
@Excel(name = "商品状态(1: 在售, 0: 下架)")
|
||||||
private String status;
|
private String status;
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
@Excel(name = "类型")
|
||||||
|
private String type;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@ -71,10 +75,27 @@ public class Product extends BaseEntity {
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 接口地址
|
||||||
|
*/
|
||||||
|
@Excel(name = "接口地址")
|
||||||
|
private String apiAddr;
|
||||||
|
/**
|
||||||
|
* 请求方式
|
||||||
|
*/
|
||||||
|
@Excel(name = "请求方式")
|
||||||
|
private String apiMoth;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private String createBy;
|
private String createBy;
|
||||||
private String updateBy;
|
private String updateBy;
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static Product SaveProductList(ProductSaveReq productSave){
|
public static Product SaveProductList(ProductSaveReq productSave){
|
||||||
|
|
||||||
return Product
|
return Product
|
||||||
|
|
|
@ -48,6 +48,11 @@ public class ProductListReq {
|
||||||
*/
|
*/
|
||||||
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
||||||
private String status;
|
private String status;
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型",defaultValue = "",type = "String")
|
||||||
|
private String type;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@ -60,6 +65,16 @@ public class ProductListReq {
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 接口地址
|
||||||
|
*/
|
||||||
|
@Schema(description = "接口地址",defaultValue = "",type = "String")
|
||||||
|
private String apiAddr;
|
||||||
|
/**
|
||||||
|
* 请求方式
|
||||||
|
*/
|
||||||
|
@Schema(description = "请求方式",defaultValue = "",type = "String")
|
||||||
|
private String apiMoth;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,11 @@ public class ProductSaveReq {
|
||||||
*/
|
*/
|
||||||
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
||||||
private String status;
|
private String status;
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型",defaultValue = "",type = "String")
|
||||||
|
private String type;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@ -55,6 +60,16 @@ public class ProductSaveReq {
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 接口地址
|
||||||
|
*/
|
||||||
|
@Schema(description = "接口地址",defaultValue = "",type = "String")
|
||||||
|
private String apiAddr;
|
||||||
|
/**
|
||||||
|
* 请求方式
|
||||||
|
*/
|
||||||
|
@Schema(description = "请求方式",defaultValue = "",type = "String")
|
||||||
|
private String apiMoth;
|
||||||
|
|
||||||
|
|
||||||
private BigDecimal begin;
|
private BigDecimal begin;
|
||||||
|
|
|
@ -48,6 +48,11 @@ public class ProductUpdReq {
|
||||||
*/
|
*/
|
||||||
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
||||||
private String status;
|
private String status;
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型",defaultValue = "",type = "String")
|
||||||
|
private String type;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@ -60,6 +65,16 @@ public class ProductUpdReq {
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 接口地址
|
||||||
|
*/
|
||||||
|
@Schema(description = "接口地址",defaultValue = "",type = "String")
|
||||||
|
private String apiAddr;
|
||||||
|
/**
|
||||||
|
* 请求方式
|
||||||
|
*/
|
||||||
|
@Schema(description = "请求方式",defaultValue = "",type = "String")
|
||||||
|
private String apiMoth;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,11 @@ public class ProductListResp {
|
||||||
*/
|
*/
|
||||||
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
@Schema(description = "商品状态:同数据字典",defaultValue = "Y",type = "String")
|
||||||
private String status;
|
private String status;
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型",defaultValue = "",type = "String")
|
||||||
|
private String type;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@ -61,7 +66,16 @@ public class ProductListResp {
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 接口地址
|
||||||
|
*/
|
||||||
|
@Schema(description = "接口地址",defaultValue = "",type = "String")
|
||||||
|
private String apiAddr;
|
||||||
|
/**
|
||||||
|
* 请求方式
|
||||||
|
*/
|
||||||
|
@Schema(description = "请求方式",defaultValue = "",type = "String")
|
||||||
|
private String apiMoth;
|
||||||
|
|
||||||
private BigDecimal begin;
|
private BigDecimal begin;
|
||||||
private BigDecimal end;
|
private BigDecimal end;
|
||||||
|
|
|
@ -44,6 +44,11 @@ public class ProductSaveResp {
|
||||||
*/
|
*/
|
||||||
@Schema(description = "同数据字典",defaultValue = "Y",type = "String")
|
@Schema(description = "同数据字典",defaultValue = "Y",type = "String")
|
||||||
private String status;
|
private String status;
|
||||||
|
/**
|
||||||
|
* 类型
|
||||||
|
*/
|
||||||
|
@Schema(description = "类型",defaultValue = "",type = "String")
|
||||||
|
private String type;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
@ -56,10 +61,16 @@ public class ProductSaveResp {
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
@Schema(description = "更新时间",defaultValue = "2024-5-15 10:00:52",type = "Date")
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 接口地址
|
||||||
|
*/
|
||||||
|
@Schema(description = "接口地址",defaultValue = "",type = "String")
|
||||||
|
private String apiAddr;
|
||||||
|
/**
|
||||||
|
* 请求方式
|
||||||
|
*/
|
||||||
|
@Schema(description = "请求方式",defaultValue = "",type = "String")
|
||||||
|
private String apiMoth;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue