From 5476f8bcf411ce654c02fbd34b9086518adbd917 Mon Sep 17 00:00:00 2001 From: 于紫祥_1901 <email@yuzixiang_1910> Date: Thu, 10 Sep 2020 14:25:41 +0800 Subject: [PATCH] 三天数据对比 --- src/main/java/com/moral/mapper/RoleMapper.java | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/moral/mapper/RoleMapper.java b/src/main/java/com/moral/mapper/RoleMapper.java index cc4b732..e99b725 100644 --- a/src/main/java/com/moral/mapper/RoleMapper.java +++ b/src/main/java/com/moral/mapper/RoleMapper.java @@ -2,16 +2,13 @@ import java.util.List; -import org.apache.ibatis.annotations.Param; - import com.moral.common.mapper.BaseMapper; import com.moral.entity.Role; +import tk.mybatis.mapper.entity.Example; + public interface RoleMapper extends BaseMapper<Role> { - int insertSelective(Role role); + List<Role> getRoleList(Example example); - int updateByPrimaryKeySelective(Role role); - - List<Role> getRoleList(@Param("roleName") String roleName); } -- Gitblit v1.8.0