From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 23 一月 2024 17:17:55 +0800 Subject: [PATCH] 抖音转链修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemClientParamsService.java | 154 +++++++++++++++++++-------------------------------- 1 files changed, 57 insertions(+), 97 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemClientParamsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemClientParamsService.java index 57cc372..8561ba3 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemClientParamsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/config/SystemClientParamsService.java @@ -1,97 +1,57 @@ -package com.yeshi.fanli.service.inter.config; - -import java.util.List; - -import com.yeshi.fanli.entity.admin.SystemClientParamsAdmin; -import com.yeshi.fanli.entity.system.CustomerContent; -import com.yeshi.fanli.entity.system.CustomerName; -import com.yeshi.fanli.entity.system.System; -import com.yeshi.fanli.entity.system.SystemClientParams; - -public interface SystemClientParamsService { - - public List<SystemClientParams> getSystemClientParamsBySystemId(long id); - - public List<SystemClientParams> getSystemClientParamsBySystemId(long id,int version); - - public List<SystemClientParamsAdmin> getAdminList(System system, String key); - - public void addSystemClientParamsList(SystemClientParams scp, List<System> list) throws Exception; - - public void deleteSystemClientParams(SystemClientParams scp, System system); - - public void addSystemClientParams(SystemClientParams scp, System system); - - public void deleteSystemClientParams(SystemClientParams scp); - - public SystemClientParamsAdmin getSystemClientParamsAdmin(SystemClientParams scp); - - public void update(SystemClientParams oscp, SystemClientParams nscp); - - /** - * 鎸夌収绯荤粺鍜屽叧閿瓧鑾峰彇瀹㈡埛绔弬鏁� - * - * @param system - * @param key - * @return - */ - public SystemClientParams getSystemClientParamsBySystemAndKey(System system, String key); - - public Integer getCount(int type); - - public List<CustomerName> customerNameList(int i, String key, int type); - - public void deleteHelp(long id); - - public CustomerName getHelpCenter(int type); - - public Integer getProblemCount(long id); - - public List<CustomerContent> getSecondProblemList(int i, String key, long id); - - public void deleteSecondProblem(long id); - - public CustomerContent getCustomerContent(long id); - - public void updateAnswerDetail(CustomerContent customerContent); - - public void addFirstMenu(CustomerName customerName, int type); - - public void addSecondMenu(CustomerContent customerContent, long cnId); - - public List<CustomerContent> contactCustomerService(String title); - - /** - * 鏂扮増鍚庡彴鏌ヨ - * @param start - * @param count - * @param key - * @param systemId - * @return - */ - public List<SystemClientParams> listQuery(int start, int count, String key, Long systemId); - - public long countQuery(String key, Long systemId); - - /** - * 鏇存柊 - * @param systemClientParams - */ - public void update(SystemClientParams systemClientParams); - - /** - * 鏍规嵁id鑾峰彇 - * @param id - * @return - */ - public List<SystemClientParams> getById(long id); - - /** - * 鏍规嵁id鎵归噺鍒犻櫎 - * @param ids - */ - public void deleteBatchByPrimaryKey(List<Long> ids); - - public void saveAdd(SystemClientParams scp, List<Long> listId) throws Exception; - -} +package com.yeshi.fanli.service.inter.config; + +import java.util.List; + +import com.yeshi.fanli.entity.system.BusinessSystem; +import com.yeshi.fanli.entity.system.SystemClientParams; + +public interface SystemClientParamsService { + + + public List<SystemClientParams> getSystemClientParamsBySystemId(long id,int version); + + /** + * 鎸夌収绯荤粺鍜屽叧閿瓧鑾峰彇瀹㈡埛绔弬鏁� + * + * @param system + * @param key + * @return + */ + public SystemClientParams getSystemClientParamsBySystemAndKey(BusinessSystem system, String key); + + + /** + * 鏂扮増鍚庡彴鏌ヨ + * @param start + * @param count + * @param key + * @param systemId + * @return + */ + public List<SystemClientParams> listQuery(int start, int count, String key, Long systemId); + + public long countQuery(String key, Long systemId); + + /** + * 鏇存柊 + * @param systemClientParams + */ + public void update(SystemClientParams systemClientParams); + + /** + * 鏍规嵁id鑾峰彇 + * @param id + * @return + */ + public SystemClientParams selectByPrimaryKey(long id); + + /** + * 鏍规嵁id鎵归噺鍒犻櫎 + * @param ids + */ + public void deleteBatchByPrimaryKey(List<Long> ids); + + + public void saveAdd(SystemClientParams scp, List<Long> listId) throws Exception; + +} -- Gitblit v1.8.0