| | |
| | | package com.yeshi.fanli.service.inter.lable;
|
| | |
|
| | |
|
| | |
|
| | | import org.springframework.cache.annotation.Cacheable;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.lable.MergeClass;
|
| | | import com.yeshi.fanli.exception.goods.MergeClassException;
|
| | |
|
| | | public interface MergeClassService {
|
| | | |
| | | /**
|
| | | * 插入对象
|
| | | * @param record
|
| | | * @return
|
| | | * @throws MergeClassException
|
| | | */
|
| | | public int insert(MergeClass record) throws MergeClassException;
|
| | | |
| | | /**
|
| | | * 更新当前对象所有数据
|
| | | * @param record
|
| | | * @return
|
| | | * @throws MergeClassException
|
| | | */
|
| | | public int updateByPrimaryKey(MergeClass record) throws MergeClassException;
|
| | | |
| | | /**
|
| | | * 选择性更新内容——不为空则更新该字段
|
| | | * @param record
|
| | | * @return
|
| | | * @throws MergeClassException
|
| | | */
|
| | | public int updateByPrimaryKeySelective(MergeClass record) throws MergeClassException;
|
| | | |
| | | /**
|
| | | * 根据id删除当前对象
|
| | | * @param id
|
| | | * @return
|
| | | * @throws MergeClassException
|
| | | */
|
| | | public int deleteByPrimaryKey(Long id) throws MergeClassException;
|
| | |
|
| | | |
| | | /**
|
| | | * 根据id查找当前对象
|
| | | * @param id
|
| | | * @return
|
| | | * @throws MergeClassException
|
| | | */
|
| | | public MergeClass selectByPrimaryKeyCache(Long id) throws MergeClassException;
|
| | |
|
| | | public MergeClass selectByPrimaryKey(Long id) throws MergeClassException;
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.lable; |
| | | |
| | | |
| | | |
| | | import org.springframework.cache.annotation.Cacheable; |
| | | |
| | | import com.yeshi.fanli.entity.bus.lable.MergeClass; |
| | | import com.yeshi.fanli.exception.goods.MergeClassException; |
| | | |
| | | public interface MergeClassService { |
| | | |
| | | /** |
| | | * 插入对象 |
| | | * @param record |
| | | * @return |
| | | * @throws MergeClassException |
| | | */ |
| | | public int insert(MergeClass record) throws MergeClassException; |
| | | |
| | | /** |
| | | * 更新当前对象所有数据 |
| | | * @param record |
| | | * @return |
| | | * @throws MergeClassException |
| | | */ |
| | | public int updateByPrimaryKey(MergeClass record) throws MergeClassException; |
| | | |
| | | /** |
| | | * 选择性更新内容——不为空则更新该字段 |
| | | * @param record |
| | | * @return |
| | | * @throws MergeClassException |
| | | */ |
| | | public int updateByPrimaryKeySelective(MergeClass record) throws MergeClassException; |
| | | |
| | | /** |
| | | * 根据id删除当前对象 |
| | | * @param id |
| | | * @return |
| | | * @throws MergeClassException |
| | | */ |
| | | public int deleteByPrimaryKey(Long id) throws MergeClassException; |
| | | |
| | | |
| | | /** |
| | | * 根据id查找当前对象 |
| | | * @param id |
| | | * @return |
| | | * @throws MergeClassException |
| | | */ |
| | | public MergeClass selectByPrimaryKeyCache(Long id) throws MergeClassException; |
| | | |
| | | public MergeClass selectByPrimaryKey(Long id) throws MergeClassException; |
| | | } |