Skip to content

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

@Wenshiqi222

Description

@Wenshiqi222

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions