当前位置:网站首页>[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 .
边栏推荐
猜你喜欢

The second 1024, come on!
![UTF-8、UTF-16 和 UTF-32 字符编码之间的区别?[图文详解]](/img/a9/336390db64d871fa1655800c1e0efc.png)
UTF-8、UTF-16 和 UTF-32 字符编码之间的区别?[图文详解]

SQL labs detailed problem solving process (less1-less10)

每日一题(回溯)

PHP memory horse

JS -- realize the rotation chart (complete function)

Publish raspberry pie web page with cpolar (release of apache2 web page)

使用cpolar发布树莓派网页(apache2的安装测试)

Machine learning related concepts

When MySQL uses left join to query tables, the query is slow because the connection conditions are not properly guided
随机推荐
crmeb pro2.2即将增加的功能都有哪些?
Three pain points of software development! How to solve the applet container?
shellcode编写(未完)
2021-09-02
[complete installation package & tutorial] sqlserver basic installation_ Sqlserver completely uninstalled_ Sqlserver custom installation_ Getting started with sqlserver_ SQLSERVER database
The first self introduction quotation
Instant experience | further improve application device compatibility with cts-d
流畅到让人头皮发麻的单商户商城,你用过吗?
Knowledge map Foundation (I) - what is knowledge map
URP下使用GL进行绘制方法
What is the difference between UTF-8, utf-16 and UTF-32 character encoding? [graphic explanation]
For loop
知识付费开源系统
安装mosek,license安装位置查找
代码比较干净的多商户商城系统
svg 验证码识别体验
3564. 日期类
4518. Minimum ticket price
JS学习笔记24-28:结束
Publish raspberry pie web page with cpolar (apache2 installation test)