From 790c2ba4a0b46edf191e3bac84931f796bd42b8f Mon Sep 17 00:00:00 2001 From: zhangf <1603559716@qq.com> Date: 星期三, 24 七月 2024 09:02:49 +0800 Subject: [PATCH] 三方对接接口优化 --- exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThStudentMapper.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThStudentMapper.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThStudentMapper.java new file mode 100644 index 0000000..a1259be --- /dev/null +++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThStudentMapper.java @@ -0,0 +1,22 @@ +package com.gkhy.exam.institutionalaccess.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.gkhy.exam.institutionalaccess.entity.ThStudent; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; + +import java.util.List; + +@RequestMapping +@Mapper +public interface ThStudentMapper extends BaseMapper<ThStudent> { + Integer updateBatch(@Param("list") List<ThStudent> list); + + + Integer insertBatch(@Param("list") List<ThStudent> saveSudentList); + + List<ThStudent> getByIdCards(@Param("idcards") List<String> idcards); + + List<ThStudent> getNameByIdcards(@Param("idcards")List<String> idcards); +} -- Gitblit v1.9.2