解决mybaits-plus无法添加与修改的问题,解决方法:切换为mybaits

master
面包骑士 2024-08-20 14:51:05 +08:00
parent d4b8059834
commit 9f1fac8385
31 changed files with 31 additions and 32 deletions

View File

@ -8,5 +8,5 @@ import com.muyu.system.domain.SysConfig;
* @description: mybatis * @description: mybatis
* @Date 2023-11-13 10:05 * @Date 2023-11-13 10:05
*/ */
public interface SysConfigMapper extends BaseMapper<SysConfig> { public interface SysConfigMapper{
} }

View File

@ -11,7 +11,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysDeptMapper extends BaseMapper<SysDept> { public interface SysDeptMapper {
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysLogininforMapper extends BaseMapper<SysLogininfor> { public interface SysLogininforMapper {
/** /**
* *
* *

View File

@ -11,7 +11,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysMenuMapper extends BaseMapper<SysMenu> { public interface SysMenuMapper {
/** /**
* *
* *

View File

@ -14,7 +14,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysNoticeMapper extends BaseMapper<SysNotice> { public interface SysNoticeMapper {
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysOperLogMapper extends BaseMapper<SysOperLog> { public interface SysOperLogMapper {
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysPostMapper extends BaseMapper<SysPost> { public interface SysPostMapper {
/** /**
* *
* *

View File

@ -11,7 +11,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysRoleDeptMapper extends BaseMapper<SysRoleDept> { public interface SysRoleDeptMapper {
/** /**
* ID * ID
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysRoleMapper extends BaseMapper<SysRole> { public interface SysRoleMapper {
/** /**
* *
* *

View File

@ -11,7 +11,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> { public interface SysRoleMenuMapper{
/** /**
* 使 * 使
* *

View File

@ -11,7 +11,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysUserMapper extends BaseMapper<SysUser> { public interface SysUserMapper {
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysUserPostMapper extends BaseMapper<SysUserPost> { public interface SysUserPostMapper{
/** /**
* ID * ID
* *

View File

@ -11,7 +11,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> { public interface SysUserRoleMapper {
/** /**
* ID * ID
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* @description: plus * @description: plus
* @Date 2023-11-13 10:06 * @Date 2023-11-13 10:06
*/ */
public interface SysConfigService extends IService<SysConfig> { public interface SysConfigService{
List<SysConfig> pageQuery (SysConfig config); List<SysConfig> pageQuery (SysConfig config);
/** /**

View File

@ -12,7 +12,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysDeptService extends IService<SysDept> { public interface SysDeptService{
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysLogininforService extends IService<SysLogininfor> { public interface SysLogininforService{
/** /**
* *
* *

View File

@ -13,7 +13,7 @@ import java.util.Set;
* *
* @author muyu * @author muyu
*/ */
public interface SysMenuService extends IService<SysMenu> { public interface SysMenuService{
/** /**
* *
* *

View File

@ -14,7 +14,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysNoticeService extends IService<SysNotice> { public interface SysNoticeService{
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysOperLogService extends IService<SysOperLog> { public interface SysOperLogService{
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysPostService extends IService<SysPost> { public interface SysPostService {
/** /**
* *
* *

View File

@ -12,7 +12,7 @@ import java.util.Set;
* *
* @author muyu * @author muyu
*/ */
public interface SysRoleService extends IService<SysRole> { public interface SysRoleService {
/** /**
* *
* *

View File

@ -10,7 +10,7 @@ import java.util.List;
* *
* @author muyu * @author muyu
*/ */
public interface SysUserService extends IService<SysUser> { public interface SysUserService{
/** /**
* *
* *

View File

@ -23,8 +23,7 @@ import java.util.Objects;
* @Date 2023-11-13 10:06 * @Date 2023-11-13 10:06
*/ */
@Service @Service
public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig> public class SysConfigServiceImpl implements SysConfigService {
implements SysConfigService {
@Autowired @Autowired
private RedisService redisService; private RedisService redisService;

View File

@ -30,7 +30,7 @@ import java.util.stream.Collectors;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> implements SysDeptService { public class SysDeptServiceImpl implements SysDeptService {
@Autowired @Autowired
private SysDeptMapper deptMapper; private SysDeptMapper deptMapper;

View File

@ -15,7 +15,7 @@ import java.util.List;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysLogininforServiceImpl extends ServiceImpl<SysLogininforMapper, SysLogininfor> implements SysLogininforService { public class SysLogininforServiceImpl implements SysLogininforService {
@Autowired @Autowired
private SysLogininforMapper logininforMapper; private SysLogininforMapper logininforMapper;

View File

@ -27,7 +27,7 @@ import java.util.stream.Collectors;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService { public class SysMenuServiceImpl implements SysMenuService {
public static final String PREMISSION_STRING = "perms[\"{0}\"]"; public static final String PREMISSION_STRING = "perms[\"{0}\"]";
@Autowired @Autowired

View File

@ -20,7 +20,7 @@ import java.util.List;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysNoticeServiceImpl extends ServiceImpl<SysNoticeMapper, SysNotice> implements SysNoticeService { public class SysNoticeServiceImpl implements SysNoticeService {
@Autowired @Autowired
private SysNoticeMapper noticeMapper; private SysNoticeMapper noticeMapper;

View File

@ -15,7 +15,7 @@ import java.util.List;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements SysOperLogService { public class SysOperLogServiceImpl implements SysOperLogService {
@Autowired @Autowired
private SysOperLogMapper operLogMapper; private SysOperLogMapper operLogMapper;

View File

@ -19,7 +19,7 @@ import java.util.List;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysPostServiceImpl extends ServiceImpl<SysPostMapper, SysPost> implements SysPostService { public class SysPostServiceImpl implements SysPostService {
@Autowired @Autowired
private SysPostMapper postMapper; private SysPostMapper postMapper;

View File

@ -29,7 +29,7 @@ import java.util.*;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService { public class SysRoleServiceImpl implements SysRoleService {
@Autowired @Autowired
private SysRoleMapper roleMapper; private SysRoleMapper roleMapper;

View File

@ -34,7 +34,7 @@ import java.util.stream.Collectors;
* @author muyu * @author muyu
*/ */
@Service @Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService { public class SysUserServiceImpl implements SysUserService {
private static final Logger log = LoggerFactory.getLogger(SysUserServiceImpl.class); private static final Logger log = LoggerFactory.getLogger(SysUserServiceImpl.class);
@Autowired @Autowired
protected Validator validator; protected Validator validator;