|  |  |  | 
|---|
|  |  |  | package com.matrix.system.hive.dao; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.matrix.system.hive.bean.SysVipLabel; | 
|---|
|  |  |  | import com.matrix.system.hive.bean.SysVipLabelRelate; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | 
|---|
|  |  |  | public interface SysVipLabelDao { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insert(SysVipLabel sysVipLabel); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insertRelate(SysVipLabelRelate sysVipLabelRelate); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int update(SysVipLabel sysVipLabel); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<SysVipLabel> selectByModel(@Param("record") SysVipLabel sysVipLabel); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int deleteByVipId(@Param("vipId") Long vipId); | 
|---|
|  |  |  | int deleteRelateByVipId(@Param("vipId") Long vipId); | 
|---|
|  |  |  | } | 
|---|