| | |
| | | package com.yeshi.fanli.service.inter.brand;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | |
|
| | | import com.yeshi.fanli.entity.brand.BrandInfo;
|
| | | import com.yeshi.fanli.exception.brand.BrandClassException;
|
| | |
| | | * @throws BrandClassException
|
| | | * @throws Exception
|
| | | */
|
| | | public void saveObject(BrandInfo record) throws BrandInfoException;
|
| | | public void saveObject(MultipartFile file, BrandInfo record) throws BrandInfoException;
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | public List<BrandInfo> listQuery(long start, int count, String key, Long cid, Integer state);
|
| | | public List<BrandInfo> listQuery(long start, int count, List<String> keys, Long cid, Integer state, Integer showState);
|
| | |
|
| | | public long countQuery(String key, Long cid, Integer state);
|
| | | public long countQuery(List<String> keys, Long cid, Integer state, Integer showState);
|
| | |
|
| | | /**
|
| | | * 查询品牌返回前端
|
| | |
| | |
|
| | | public long countValidByCid(Long cid);
|
| | |
|
| | |
|
| | | /**
|
| | | * 删除之前的
|
| | | * @param date
|
| | | */
|
| | | public void removeAgoByDate(Date date);
|
| | |
|
| | |
|
| | | public void updateOrder(Long id, Integer moveType) throws BrandInfoException;
|
| | |
|
| | | }
|