| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | |
|
| | |
| | | * 保存
|
| | | * @param file
|
| | | * @param record
|
| | | * @param jumpType
|
| | | * @throws HomeNavbarException
|
| | | * @throws Exception
|
| | | */
|
| | |
| | | * @throws HomeNavbarException
|
| | | * @throws Exception
|
| | | */
|
| | | public void updateOrder(Long id, Integer moveType) throws HomeNavbarException, Exception;
|
| | | public void updateOrder(Long id, Integer moveType, Integer sex) throws HomeNavbarException, Exception;
|
| | |
|
| | | |
| | | /**
|
| | | * 后端列表查询-同时super
|
| | | * @param start
|
| | | * @param count
|
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public List<HomeNavbar> listQueryAndBusinessSystem(long start, int count, String key);
|
| | |
|
| | | /**
|
| | | * 后端查询
|
| | |
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public List<HomeNavbar> listQuery(long start, int count, String key);
|
| | | public List<HomeNavbar> listQuery(long start, int count, String key, Integer sex, SystemEnum system);
|
| | |
|
| | | public long countlistQuery(String key);
|
| | | public long countlistQuery(String key, Integer sex, SystemEnum system);
|
| | |
|
| | |
|
| | | /**
|
| | | * 查询有效导航栏
|
| | | * @return
|
| | | */
|
| | | public List<HomeNavbar> listQueryEffective();
|
| | | public List<HomeNavbar> listQueryEffectiveNavbar(SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 根据分类查询有效导航栏
|
| | | * @param classId
|
| | | * @return
|
| | | */
|
| | | public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId);
|
| | | public HomeNavbar getEffectiveByClassId(@Param("classId") Long classId, SystemEnum system);
|
| | |
|
| | |
|
| | | /**
|
| | | * 默认导航栏
|
| | | * @return
|
| | | */
|
| | | public List<HomeNavbar> listQueryDefaultNavbar(Integer sex, SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 固定的导航栏
|
| | | * @return
|
| | | */
|
| | | public List<HomeNavbar> listQueryFixedNavbar(SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 改变状态
|
| | | * @param id
|
| | | * @throws HomeNavbarException
|
| | | */
|
| | | public void switchState(Long id) throws HomeNavbarException;
|
| | |
|
| | | }
|