当前位置:网站首页>[MP error] MP: 'getbasemappe serviceimpl' claims
[MP error] MP: 'getbasemappe serviceimpl' claims
2022-07-28 15:16:00 【Hello, did you touch it】
- ServiceImp Report errors
‘getBaseMapper()’ in ‘com.baomidou.mybatisplus.extension.service.impl.ServiceImpl’ clashes with ‘getBaseMapper()’ in ‘com.baomidou.mybatisplus.extension.service.IService’; attempting to use incompatible return type
stay MyBatis-plus in , The general reference package is
com.baomidou.mybatisplus.core.mapper;
Look at the source code ,IService And its implementation class ServiceImpl Yes Mapper All the requirements are
<M extends BaseMapper<T>, T>
ServiceImpl<M extends BaseMapper<T>, T> implements IService<T>
Problem solving : Check your own definition xxServiceI Used in mapper Whether it is BaseMapper Subclasses of , And
Mapper Generic references should be associated with IService bring into correspondence with .
边栏推荐
- SystemVerilog
- 3540. 二叉搜索树
- HJS-DE1/2时间继电器
- When MySQL uses left join to query tables, the query is slow because the connection conditions are not properly guided
- CCSP international registered cloud security experts set up examination rooms in China
- @DS('slave') 多数据源兼容事务问题解决方案
- crmeb v4.3部署流程
- Instant experience | further improve application device compatibility with cts-d
- How Charles installs and uses
- idea调试burpsuit插件
猜你喜欢

即刻体验 | 借助 CTS-D 进一步提升应用设备兼容性

汇编学习

Talk about low code / zero code tools

2021 year end summary of gains and losses

Xiaobai can understand the 35 necessary questions in MySQL interview

When MySQL uses left join to query tables, the query is slow because the connection conditions are not properly guided

模板注入总结

DAY:7/11

crmeb v4.3部署流程

MySQL authorization method
随机推荐
【游戏测试工程师】初识游戏测试—你了解它吗?
3511. Water pouring problem
An idea of modifying vertex height with shader vertex shader
JS常用的3种弹出框
chrome插件调试
mysql 8.0常用(持续更新)
3559. 围圈报数
Introduction to mqtt protocol
企业微信客服链接,企业微信客服聊天
即刻体验 | 借助 CTS-D 进一步提升应用设备兼容性
Xiaobai can understand the 35 necessary questions in MySQL interview
MLX90640 红外热成像仪传感器模块开发笔记(八)
3715. Minimum number of exchanges
Pyinstaller packages py as an EXE file
No files or folders found to process
redis常用命令总结(自备)
shellcode编写(未完)
The automatic prompt of vs code code is missing - a tick to solve it
Solution to the problem of high collapse caused by float (including all methods)
4518. 最低票价