From 045b55722b25ccc77d88671c5d6df309edb8a66d Mon Sep 17 00:00:00 2001
From: 钟日健 <5689795+arsn@user.noreply.gitee.com>
Date: Tue, 22 Feb 2022 16:00:34 +0800
Subject: [PATCH] 1. 保安员新增异步推送数据至群访用户表 2. 会员标记接口新增,会员标记成功,则创建会员记录和会员题库记录(包含120道题目) 3. web 端考试开始,查询题目判断用户是否为会员,如果为会员则从会员题库获取当前人员的考试题目(从120道题中随机抽取60道)

---
 src/main/java/org/springblade/modules/licet/mapper/LicetMapper.java |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.java b/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.java
index 0ca3eb5..34b43b8 100644
--- a/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.java
+++ b/src/main/java/org/springblade/modules/licet/mapper/LicetMapper.java
@@ -16,11 +16,13 @@
  */
 package org.springblade.modules.licet.mapper;
 
+import org.apache.ibatis.annotations.Param;
 import org.springblade.modules.licet.entity.Licet;
 import org.springblade.modules.licet.vo.LicetVO;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import java.util.List;
+import java.util.Map;
 
 /**
  *  Mapper 接口
@@ -37,6 +39,17 @@
 	 * @param licet
 	 * @return
 	 */
-	List<LicetVO> selectLicetPage(IPage page, LicetVO licet);
+	List<LicetVO> selectLicetPage(IPage page, @Param("licet") LicetVO licet);
+
+	/**
+	 *
+	 * @param licet
+	 * @return
+	 */
+	List<Map<Object, Object>> selectLicets(@Param("licet") LicetVO licet,
+										   @Param("id") String id,
+										   @Param("ptype") String ptype,
+										   @Param("originalname") String originalname,
+										   @Param("template") String template);
 
 }

--
Gitblit v1.9.3