| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.clazz.TaoBaoClassRelation; |
| | | |
| | | public interface TaoBaoClassRelationMapper { |
| | | public interface TaoBaoClassRelationMapper extends BaseMapper<TaoBaoClassRelation> { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(TaoBaoClassRelation record); |
| | | |
| | | int insertSelective(TaoBaoClassRelation record); |
| | | |
| | | TaoBaoClassRelation selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(TaoBaoClassRelation record); |
| | | |
| | | int updateByPrimaryKey(TaoBaoClassRelation record); |
| | | |
| | | List<TaoBaoClassRelation> listByTaoBaoCid(Long taobaoCid); |
| | | |
| | | /** |
| | | * 根据淘宝分类id查询系统分类 |
| | | * @param taobaoCid |
| | | * @return |
| | | */ |
| | | Long getClassIdByTaoBaoCid(Long taobaoCid); |
| | | |
| | | /** |
| | | * 根据分类id查询 |
| | | * |
| | | * @param taobaoCid |
| | | * @return |
| | | */ |
| | | TaoBaoClassRelation getByLocalCid(Long localCid); |
| | | |
| | | /** |
| | | * |
| | | * @param localCid |
| | | * @param classId |
| | | */ |
| | | void deleteRelationByLocalCid(Long localCid); |
| | | |
| | | /** |
| | | * 根据分类ID删除 |
| | | * |
| | | * @param cid |
| | | * @return |
| | | */ |
| | | int deleteByCid(Long cid); |
| | | |
| | | /** |
| | | * 根据子分类ID做删除 |
| | | * |
| | | * @param subId |
| | | * @return |
| | | */ |
| | | int deleteBySubId(Long subId); |
| | | } |