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