From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/dto/jd/JDFilter.java | 431 +++++++++++++++++++++++++++-------------------------- 1 files changed, 219 insertions(+), 212 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dto/jd/JDFilter.java b/fanli/src/main/java/com/yeshi/fanli/dto/jd/JDFilter.java index 0d621e7..1aee50a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dto/jd/JDFilter.java +++ b/fanli/src/main/java/com/yeshi/fanli/dto/jd/JDFilter.java @@ -1,212 +1,219 @@ -package com.yeshi.fanli.dto.jd; - -import java.util.List; - -public class JDFilter { - - // 浣i噾 - public final static String SORTNAME_COMMISSION = "commission"; - // 浣i噾姣斾緥 - public final static String SORTNAME_COMMISSION_SHARE = "commissionShare"; - // 浠锋牸 - public final static String SORTNAME_PRICE = "price"; - // 30澶╁紩鍏ヨ鍗曟暟閲� - public final static String SORTNAME_ORDER_COUNT_30DAYS = "inOrderCount30Days"; - // 30澶╂敮鍑轰剑閲� - public final static String SORTNAME_ORDER_COMM_30DAYS = "inOrderComm30Days"; - - // 鎺掑簭鏂瑰紡 - public final static String SORT_ASC = "asc"; - public final static String SORT_DESC = "desc"; - - private int pageIndex;// 椤电爜 - private int pageSize;// 姣忛〉鐨勬暟閲� 姣忛〉鏁伴噺锛屽崟椤垫暟鏈�澶�30锛岄粯璁�20 - private Long cid1; // 涓�绾х被鐩甶d - private Long cid2; // 浜岀骇绫荤洰id - private Long cid3; // 涓夌骇绫荤洰id - private String keyword; // 鍏抽敭瀛� - private String owner; // 鍟嗗搧绫诲瀷锛氳嚜钀g]锛孭OP[p] - private Integer isCoupon; // 鏄惁鏄紭鎯犲埜鍟嗗搧锛�1锛氭湁浼樻儬鍒革紝0锛氭棤浼樻儬鍒� - private List<Long> listId; // skuid闆嗗悎(涓�娆℃渶澶氭敮鎸佹煡璇�100涓猻ku)锛屾暟缁勭被鍨嬪紑鍙戞椂璁板緱鍔燵] - private Double pricefrom; // 鍟嗗搧浠锋牸涓嬮檺 - private Double priceto; // 鍟嗗搧浠锋牸涓婇檺 - private Integer commissionShareStart; // 浣i噾姣斾緥鍖洪棿寮�濮� - private Integer commissionShareEnd;// 浣i噾姣斾緥鍖洪棿缁撴潫 - private Integer shopId;// 搴楅摵ID - private String brandCode;// 鍝佺墝code:7998 - private Integer isHot;// 鏄惁鏄垎娆撅紝1锛氱垎娆惧晢鍝侊紝0锛氶潪鐖嗘鍟嗗搧 - private Integer isPG; // 鏄惁鏄嫾璐晢鍝侊紝1锛氭嫾璐晢鍝侊紝0锛氶潪鎷艰喘鍟嗗搧 - private Double pingouPriceEnd; // 鎷艰喘浠锋牸鍖洪棿缁撴潫 - private Double pingouPriceStart; // 鎷艰喘浠锋牸鍖洪棿寮�濮� - private String sort; // 鎺掑簭鏂瑰紡 锛� 鍊掑簭desc 姝e簭asc(浠呴檺浠锋牸) - private String sortName; // 鎺掑簭鍚嶇О - - public int getPageIndex() { - return pageIndex; - } - - public void setPageIndex(int pageIndex) { - this.pageIndex = pageIndex; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public Long getCid1() { - return cid1; - } - - public void setCid1(Long cid1) { - this.cid1 = cid1; - } - - public Long getCid2() { - return cid2; - } - - public void setCid2(Long cid2) { - this.cid2 = cid2; - } - - public Long getCid3() { - return cid3; - } - - public void setCid3(Long cid3) { - this.cid3 = cid3; - } - - public String getKeyword() { - return keyword; - } - - public void setKeyword(String keyword) { - this.keyword = keyword; - } - - public String getOwner() { - return owner; - } - - public void setOwner(String owner) { - this.owner = owner; - } - - public Integer getIsCoupon() { - return isCoupon; - } - - public void setIsCoupon(Integer isCoupon) { - this.isCoupon = isCoupon; - } - - public List<Long> getListId() { - return listId; - } - - public void setListId(List<Long> listId) { - this.listId = listId; - } - - public Double getPricefrom() { - return pricefrom; - } - - public void setPricefrom(Double pricefrom) { - this.pricefrom = pricefrom; - } - - public Double getPriceto() { - return priceto; - } - - public void setPriceto(Double priceto) { - this.priceto = priceto; - } - - public Integer getCommissionShareStart() { - return commissionShareStart; - } - - public void setCommissionShareStart(Integer commissionShareStart) { - this.commissionShareStart = commissionShareStart; - } - - public Integer getCommissionShareEnd() { - return commissionShareEnd; - } - - public void setCommissionShareEnd(Integer commissionShareEnd) { - this.commissionShareEnd = commissionShareEnd; - } - - public Integer getShopId() { - return shopId; - } - - public void setShopId(Integer shopId) { - this.shopId = shopId; - } - - public String getBrandCode() { - return brandCode; - } - - public void setBrandCode(String brandCode) { - this.brandCode = brandCode; - } - - public Integer getIsHot() { - return isHot; - } - - public void setIsHot(Integer isHot) { - this.isHot = isHot; - } - - public Integer getIsPG() { - return isPG; - } - - public void setIsPG(Integer isPG) { - this.isPG = isPG; - } - - public Double getPingouPriceEnd() { - return pingouPriceEnd; - } - - public void setPingouPriceEnd(Double pingouPriceEnd) { - this.pingouPriceEnd = pingouPriceEnd; - } - - public Double getPingouPriceStart() { - return pingouPriceStart; - } - - public void setPingouPriceStart(Double pingouPriceStart) { - this.pingouPriceStart = pingouPriceStart; - } - - public String getSort() { - return sort; - } - - public void setSort(String sort) { - this.sort = sort; - } - - public String getSortName() { - return sortName; - } - - public void setSortName(String sortName) { - this.sortName = sortName; - } - -} +package com.yeshi.fanli.dto.jd; + +import java.io.Serializable; +import java.util.List; + +public class JDFilter implements Serializable{ + + /** + * + */ + private static final long serialVersionUID = 1L; + + + // 浣i噾 + public final static String SORTNAME_COMMISSION = "commission"; + // 浣i噾姣斾緥 + public final static String SORTNAME_COMMISSION_SHARE = "commissionShare"; + // 浠锋牸 + public final static String SORTNAME_PRICE = "price"; + // 30澶╁紩鍏ヨ鍗曟暟閲� + public final static String SORTNAME_ORDER_COUNT_30DAYS = "inOrderCount30Days"; + // 30澶╂敮鍑轰剑閲� + public final static String SORTNAME_ORDER_COMM_30DAYS = "inOrderComm30Days"; + + // 鎺掑簭鏂瑰紡 + public final static String SORT_ASC = "asc"; + public final static String SORT_DESC = "desc"; + + private int pageIndex;// 椤电爜 + private int pageSize;// 姣忛〉鐨勬暟閲� 姣忛〉鏁伴噺锛屽崟椤垫暟鏈�澶�30锛岄粯璁�20 + private Long cid1; // 涓�绾х被鐩甶d + private Long cid2; // 浜岀骇绫荤洰id + private Long cid3; // 涓夌骇绫荤洰id + private String keyword; // 鍏抽敭瀛� + private String owner; // 鍟嗗搧绫诲瀷锛氳嚜钀g]锛孭OP[p] + private Integer isCoupon; // 鏄惁鏄紭鎯犲埜鍟嗗搧锛�1锛氭湁浼樻儬鍒革紝0锛氭棤浼樻儬鍒� + private List<String> listItemId; // skuid闆嗗悎(涓�娆℃渶澶氭敮鎸佹煡璇�100涓猻ku)锛屾暟缁勭被鍨嬪紑鍙戞椂璁板緱鍔燵] + private Double pricefrom; // 鍟嗗搧浠锋牸涓嬮檺 + private Double priceto; // 鍟嗗搧浠锋牸涓婇檺 + private Integer commissionShareStart; // 浣i噾姣斾緥鍖洪棿寮�濮� + private Integer commissionShareEnd;// 浣i噾姣斾緥鍖洪棿缁撴潫 + private Integer shopId;// 搴楅摵ID + private String brandCode;// 鍝佺墝code:7998 + private Integer isHot;// 鏄惁鏄垎娆撅紝1锛氱垎娆惧晢鍝侊紝0锛氶潪鐖嗘鍟嗗搧 + private Integer isPG; // 鏄惁鏄嫾璐晢鍝侊紝1锛氭嫾璐晢鍝侊紝0锛氶潪鎷艰喘鍟嗗搧 + private Double pingouPriceEnd; // 鎷艰喘浠锋牸鍖洪棿缁撴潫 + private Double pingouPriceStart; // 鎷艰喘浠锋牸鍖洪棿寮�濮� + private String sort; // 鎺掑簭鏂瑰紡 锛� 鍊掑簭desc 姝e簭asc(浠呴檺浠锋牸) + private String sortName; // 鎺掑簭鍚嶇О + + public int getPageIndex() { + return pageIndex; + } + + public void setPageIndex(int pageIndex) { + this.pageIndex = pageIndex; + } + + public int getPageSize() { + return pageSize; + } + + public void setPageSize(int pageSize) { + this.pageSize = pageSize; + } + + public Long getCid1() { + return cid1; + } + + public void setCid1(Long cid1) { + this.cid1 = cid1; + } + + public Long getCid2() { + return cid2; + } + + public void setCid2(Long cid2) { + this.cid2 = cid2; + } + + public Long getCid3() { + return cid3; + } + + public void setCid3(Long cid3) { + this.cid3 = cid3; + } + + public String getKeyword() { + return keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + + public String getOwner() { + return owner; + } + + public void setOwner(String owner) { + this.owner = owner; + } + + public Integer getIsCoupon() { + return isCoupon; + } + + public void setIsCoupon(Integer isCoupon) { + this.isCoupon = isCoupon; + } + + public List<String> getListItemId() { + return listItemId; + } + + public void setListItemId(List<String> listItemId) { + this.listItemId = listItemId; + } + + public Double getPricefrom() { + return pricefrom; + } + + public void setPricefrom(Double pricefrom) { + this.pricefrom = pricefrom; + } + + public Double getPriceto() { + return priceto; + } + + public void setPriceto(Double priceto) { + this.priceto = priceto; + } + + public Integer getCommissionShareStart() { + return commissionShareStart; + } + + public void setCommissionShareStart(Integer commissionShareStart) { + this.commissionShareStart = commissionShareStart; + } + + public Integer getCommissionShareEnd() { + return commissionShareEnd; + } + + public void setCommissionShareEnd(Integer commissionShareEnd) { + this.commissionShareEnd = commissionShareEnd; + } + + public Integer getShopId() { + return shopId; + } + + public void setShopId(Integer shopId) { + this.shopId = shopId; + } + + public String getBrandCode() { + return brandCode; + } + + public void setBrandCode(String brandCode) { + this.brandCode = brandCode; + } + + public Integer getIsHot() { + return isHot; + } + + public void setIsHot(Integer isHot) { + this.isHot = isHot; + } + + public Integer getIsPG() { + return isPG; + } + + public void setIsPG(Integer isPG) { + this.isPG = isPG; + } + + public Double getPingouPriceEnd() { + return pingouPriceEnd; + } + + public void setPingouPriceEnd(Double pingouPriceEnd) { + this.pingouPriceEnd = pingouPriceEnd; + } + + public Double getPingouPriceStart() { + return pingouPriceStart; + } + + public void setPingouPriceStart(Double pingouPriceStart) { + this.pingouPriceStart = pingouPriceStart; + } + + public String getSort() { + return sort; + } + + public void setSort(String sort) { + this.sort = sort; + } + + public String getSortName() { + return sortName; + } + + public void setSortName(String sortName) { + this.sortName = sortName; + } + +} -- Gitblit v1.8.0