Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没有自定义SqlSessionFactory,也加了@EnableMPP,使用updateByMultiId时仍然报Invalid bound statement (not found) #18

Open
Wenshiqi222 opened this issue May 7, 2023 · 1 comment

Comments

@Wenshiqi222
Copy link

Service:

public interface ChooseCourseService extends IMppService<ChooseCourse> {

}
@Service
public class ChooseCourseServiceImpl extends MppServiceImpl<ChooseCourseMapper, ChooseCourse> implements ChooseCourseService {


}

Mapper

public interface ChooseCourseMapper extends MppBaseMapper<ChooseCourse> {
    int insertChosenCourse(Integer userId, Integer courseId);
    int deleteChosenCourse(Integer userId, Integer courseId);

    ChooseCourse selectChooseCourseByUserIdAndCourseId(Integer userId,Integer courseId);
}

jdk 19
mpp-1.7.4

@jeffreyning
Copy link
Owner

先确认一下与mp版本是否兼容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants