| | |
| | | package com.yeshi.fanli.service.inter.common;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.common.JumpDetailV2;
|
| | |
|
| | | /**
|
| | | * 跳转详情
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | public interface JumpDetailV2Service {
|
| | |
|
| | | public int deleteByPrimaryKey(Long id);
|
| | |
|
| | | public int insert(JumpDetailV2 record);
|
| | |
|
| | | public int insertSelective(JumpDetailV2 record);
|
| | |
|
| | | public JumpDetailV2 selectByPrimaryKey(Long id);
|
| | |
|
| | | public int updateByPrimaryKeySelective(JumpDetailV2 record);
|
| | |
|
| | | public int updateByPrimaryKey(JumpDetailV2 record);
|
| | |
|
| | | /**
|
| | | * 根据类型查询
|
| | | * @param type
|
| | | * @return
|
| | | */
|
| | | public List<JumpDetailV2> listByType(String type);
|
| | |
|
| | | /**
|
| | | * 根据类型取值
|
| | | * @param type 类型
|
| | | * @return
|
| | | */
|
| | | public JumpDetailV2 getByTypeCache(String type);
|
| | |
|
| | | |
| | | public List<JumpDetailV2> listJump();
|
| | | |
| | | |
| | | /**
|
| | | * 根据主键批量删除
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | int deleteBatchByPrimaryKey(List<Long> list);
|
| | | |
| | | /**
|
| | | * 后端列表查询
|
| | | * @param start
|
| | | * @param count
|
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | List<JumpDetailV2> listQuery(long start, int count, String key);
|
| | | |
| | | long countListQuery(String key);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.common; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import com.yeshi.fanli.entity.common.JumpDetailV2; |
| | | |
| | | /** |
| | | * 跳转详情 |
| | | * |
| | | * @author Administrator |
| | | */ |
| | | public interface JumpDetailV2Service { |
| | | |
| | | public int deleteByPrimaryKey(Long id); |
| | | |
| | | public int insert(JumpDetailV2 record); |
| | | |
| | | public int insertSelective(JumpDetailV2 record); |
| | | |
| | | public JumpDetailV2 selectByPrimaryKey(Long id); |
| | | |
| | | public int updateByPrimaryKeySelective(JumpDetailV2 record); |
| | | |
| | | public int updateByPrimaryKey(JumpDetailV2 record); |
| | | |
| | | /** |
| | | * 根据类型查询 |
| | | * |
| | | * @param type |
| | | * @return |
| | | */ |
| | | public List<JumpDetailV2> listByType(String type, SystemEnum system); |
| | | |
| | | /** |
| | | * 根据类型取值 |
| | | * |
| | | * @param type 类型 |
| | | * @return |
| | | */ |
| | | public JumpDetailV2 getByTypeCache(String type, SystemEnum system); |
| | | |
| | | /** |
| | | * 根据类型取值 |
| | | * |
| | | * @param type 类型 |
| | | * @param platform -平台 1:android 2:ios |
| | | * @param version ios-build android-versionCode |
| | | * @return |
| | | */ |
| | | public JumpDetailV2 getByTypeCache(String type, int platform, int version, SystemEnum system); |
| | | |
| | | public List<JumpDetailV2> listJump(SystemEnum system); |
| | | |
| | | /** |
| | | * 根据主键批量删除 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int deleteBatchByPrimaryKey(List<Long> list); |
| | | |
| | | /** |
| | | * 后端列表查询 |
| | | * |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @return |
| | | */ |
| | | List<JumpDetailV2> listQuery(long start, int count, String key, SystemEnum system); |
| | | |
| | | long countListQuery(String key, SystemEnum system); |
| | | |
| | | } |