解决mybaits-plus无法添加与修改的问题,解决方法:切换为mybaits
parent
d4b8059834
commit
9f1fac8385
|
@ -8,5 +8,5 @@ import com.muyu.system.domain.SysConfig;
|
|||
* @description: 配置mybatis配置
|
||||
* @Date 2023-11-13 上午 10:05
|
||||
*/
|
||||
public interface SysConfigMapper extends BaseMapper<SysConfig> {
|
||||
public interface SysConfigMapper{
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysDeptMapper extends BaseMapper<SysDept> {
|
||||
public interface SysDeptMapper {
|
||||
/**
|
||||
* 查询部门管理数据
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysLogininforMapper extends BaseMapper<SysLogininfor> {
|
||||
public interface SysLogininforMapper {
|
||||
/**
|
||||
* 新增系统登录日志
|
||||
*
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysMenuMapper extends BaseMapper<SysMenu> {
|
||||
public interface SysMenuMapper {
|
||||
/**
|
||||
* 查询系统菜单列表
|
||||
*
|
||||
|
|
|
@ -14,7 +14,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysNoticeMapper extends BaseMapper<SysNotice> {
|
||||
public interface SysNoticeMapper {
|
||||
/**
|
||||
* 查询公告信息
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysOperLogMapper extends BaseMapper<SysOperLog> {
|
||||
public interface SysOperLogMapper {
|
||||
/**
|
||||
* 新增操作日志
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysPostMapper extends BaseMapper<SysPost> {
|
||||
public interface SysPostMapper {
|
||||
/**
|
||||
* 查询岗位数据集合
|
||||
*
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysRoleDeptMapper extends BaseMapper<SysRoleDept> {
|
||||
public interface SysRoleDeptMapper {
|
||||
/**
|
||||
* 通过角色ID删除角色和部门关联
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysRoleMapper extends BaseMapper<SysRole> {
|
||||
public interface SysRoleMapper {
|
||||
/**
|
||||
* 根据条件分页查询角色数据
|
||||
*
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
|
||||
public interface SysRoleMenuMapper{
|
||||
/**
|
||||
* 查询菜单使用数量
|
||||
*
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysUserMapper extends BaseMapper<SysUser> {
|
||||
public interface SysUserMapper {
|
||||
/**
|
||||
* 根据条件分页查询用户列表
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysUserPostMapper extends BaseMapper<SysUserPost> {
|
||||
public interface SysUserPostMapper{
|
||||
/**
|
||||
* 通过用户ID删除用户和岗位关联
|
||||
*
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
|
||||
public interface SysUserRoleMapper {
|
||||
/**
|
||||
* 通过用户ID删除用户和角色关联
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
* @description: 配置plus业务层
|
||||
* @Date 2023-11-13 上午 10:06
|
||||
*/
|
||||
public interface SysConfigService extends IService<SysConfig> {
|
||||
public interface SysConfigService{
|
||||
List<SysConfig> pageQuery (SysConfig config);
|
||||
|
||||
/**
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysDeptService extends IService<SysDept> {
|
||||
public interface SysDeptService{
|
||||
/**
|
||||
* 查询部门管理数据
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysLogininforService extends IService<SysLogininfor> {
|
||||
public interface SysLogininforService{
|
||||
/**
|
||||
* 新增系统登录日志
|
||||
*
|
||||
|
|
|
@ -13,7 +13,7 @@ import java.util.Set;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysMenuService extends IService<SysMenu> {
|
||||
public interface SysMenuService{
|
||||
/**
|
||||
* 根据用户查询系统菜单列表
|
||||
*
|
||||
|
|
|
@ -14,7 +14,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysNoticeService extends IService<SysNotice> {
|
||||
public interface SysNoticeService{
|
||||
/**
|
||||
* 查询公告信息
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysOperLogService extends IService<SysOperLog> {
|
||||
public interface SysOperLogService{
|
||||
/**
|
||||
* 新增操作日志
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysPostService extends IService<SysPost> {
|
||||
public interface SysPostService {
|
||||
/**
|
||||
* 查询岗位信息集合
|
||||
*
|
||||
|
|
|
@ -12,7 +12,7 @@ import java.util.Set;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysRoleService extends IService<SysRole> {
|
||||
public interface SysRoleService {
|
||||
/**
|
||||
* 根据条件分页查询角色数据
|
||||
*
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
*
|
||||
* @author muyu
|
||||
*/
|
||||
public interface SysUserService extends IService<SysUser> {
|
||||
public interface SysUserService{
|
||||
/**
|
||||
* 根据条件分页查询用户列表
|
||||
*
|
||||
|
|
|
@ -23,8 +23,7 @@ import java.util.Objects;
|
|||
* @Date 2023-11-13 上午 10:06
|
||||
*/
|
||||
@Service
|
||||
public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig>
|
||||
implements SysConfigService {
|
||||
public class SysConfigServiceImpl implements SysConfigService {
|
||||
|
||||
@Autowired
|
||||
private RedisService redisService;
|
||||
|
|
|
@ -30,7 +30,7 @@ import java.util.stream.Collectors;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> implements SysDeptService {
|
||||
public class SysDeptServiceImpl implements SysDeptService {
|
||||
@Autowired
|
||||
private SysDeptMapper deptMapper;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.util.List;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysLogininforServiceImpl extends ServiceImpl<SysLogininforMapper, SysLogininfor> implements SysLogininforService {
|
||||
public class SysLogininforServiceImpl implements SysLogininforService {
|
||||
|
||||
@Autowired
|
||||
private SysLogininforMapper logininforMapper;
|
||||
|
|
|
@ -27,7 +27,7 @@ import java.util.stream.Collectors;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {
|
||||
public class SysMenuServiceImpl implements SysMenuService {
|
||||
public static final String PREMISSION_STRING = "perms[\"{0}\"]";
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.List;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysNoticeServiceImpl extends ServiceImpl<SysNoticeMapper, SysNotice> implements SysNoticeService {
|
||||
public class SysNoticeServiceImpl implements SysNoticeService {
|
||||
@Autowired
|
||||
private SysNoticeMapper noticeMapper;
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.util.List;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements SysOperLogService {
|
||||
public class SysOperLogServiceImpl implements SysOperLogService {
|
||||
@Autowired
|
||||
private SysOperLogMapper operLogMapper;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ import java.util.List;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> implements SysPostService {
|
||||
public class SysPostServiceImpl implements SysPostService {
|
||||
@Autowired
|
||||
private SysPostMapper postMapper;
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ import java.util.*;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {
|
||||
public class SysRoleServiceImpl implements SysRoleService {
|
||||
@Autowired
|
||||
private SysRoleMapper roleMapper;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import java.util.stream.Collectors;
|
|||
* @author muyu
|
||||
*/
|
||||
@Service
|
||||
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService {
|
||||
public class SysUserServiceImpl implements SysUserService {
|
||||
private static final Logger log = LoggerFactory.getLogger(SysUserServiceImpl.class);
|
||||
@Autowired
|
||||
protected Validator validator;
|
||||
|
|
Loading…
Reference in New Issue