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/service/inter/lable/BoutiqueAutoRuleService.java | 246 ++++++++++++++++++++++++------------------------ 1 files changed, 123 insertions(+), 123 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/BoutiqueAutoRuleService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/BoutiqueAutoRuleService.java index 5acd564..55c9e39 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/BoutiqueAutoRuleService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/lable/BoutiqueAutoRuleService.java @@ -1,123 +1,123 @@ -package com.yeshi.fanli.service.inter.lable; - - -import java.util.List; - - - - - - - - - - - - - -import com.yeshi.fanli.entity.bus.lable.BoutiqueAutoRule; -import com.yeshi.fanli.exception.BoutiqueAutoRuleException; - -public interface BoutiqueAutoRuleService { - - /** - * 鎻掑叆瀵硅薄 - * @param record - * @return - * @throws BoutiqueAutoRuleException - */ - public int insertSelective(BoutiqueAutoRule record) throws BoutiqueAutoRuleException; - - /** - * 鏇存柊褰撳墠瀵硅薄鎵�鏈夋暟鎹� - * @param record - * @return - * @throws BoutiqueAutoRuleException - */ - public int updateByPrimaryKey(BoutiqueAutoRule record) throws BoutiqueAutoRuleException; - - /** - * 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁 - * @param record - * @return - * @throws BoutiqueAutoRuleException - */ - public int updateByPrimaryKeySelective(BoutiqueAutoRule record) throws BoutiqueAutoRuleException; - - - /** - * 鏍规嵁id鏌ユ壘褰撳墠瀵硅薄 - * @param id - * @return - * @throws BoutiqueAutoRuleException - */ - public BoutiqueAutoRule selectByPrimaryKey(Long id) throws BoutiqueAutoRuleException; - - - /** - * 鎵归噺鍒犻櫎 - * @param ids - * @throws BoutiqueAutoRuleException - */ - public void deleteBatchByPrimaryKey(List<Long> ids) throws BoutiqueAutoRuleException; - - - /** - * 鏌ヨ鏍囩 - * @param pageIndex 椤电爜 - * @param pageSize 椤甸潰鏉℃暟 - * @param source 鎼滅储鏉′欢 - * @return - */ - public List<BoutiqueAutoRule> query(int pageIndex, int pageSize, Integer source, String key, - Integer state, Integer sort) throws BoutiqueAutoRuleException; - - public long queryCount(Integer source, String key, Integer state) throws BoutiqueAutoRuleException; - - /** - * 鍗曚釜鍒犻櫎 - * @param id - * @throws BoutiqueAutoRuleException - */ - public void deleteByPrimaryKey(Long id) throws BoutiqueAutoRuleException; - - /** - * 璁剧疆浠诲姟 - * @param boutiqueAutoRule - * @param type - */ - public void setScheduler(BoutiqueAutoRule boutiqueAutoRule, String type); - - /** - * 鏃堕棿鏍煎紡鍖� Cron - * @param day - * @param time - * @return - */ - public String setCronTime(String day, String time); - - /** - * 鏌ヨ鎵�鏈夊惎鐢ㄤ换鍔� - * @return - * @throws BoutiqueAutoRuleException - */ - public List<BoutiqueAutoRule> queryStart() throws BoutiqueAutoRuleException; - - - /** - * 绯荤粺鍚姩鏃讹紝娣诲姞浠诲姟鍒癝cheduler - */ - public void startScheduler(); - - /** - * 鍏抽棴鎵�鏈夊畾鏃朵换鍔� - */ - public void shutdownJobs() throws Exception; - - /** - * 楠岃瘉鏃ユ湡 - * @return - */ - public boolean validateDate(BoutiqueAutoRule BoutiqueAutoRule); - -} +package com.yeshi.fanli.service.inter.lable; + + +import java.util.List; + + + + + + + + + + + + + +import com.yeshi.fanli.entity.bus.lable.BoutiqueAutoRule; +import com.yeshi.fanli.exception.goods.quality.BoutiqueAutoRuleException; + +public interface BoutiqueAutoRuleService { + + /** + * 鎻掑叆瀵硅薄 + * @param record + * @return + * @throws BoutiqueAutoRuleException + */ + public int insertSelective(BoutiqueAutoRule record) throws BoutiqueAutoRuleException; + + /** + * 鏇存柊褰撳墠瀵硅薄鎵�鏈夋暟鎹� + * @param record + * @return + * @throws BoutiqueAutoRuleException + */ + public int updateByPrimaryKey(BoutiqueAutoRule record) throws BoutiqueAutoRuleException; + + /** + * 閫夋嫨鎬ф洿鏂板唴瀹光�斺�斾笉涓虹┖鍒欐洿鏂拌瀛楁 + * @param record + * @return + * @throws BoutiqueAutoRuleException + */ + public int updateByPrimaryKeySelective(BoutiqueAutoRule record) throws BoutiqueAutoRuleException; + + + /** + * 鏍规嵁id鏌ユ壘褰撳墠瀵硅薄 + * @param id + * @return + * @throws BoutiqueAutoRuleException + */ + public BoutiqueAutoRule selectByPrimaryKey(Long id) throws BoutiqueAutoRuleException; + + + /** + * 鎵归噺鍒犻櫎 + * @param ids + * @throws BoutiqueAutoRuleException + */ + public void deleteBatchByPrimaryKey(List<Long> ids) throws BoutiqueAutoRuleException; + + + /** + * 鏌ヨ鏍囩 + * @param pageIndex 椤电爜 + * @param pageSize 椤甸潰鏉℃暟 + * @param source 鎼滅储鏉′欢 + * @return + */ + public List<BoutiqueAutoRule> query(int pageIndex, int pageSize, Integer source, String key, + Integer state, Integer sort) throws BoutiqueAutoRuleException; + + public long queryCount(Integer source, String key, Integer state) throws BoutiqueAutoRuleException; + + /** + * 鍗曚釜鍒犻櫎 + * @param id + * @throws BoutiqueAutoRuleException + */ + public void deleteByPrimaryKey(Long id) throws BoutiqueAutoRuleException; + + /** + * 璁剧疆浠诲姟 + * @param boutiqueAutoRule + * @param type + */ + public void setScheduler(BoutiqueAutoRule boutiqueAutoRule, String type); + + /** + * 鏃堕棿鏍煎紡鍖� Cron + * @param day + * @param time + * @return + */ + public String setCronTime(String day, String time); + + /** + * 鏌ヨ鎵�鏈夊惎鐢ㄤ换鍔� + * @return + * @throws BoutiqueAutoRuleException + */ + public List<BoutiqueAutoRule> queryStart() throws BoutiqueAutoRuleException; + + + /** + * 绯荤粺鍚姩鏃讹紝娣诲姞浠诲姟鍒癝cheduler + */ + public void startScheduler(); + + /** + * 鍏抽棴鎵�鏈夊畾鏃朵换鍔� + */ + public void shutdownJobs() throws Exception; + + /** + * 楠岃瘉鏃ユ湡 + * @return + */ + public boolean validateDate(BoutiqueAutoRule BoutiqueAutoRule); + +} -- Gitblit v1.8.0