|  |  |  | 
|---|
|  |  |  | package com.matrix.system.hive.dao; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.matrix.core.pojo.PaginationVO; | 
|---|
|  |  |  | import com.matrix.system.hive.bean.SysVipLabel; | 
|---|
|  |  |  | import com.matrix.system.hive.bean.SysVipLabelRelate; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insert(SysVipLabel sysVipLabel); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insertRelate(SysVipLabelRelate sysVipLabelRelate); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int update(SysVipLabel sysVipLabel); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<SysVipLabel> selectInPage(@Param("record") SysVipLabel sysVipLabel, @Param("pageVo") PaginationVO pageVo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int selectTotal(@Param("record") SysVipLabel sysVipLabel); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int deleteById(@Param("id") Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int deleteByIds(@Param("list") List<Long> list); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<SysVipLabel> selectByVipId(@Param("vipId") Long vipId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<SysVipLabel> selectByModel(@Param("record") SysVipLabel sysVipLabel); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int deleteByVipId(@Param("vipId") Long vipId); | 
|---|
|  |  |  | int deleteRelateByVipId(@Param("vipId") Long vipId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | SysVipLabel selectById(@Param("id") Long id); | 
|---|
|  |  |  | } | 
|---|