From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 16 十月 2024 14:28:37 +0800 Subject: [PATCH] 将CMQ替换为rabbitmq --- fanli/src/main/java/com/yeshi/fanli/entity/bus/lable/BoutiqueAutoRule.java | 1108 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 557 insertions(+), 551 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/lable/BoutiqueAutoRule.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/lable/BoutiqueAutoRule.java index 2ea870c..0569a5a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/lable/BoutiqueAutoRule.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/lable/BoutiqueAutoRule.java @@ -1,551 +1,557 @@ -package com.yeshi.fanli.entity.bus.lable; - - -import java.util.Date; - -import org.springframework.format.annotation.DateTimeFormat; -import org.yeshi.utils.mybatis.Column; -import org.yeshi.utils.mybatis.Table; - -import com.yeshi.fanli.entity.common.AdminUser; - - -/** - * 绮鹃�夊簱鍟嗗搧鍏ュ簱瑙勫垯 - * - * @author yj - * - * @date 2018骞�8鏈�2鏃� - */ -@Table("yeshi_ec_boutique_auto_rule") -public class BoutiqueAutoRule { - - // 娣樺疂鐗╂枡API - public final static int TB_OPTIONAL = 1; - // 娣樺疂瀹樻柟鎺ㄨ崘 - public final static int TB_MATERIAL = 2; - - // 浜笢 - public final static int JD = 8; - // 鎷煎澶� - public final static int PDD = 9; - - - - @Column(name = "sr_id") - private Long id; - - @Column(name = "sr_source") - private Integer source; // 鏉ユ簮 - - @Column(name = "sr_title") - private String title; // 浠诲姟鍚嶇О - - @Column(name = "sr_search_content") - private String searchContent; // 浠诲姟鍐呭 - - @Column(name = "sr_class_name") - private String className; // 涓荤被鐩� - - @Column(name = "sr_subclass_name") - private String subclassName; // 瀛愮被鐩� - - @Column(name = "sr_execute_day") - private String executeDay; // 鎵ц鐩搁殧澶╂暟 - - @Column(name = "sr_execute_time") - private String executeTime; // 鎵ц鏃堕棿 - - @Column(name = "sr_cron_time") - private String cronTime; // cron鎵ц鏃堕棿 - - @Column(name = "sr_state") - private Integer state; // 鐘舵�侊細1鍚敤 0鍋滅敤 - - @Column(name = "sr_start_time") - @DateTimeFormat(pattern = "yyyy-MM-dd") - private Date startTime; // 鐢熸晥鏃堕棿 - - @Column(name = "sr_end_time") - @DateTimeFormat(pattern = "yyyy-MM-dd") - private Date endTime; // 澶辨晥鏃堕棿 - - @Column(name = "sr_createtime") - private Date createtime; // 鍒涘缓鏃堕棿 - - @Column(name = "sr_updatetime") - private Date updatetime; // 鏇存柊鏃堕棿锛堜慨鏀规椂闂达級 - - - - private String key; // 鎼滅储鍏抽敭璇� - private String cateIds; // 瀹樻柟鎺ㄨ崘鍟嗗搧搴撴姇鏀綢D;娣樺疂绫荤洰id闆嗗悎 - private Integer startSales; // 閿�閲忓皬鍊� - private Integer endSales; // 閿�閲忓ぇ鍊� - - private Double startZkPrice; // 鍦ㄥ敭浠疯寖鍥村皬鍊� - private Double endZkPrice; // 鍦ㄥ敭浠疯寖鍥村ぇ鍊� - - private Double startPrice; // 鍒稿悗浠疯寖鍥村皬鍊� - private Double endPrice; // 鍒稿悗浠疯寖鍥村ぇ鍊� - private Double startTkRate; // 浣i噾鑼冨洿灏忓�� - private Double endTkRate; // 浣i噾鑼冨洿澶у�� - - private Integer isTmall; // 鏄惁澶╃尗 - private Integer hasCoupon; // 鏄惁鏈夊埜锛�1 鏈� 0 鏃� - private Integer freeShipment; // 鏄惁鍖呴偖锛�1 鏈� 0 鏃� - private Integer needPrepay; // 鏄惁娑堣垂淇濋殰锛�1鏈� 0 鏃� - private Integer npxLevel; // 鐗涚毊鐧g▼搴︼紝鍙栧�硷細1:涓嶉檺锛�2:鏃狅紝3:杞诲井 - private Integer includePayRate30; // 鎴愪氦杞寲鏄惁楂樹簬琛屼笟鍧囧�� 1 鏈� 0 鏃� - private Integer includeGoodRate; // 濂借瘎鐜囨槸鍚﹂珮浜庤涓氬潎鍊� 1 鏈� 0 鏃� - private Integer includeRfdRate; // 閫�娆剧巼鏄惁浣庝簬琛屼笟鍧囧�� 1 鏈� 0 鏃� - - private String lableNames; // 鏍囩鍚嶇О锛氱┖鏍奸殧寮� - - private String classNameChinese; // 娣樺疂绫荤洰鍚嶇О - - private Integer maxPage; // 璇锋眰鏈�澶ч〉鏁� - - private int goodsSource; // 鏉冮噸缁撴潫 - private String sourceCalss; // 鍏蜂綋鏉ユ簮 - private String systemCid;// 绯荤粺鍒嗙被id - private boolean calss9k9; // 鏄惁9k9绫荤洰 - private boolean flashSale; // 鏄惁鍔犲叆闄愭椂鎶㈣喘 - private int startWeight; // 鏉冮噸璧峰 - private int endWeight; // 鏉冮噸缁撴潫 - private AdminUser adminUser; - - - - public Long getId() { - return id; - } - - - public void setId(Long id) { - this.id = id; - } - - - public Integer getSource() { - return source; - } - - - public void setSource(Integer source) { - this.source = source; - } - - - public String getTitle() { - return title; - } - - - public void setTitle(String title) { - this.title = title; - } - - - public String getSearchContent() { - return searchContent; - } - - - public void setSearchContent(String searchContent) { - this.searchContent = searchContent; - } - - - public String getClassName() { - return className; - } - - - public void setClassName(String className) { - this.className = className; - } - - - public String getSubclassName() { - return subclassName; - } - - - public void setSubclassName(String subclassName) { - this.subclassName = subclassName; - } - - - public String getExecuteDay() { - return executeDay; - } - - - public void setExecuteDay(String executeDay) { - this.executeDay = executeDay; - } - - - public String getExecuteTime() { - return executeTime; - } - - - public void setExecuteTime(String executeTime) { - this.executeTime = executeTime; - } - - - public String getCronTime() { - return cronTime; - } - - - public void setCronTime(String cronTime) { - this.cronTime = cronTime; - } - - - public Date getStartTime() { - return startTime; - } - - - public void setStartTime(Date startTime) { - this.startTime = startTime; - } - - - public Date getEndTime() { - return endTime; - } - - - public void setEndTime(Date endTime) { - this.endTime = endTime; - } - - - public Integer getState() { - return state; - } - - - public void setState(Integer state) { - this.state = state; - } - - - public Date getCreatetime() { - return createtime; - } - - - public void setCreatetime(Date createtime) { - this.createtime = createtime; - } - - - public Date getUpdatetime() { - return updatetime; - } - - - public void setUpdatetime(Date updatetime) { - this.updatetime = updatetime; - } - - - public String getCateIds() { - return cateIds; - } - - - public void setCateIds(String cateIds) { - this.cateIds = cateIds; - } - - - public Integer getStartSales() { - return startSales; - } - - - public void setStartSales(Integer startSales) { - this.startSales = startSales; - } - - - public Integer getEndSales() { - return endSales; - } - - - public void setEndSales(Integer endSales) { - this.endSales = endSales; - } - - - public Double getStartPrice() { - return startPrice; - } - - - public void setStartPrice(Double startPrice) { - this.startPrice = startPrice; - } - - - public Double getEndPrice() { - return endPrice; - } - - - public void setEndPrice(Double endPrice) { - this.endPrice = endPrice; - } - - - public Double getStartTkRate() { - return startTkRate; - } - - - public void setStartTkRate(Double startTkRate) { - this.startTkRate = startTkRate; - } - - - public Double getEndTkRate() { - return endTkRate; - } - - - public void setEndTkRate(Double endTkRate) { - this.endTkRate = endTkRate; - } - - - public Integer getIsTmall() { - return isTmall; - } - - - public void setIsTmall(Integer isTmall) { - this.isTmall = isTmall; - } - - - public Integer getHasCoupon() { - return hasCoupon; - } - - - public void setHasCoupon(Integer hasCoupon) { - this.hasCoupon = hasCoupon; - } - - - public Integer getFreeShipment() { - return freeShipment; - } - - - public void setFreeShipment(Integer freeShipment) { - this.freeShipment = freeShipment; - } - - - public Integer getNeedPrepay() { - return needPrepay; - } - - - public void setNeedPrepay(Integer needPrepay) { - this.needPrepay = needPrepay; - } - - - public Integer getNpxLevel() { - return npxLevel; - } - - - public void setNpxLevel(Integer npxLevel) { - this.npxLevel = npxLevel; - } - - - public Integer getIncludePayRate30() { - return includePayRate30; - } - - - public void setIncludePayRate30(Integer includePayRate30) { - this.includePayRate30 = includePayRate30; - } - - - public Integer getIncludeGoodRate() { - return includeGoodRate; - } - - - public void setIncludeGoodRate(Integer includeGoodRate) { - this.includeGoodRate = includeGoodRate; - } - - - public Integer getIncludeRfdRate() { - return includeRfdRate; - } - - - public void setIncludeRfdRate(Integer includeRfdRate) { - this.includeRfdRate = includeRfdRate; - } - - - public String getLableNames() { - return lableNames; - } - - - public void setLableNames(String lableNames) { - this.lableNames = lableNames; - } - - - public String getKey() { - return key; - } - - - public void setKey(String key) { - this.key = key; - } - - - public String getClassNameChinese() { - return classNameChinese; - } - - - public void setClassNameChinese(String classNameChinese) { - this.classNameChinese = classNameChinese; - } - - - public Double getStartZkPrice() { - return startZkPrice; - } - - - public void setStartZkPrice(Double startZkPrice) { - this.startZkPrice = startZkPrice; - } - - - public Double getEndZkPrice() { - return endZkPrice; - } - - - public void setEndZkPrice(Double endZkPrice) { - this.endZkPrice = endZkPrice; - } - - - public Integer getMaxPage() { - return maxPage; - } - - - public void setMaxPage(Integer maxPage) { - this.maxPage = maxPage; - } - - - public int getGoodsSource() { - return goodsSource; - } - - - public void setGoodsSource(int goodsSource) { - this.goodsSource = goodsSource; - } - - - public String getSourceCalss() { - return sourceCalss; - } - - - public void setSourceCalss(String sourceCalss) { - this.sourceCalss = sourceCalss; - } - - - public String getSystemCid() { - return systemCid; - } - - - public void setSystemCid(String systemCid) { - this.systemCid = systemCid; - } - - - public boolean isCalss9k9() { - return calss9k9; - } - - - public void setCalss9k9(boolean calss9k9) { - this.calss9k9 = calss9k9; - } - - - public boolean isFlashSale() { - return flashSale; - } - - - public void setFlashSale(boolean flashSale) { - this.flashSale = flashSale; - } - - - public int getStartWeight() { - return startWeight; - } - - - public void setStartWeight(int startWeight) { - this.startWeight = startWeight; - } - - - public int getEndWeight() { - return endWeight; - } - - - public void setEndWeight(int endWeight) { - this.endWeight = endWeight; - } - - - public AdminUser getAdminUser() { - return adminUser; - } - - - public void setAdminUser(AdminUser adminUser) { - this.adminUser = adminUser; - } - - - -} +package com.yeshi.fanli.entity.bus.lable; + + +import java.io.Serializable; +import java.util.Date; + +import org.springframework.format.annotation.DateTimeFormat; +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import com.yeshi.fanli.entity.common.AdminUser; + + +/** + * 绮鹃�夊簱鍟嗗搧鍏ュ簱瑙勫垯 + * + * @author yj + * + * @date 2018骞�8鏈�2鏃� + */ +@Table("yeshi_ec_boutique_auto_rule") +public class BoutiqueAutoRule implements Serializable { + + /** + * + */ + private static final long serialVersionUID = 1L; + + // 娣樺疂鐗╂枡API + public final static int TB_OPTIONAL = 1; + // 娣樺疂瀹樻柟鎺ㄨ崘 + public final static int TB_MATERIAL = 2; + + // 浜笢 + public final static int JD = 8; + // 鎷煎澶� + public final static int PDD = 9; + + + + @Column(name = "sr_id") + private Long id; + + @Column(name = "sr_source") + private Integer source; // 鏉ユ簮 + + @Column(name = "sr_title") + private String title; // 浠诲姟鍚嶇О + + @Column(name = "sr_search_content") + private String searchContent; // 浠诲姟鍐呭 + + @Column(name = "sr_class_name") + private String className; // 涓荤被鐩� + + @Column(name = "sr_subclass_name") + private String subclassName; // 瀛愮被鐩� + + @Column(name = "sr_execute_day") + private String executeDay; // 鎵ц鐩搁殧澶╂暟 + + @Column(name = "sr_execute_time") + private String executeTime; // 鎵ц鏃堕棿 + + @Column(name = "sr_cron_time") + private String cronTime; // cron鎵ц鏃堕棿 + + @Column(name = "sr_state") + private Integer state; // 鐘舵�侊細1鍚敤 0鍋滅敤 + + @Column(name = "sr_start_time") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private Date startTime; // 鐢熸晥鏃堕棿 + + @Column(name = "sr_end_time") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private Date endTime; // 澶辨晥鏃堕棿 + + @Column(name = "sr_createtime") + private Date createtime; // 鍒涘缓鏃堕棿 + + @Column(name = "sr_updatetime") + private Date updatetime; // 鏇存柊鏃堕棿锛堜慨鏀规椂闂达級 + + + + private String key; // 鎼滅储鍏抽敭璇� + private String cateIds; // 瀹樻柟鎺ㄨ崘鍟嗗搧搴撴姇鏀綢D;娣樺疂绫荤洰id闆嗗悎 + private Integer startSales; // 閿�閲忓皬鍊� + private Integer endSales; // 閿�閲忓ぇ鍊� + + private Double startZkPrice; // 鍦ㄥ敭浠疯寖鍥村皬鍊� + private Double endZkPrice; // 鍦ㄥ敭浠疯寖鍥村ぇ鍊� + + private Double startPrice; // 鍒稿悗浠疯寖鍥村皬鍊� + private Double endPrice; // 鍒稿悗浠疯寖鍥村ぇ鍊� + private Double startTkRate; // 浣i噾鑼冨洿灏忓�� + private Double endTkRate; // 浣i噾鑼冨洿澶у�� + + private Integer isTmall; // 鏄惁澶╃尗 + private Integer hasCoupon; // 鏄惁鏈夊埜锛�1 鏈� 0 鏃� + private Integer freeShipment; // 鏄惁鍖呴偖锛�1 鏈� 0 鏃� + private Integer needPrepay; // 鏄惁娑堣垂淇濋殰锛�1鏈� 0 鏃� + private Integer npxLevel; // 鐗涚毊鐧g▼搴︼紝鍙栧�硷細1:涓嶉檺锛�2:鏃狅紝3:杞诲井 + private Integer includePayRate30; // 鎴愪氦杞寲鏄惁楂樹簬琛屼笟鍧囧�� 1 鏈� 0 鏃� + private Integer includeGoodRate; // 濂借瘎鐜囨槸鍚﹂珮浜庤涓氬潎鍊� 1 鏈� 0 鏃� + private Integer includeRfdRate; // 閫�娆剧巼鏄惁浣庝簬琛屼笟鍧囧�� 1 鏈� 0 鏃� + + private String lableNames; // 鏍囩鍚嶇О锛氱┖鏍奸殧寮� + + private String classNameChinese; // 娣樺疂绫荤洰鍚嶇О + + private Integer maxPage; // 璇锋眰鏈�澶ч〉鏁� + + private int goodsSource; // 鏉冮噸缁撴潫 + private String sourceCalss; // 鍏蜂綋鏉ユ簮 + private String systemCid;// 绯荤粺鍒嗙被id + private boolean calss9k9; // 鏄惁9k9绫荤洰 + private boolean flashSale; // 鏄惁鍔犲叆闄愭椂鎶㈣喘 + private int startWeight; // 鏉冮噸璧峰 + private int endWeight; // 鏉冮噸缁撴潫 + private AdminUser adminUser; + + + + public Long getId() { + return id; + } + + + public void setId(Long id) { + this.id = id; + } + + + public Integer getSource() { + return source; + } + + + public void setSource(Integer source) { + this.source = source; + } + + + public String getTitle() { + return title; + } + + + public void setTitle(String title) { + this.title = title; + } + + + public String getSearchContent() { + return searchContent; + } + + + public void setSearchContent(String searchContent) { + this.searchContent = searchContent; + } + + + public String getClassName() { + return className; + } + + + public void setClassName(String className) { + this.className = className; + } + + + public String getSubclassName() { + return subclassName; + } + + + public void setSubclassName(String subclassName) { + this.subclassName = subclassName; + } + + + public String getExecuteDay() { + return executeDay; + } + + + public void setExecuteDay(String executeDay) { + this.executeDay = executeDay; + } + + + public String getExecuteTime() { + return executeTime; + } + + + public void setExecuteTime(String executeTime) { + this.executeTime = executeTime; + } + + + public String getCronTime() { + return cronTime; + } + + + public void setCronTime(String cronTime) { + this.cronTime = cronTime; + } + + + public Date getStartTime() { + return startTime; + } + + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + + public Date getEndTime() { + return endTime; + } + + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + + + public Integer getState() { + return state; + } + + + public void setState(Integer state) { + this.state = state; + } + + + public Date getCreatetime() { + return createtime; + } + + + public void setCreatetime(Date createtime) { + this.createtime = createtime; + } + + + public Date getUpdatetime() { + return updatetime; + } + + + public void setUpdatetime(Date updatetime) { + this.updatetime = updatetime; + } + + + public String getCateIds() { + return cateIds; + } + + + public void setCateIds(String cateIds) { + this.cateIds = cateIds; + } + + + public Integer getStartSales() { + return startSales; + } + + + public void setStartSales(Integer startSales) { + this.startSales = startSales; + } + + + public Integer getEndSales() { + return endSales; + } + + + public void setEndSales(Integer endSales) { + this.endSales = endSales; + } + + + public Double getStartPrice() { + return startPrice; + } + + + public void setStartPrice(Double startPrice) { + this.startPrice = startPrice; + } + + + public Double getEndPrice() { + return endPrice; + } + + + public void setEndPrice(Double endPrice) { + this.endPrice = endPrice; + } + + + public Double getStartTkRate() { + return startTkRate; + } + + + public void setStartTkRate(Double startTkRate) { + this.startTkRate = startTkRate; + } + + + public Double getEndTkRate() { + return endTkRate; + } + + + public void setEndTkRate(Double endTkRate) { + this.endTkRate = endTkRate; + } + + + public Integer getIsTmall() { + return isTmall; + } + + + public void setIsTmall(Integer isTmall) { + this.isTmall = isTmall; + } + + + public Integer getHasCoupon() { + return hasCoupon; + } + + + public void setHasCoupon(Integer hasCoupon) { + this.hasCoupon = hasCoupon; + } + + + public Integer getFreeShipment() { + return freeShipment; + } + + + public void setFreeShipment(Integer freeShipment) { + this.freeShipment = freeShipment; + } + + + public Integer getNeedPrepay() { + return needPrepay; + } + + + public void setNeedPrepay(Integer needPrepay) { + this.needPrepay = needPrepay; + } + + + public Integer getNpxLevel() { + return npxLevel; + } + + + public void setNpxLevel(Integer npxLevel) { + this.npxLevel = npxLevel; + } + + + public Integer getIncludePayRate30() { + return includePayRate30; + } + + + public void setIncludePayRate30(Integer includePayRate30) { + this.includePayRate30 = includePayRate30; + } + + + public Integer getIncludeGoodRate() { + return includeGoodRate; + } + + + public void setIncludeGoodRate(Integer includeGoodRate) { + this.includeGoodRate = includeGoodRate; + } + + + public Integer getIncludeRfdRate() { + return includeRfdRate; + } + + + public void setIncludeRfdRate(Integer includeRfdRate) { + this.includeRfdRate = includeRfdRate; + } + + + public String getLableNames() { + return lableNames; + } + + + public void setLableNames(String lableNames) { + this.lableNames = lableNames; + } + + + public String getKey() { + return key; + } + + + public void setKey(String key) { + this.key = key; + } + + + public String getClassNameChinese() { + return classNameChinese; + } + + + public void setClassNameChinese(String classNameChinese) { + this.classNameChinese = classNameChinese; + } + + + public Double getStartZkPrice() { + return startZkPrice; + } + + + public void setStartZkPrice(Double startZkPrice) { + this.startZkPrice = startZkPrice; + } + + + public Double getEndZkPrice() { + return endZkPrice; + } + + + public void setEndZkPrice(Double endZkPrice) { + this.endZkPrice = endZkPrice; + } + + + public Integer getMaxPage() { + return maxPage; + } + + + public void setMaxPage(Integer maxPage) { + this.maxPage = maxPage; + } + + + public int getGoodsSource() { + return goodsSource; + } + + + public void setGoodsSource(int goodsSource) { + this.goodsSource = goodsSource; + } + + + public String getSourceCalss() { + return sourceCalss; + } + + + public void setSourceCalss(String sourceCalss) { + this.sourceCalss = sourceCalss; + } + + + public String getSystemCid() { + return systemCid; + } + + + public void setSystemCid(String systemCid) { + this.systemCid = systemCid; + } + + + public boolean isCalss9k9() { + return calss9k9; + } + + + public void setCalss9k9(boolean calss9k9) { + this.calss9k9 = calss9k9; + } + + + public boolean isFlashSale() { + return flashSale; + } + + + public void setFlashSale(boolean flashSale) { + this.flashSale = flashSale; + } + + + public int getStartWeight() { + return startWeight; + } + + + public void setStartWeight(int startWeight) { + this.startWeight = startWeight; + } + + + public int getEndWeight() { + return endWeight; + } + + + public void setEndWeight(int endWeight) { + this.endWeight = endWeight; + } + + + public AdminUser getAdminUser() { + return adminUser; + } + + + public void setAdminUser(AdminUser adminUser) { + this.adminUser = adminUser; + } + + + +} -- Gitblit v1.8.0