小工具知识网

当前位置: 首页 > 行业知识 > test-mapper/service

行业知识

test-mapper/service

2026-11-06 20:59:26 来源:互联网转载

1

()
package com.xxx.common.mapper;import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;import com.xxx.common.entity.Collect;import com.baomidou.mybatisplus.core.mapper.BaseMapper;import java.util.List;/** * 

* Mapper 接口 *

* * @author XXX * @since 2022-02-16 */public interface CollectMapper extends BaseMapper { List selectList2(Collect collect);}

2

package com.xxx.common.mapper;import com.xxx.common.entity.Exam;import com.baomidou.mybatisplus.core.mapper.BaseMapper;/** * 

* Mapper 接口 *

* * @author XXX * @since 2022-02-15 */public interface ExamMapper extends BaseMapper {}

3

()
package com.xxx.common.mapper;import com.xxx.common.entity.Parent;import com.baomidou.mybatisplus.core.mapper.BaseMapper;import org.apache.ibatis.annotations.Param;import java.util.List;/** * 

* Mapper 接口 *

* * @author XXX * @since 2021-03-16 */public interface ParentMapper extends BaseMapper { //mybatis的mapper持久层与数据表关联的方式 //查询所有数据 List selectParentList(Parent parent); void insertParent(Parent parent); void updateParent(Parent parent); void removeParentById(Long id);}

4

package com.xxx.common.mapper;import com.xxx.common.entity.Report;import com.baomidou.mybatisplus.core.mapper.BaseMapper;import java.util.List;/** * 

* Mapper 接口 *

* * @author XXX * @since 2022-02-16 */public interface ReportMapper extends BaseMapper { List selectData(Report report);}

5

package com.xxx.common.mapper;import com.xxx.common.entity.Subject;import com

上一篇:服务器怎么唤醒屏幕?

下一篇:方舟怎么才能自己创服务器?