| | |
| | | package com.yeshi.fanli.service.inter.homemodule;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.homemodule.SpecialPlace;
|
| | | import com.yeshi.fanli.exception.SpecialPlaceException;
|
| | |
|
| | | public interface SpecialPlaceService {
|
| | |
|
| | | /**
|
| | | * 保存、修改
|
| | | * @param record
|
| | | * @throws SpecialPlaceException
|
| | | * @throws Exception
|
| | | */
|
| | | public void saveObject(SpecialPlace record) throws SpecialPlaceException, Exception;
|
| | |
|
| | | /**
|
| | | * 批量删除
|
| | | * @param list
|
| | | * @return
|
| | | * @throws Exception
|
| | | */
|
| | | public int deleteByPrimaryKeyList(List<Long> list) throws Exception;
|
| | |
|
| | | /**
|
| | | * 后端查询
|
| | | * @param start
|
| | | * @param count
|
| | | * @param key
|
| | | * @return
|
| | | * @throws Exception
|
| | | */
|
| | | public List<SpecialPlace> listQuery(long start, int count, String key) throws Exception;
|
| | |
|
| | | public long countQuery(String key);
|
| | |
|
| | | /**
|
| | | * 获取所有专题位置
|
| | | * @return
|
| | | */
|
| | | public List<SpecialPlace> getList();
|
| | |
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.homemodule; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.bus.homemodule.SpecialPlace; |
| | | import com.yeshi.fanli.exception.homemodule.SpecialPlaceException; |
| | | |
| | | public interface SpecialPlaceService { |
| | | |
| | | public SpecialPlace selectByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * 保存、修改 |
| | | * @param record |
| | | * @throws SpecialPlaceException |
| | | * @throws Exception |
| | | */ |
| | | public void saveObject(SpecialPlace record) throws SpecialPlaceException, Exception; |
| | | |
| | | /** |
| | | * 批量删除 |
| | | * @param list |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int deleteByPrimaryKeyList(List<Long> list) throws Exception; |
| | | |
| | | /** |
| | | * 后端查询 |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public List<SpecialPlace> listQuery(long start, int count, String key) throws Exception; |
| | | |
| | | public long countQuery(String key); |
| | | |
| | | /** |
| | | * 获取所有专题位置 |
| | | * @return |
| | | */ |
| | | public List<SpecialPlace> getEffectiveList(); |
| | | |
| | | } |