mirror of https://github.com/jeecgboot/jeecg-boot
Bugfix: nullify optional parameters when retrieving SKUs from Mabang
parent
31ed1821d4
commit
92b310f4d0
|
@ -15,22 +15,22 @@ public class SkuListRequestBody implements RequestBody {
|
||||||
|
|
||||||
private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
private static final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
private String stockSku = "";
|
private String stockSku = null;
|
||||||
// 50 skus max
|
// 50 skus max
|
||||||
private String stockSkuList = "";
|
private String stockSkuList = null;
|
||||||
private DateType datetimeType;
|
private DateType datetimeType;
|
||||||
private LocalDateTime startDate;
|
private LocalDateTime startDate;
|
||||||
private LocalDateTime endDate;
|
private LocalDateTime endDate;
|
||||||
private Integer page = 1;
|
private Integer page = 1;
|
||||||
private Integer total;
|
private Integer total;
|
||||||
private String cursor = "";
|
private String cursor = "1";
|
||||||
private Integer maxRows = 10;
|
private Integer maxRows = null;
|
||||||
private Integer showVirtualSku = 0;
|
private Integer showVirtualSku = null;
|
||||||
private Integer showProvider = 0;
|
private Integer showProvider = null;
|
||||||
private Integer showWarehouse = 0;
|
private Integer showWarehouse = null;
|
||||||
private Integer showLabel = 0;
|
private Integer showLabel = null;
|
||||||
private Integer showAttributes = 0;
|
private Integer showAttributes = null;
|
||||||
private Integer showMachining = 0;
|
private Integer showMachining = null;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String api() {
|
public String api() {
|
||||||
|
|
Loading…
Reference in New Issue