package com.yeshi.fanli.service.inter.lable; import java.io.InputStream; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import org.springframework.cache.annotation.Cacheable; import org.springframework.web.multipart.MultipartFile; import com.yeshi.fanli.entity.bus.lable.Label; import com.yeshi.fanli.entity.bus.lable.LabelGoods; import com.yeshi.fanli.entity.common.AdminUser; import com.yeshi.fanli.exception.LabelException; public interface LabelService { /** * 插入对象 * @param record * @return * @throws LabelException */ public int insertSelective(Label record) throws LabelException; /** * 更新当前对象所有数据 * @param record * @return * @throws LabelException */ public int updateByPrimaryKey(Label record) throws LabelException; /** * 选择性更新内容——不为空则更新该字段 * @param record * @return * @throws LabelException */ public int updateByPrimaryKeySelective(Label record) throws LabelException; /** * 根据id查找当前对象 * @param id * @return * @throws LabelException */ public Label selectByPrimaryKey(Long id) throws LabelException; /** * 根据id批量删除 * @param ids */ public int deleteBatchById(long[] ids) throws LabelException; /** * 查询标签 * @param pageIndex 页码 * @param pageSize 页面条数 * @param key 搜索条件 * @param startTime 起始时间 * @param endTime 结束时间 * @return */ public List