From 2620b87fd24feaa0b60cd8b529cd44c3a7557c30 Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Mon, 25 Jan 2021 15:59:45 +0800 Subject: [PATCH] 1、修改树形分类可以选择自己为自己的父级的bug --- zq-erp/src/main/java/com/matrix/system/hive/dao/SysVipLabelDao.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/hive/dao/SysVipLabelDao.java b/zq-erp/src/main/java/com/matrix/system/hive/dao/SysVipLabelDao.java index 7333440..87b5716 100644 --- a/zq-erp/src/main/java/com/matrix/system/hive/dao/SysVipLabelDao.java +++ b/zq-erp/src/main/java/com/matrix/system/hive/dao/SysVipLabelDao.java @@ -1,6 +1,8 @@ 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; @@ -9,11 +11,21 @@ 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); 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); } -- Gitblit v1.9.1