| | |
| | | package com.yeshi.fanli.service.inter.homemodule;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.homemodule.Special;
|
| | |
|
| | | /**
|
| | |
| | |
|
| | | public int updateByPrimaryKey(Special record);
|
| | |
|
| | | public List<Special> listQueryByCard(long start, int count, Long card, String key);
|
| | |
|
| | | public long countlistQueryByCard(Long card, String key);
|
| | |
|
| | | /**
|
| | | * 查询排序值
|
| | | * @param card
|
| | | * @return
|
| | | */
|
| | | public int getMaxOrderByCard(Long card);
|
| | |
|
| | | /**
|
| | | * 专题图片上传
|
| | | * @param file
|
| | | * @param record
|
| | | * @throws Exception
|
| | | */
|
| | | public void uploadPicture(MultipartFile file, Special record, Long cardId) throws Exception;
|
| | |
|
| | | /**
|
| | | * 根据id批量删除
|
| | | * @param list
|
| | | * @return
|
| | | * @throws Exception
|
| | | */
|
| | | public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
|
| | |
|
| | | /**
|
| | | * CardID批量删除
|
| | | * @param list
|
| | | * @return
|
| | | * @throws Exception
|
| | | */
|
| | | public int deleteBatchByCardID(List<Long> list) throws Exception;
|
| | |
|
| | | /**
|
| | | * 排序交换对象查询
|
| | | * @param cardId
|
| | | * @param type
|
| | | * @param order
|
| | | * @return
|
| | | */
|
| | | public List<Special> getOrderByCardID(Long cardId, Integer type, Integer order);
|
| | |
|
| | | |
| | | /**
|
| | | * 根据标识、系统查询启用专题
|
| | | * @param card
|
| | | * @param systemId
|
| | | * @return
|
| | | */
|
| | | public List<Special> listBySystemAndCard(String card, Long systemId);
|
| | |
|
| | | }
|