| | |
| | | package com.yeshi.fanli.service.inter.homemodule;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.homemodule.HomeNavbar;
|
| | |
|
| | | /**
|
| | |
| | | public int updateByPrimaryKeySelective(HomeNavbar record);
|
| | |
|
| | | public int updateByPrimaryKey(HomeNavbar record);
|
| | | |
| | | /**
|
| | | * 根据主键批量删除
|
| | | * @param list
|
| | | * @return
|
| | | */
|
| | | public int deleteBatchByPrimaryKey(List<Long> list);
|
| | | |
| | | /**
|
| | | * 获取最大的排序值
|
| | | * @param card
|
| | | * @return
|
| | | */
|
| | | public int getMaxOrder();
|
| | | |
| | | /**
|
| | | * 查询交换排序对象
|
| | | * @param type |
| | | * @param order 排序值
|
| | | * @return
|
| | | */
|
| | | public List<HomeNavbar> getChangeOrder(Integer type, Integer order);
|
| | | |
| | | /**
|
| | | * 后端列表查询
|
| | | * @param start
|
| | | * @param count
|
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public List<HomeNavbar> listQuery(long start, int count, String key);
|
| | | |
| | | public long countlistQuery(String key);
|
| | |
|
| | | /**
|
| | | * 图片上传
|
| | | * @param file
|
| | | * @param homeNavbar
|
| | | * @throws Exception
|
| | | */
|
| | | public void uploadPicture(MultipartFile file, HomeNavbar homeNavbar) throws Exception;
|
| | |
|
| | | }
|