| | |
| | | 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;
|
| | |
|
| | | }
|
| | | 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; |
| | | |
| | | } |