feat:人员菜品预约统计增加人员和身份查询
This commit is contained in:
1 parent
5b4a505780
commit
78ce41a4de
10 files changed
+397
-19
No files matched your search
+2
-1
@@ -23,6 +23,7 @@ import com.bsd.pjcloud.admin.api.dto.user.SysUserStudentDto;
|
||||
import com.bsd.pjcloud.admin.api.dto.user.SysUserTeacherDto;
|
||||
import com.bsd.pjcloud.admin.api.entity.SysUser;
|
||||
import com.bsd.pjcloud.admin.api.vo.base.BaseIsIncludeTreeInterface;
|
||||
import com.bsd.pjcloud.admin.api.vo.base.BaseUserIdentityQueryInterface;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@@ -37,7 +38,7 @@ import java.util.List;
|
||||
@Data
|
||||
@Schema(description = "系统用户传输对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class UserDTO extends SysUser implements BaseIsIncludeTreeInterface {
|
||||
public class UserDTO extends SysUser implements BaseIsIncludeTreeInterface, BaseUserIdentityQueryInterface {
|
||||
|
||||
/**
|
||||
* 角色ID
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ public interface RemoteUserService {
|
||||
/**
|
||||
* 按当前登录人的数据权限分页查询用户基础信息和身份资料。
|
||||
*
|
||||
* <p>该接口不查询角色、岗位、人脸和审批流程,适用于只需要用户、部门及身份展示信息的业务列表。</p>
|
||||
* <p>该接口不返回角色、岗位、人脸和审批资料,但支持按人脸录入状态筛选,适用于只需要用户、部门及身份展示信息的业务列表。</p>
|
||||
*
|
||||
* @param current 当前页码,从 1 开始
|
||||
* @param size 每页用户数量
|
||||
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
package com.bsd.pjcloud.admin.api.vo.base;
|
||||
|
||||
import com.bsd.pjcloud.admin.api.dto.user.SysUserStudentDto;
|
||||
import com.bsd.pjcloud.admin.api.dto.user.SysUserTeacherDto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户身份查询条件公共契约。
|
||||
*
|
||||
* <p>管理端用户查询和跨服务业务查询都通过这组字段筛选用户身份及人脸录入状态。身份类型使用 UPMS
|
||||
* 的持久化/接口编码;学生、老师扩展资料中的字段沿用各自 DTO 的查询语义。</p>
|
||||
*/
|
||||
public interface BaseUserIdentityQueryInterface {
|
||||
|
||||
/**
|
||||
* 获取用户身份类型筛选集合。
|
||||
*
|
||||
* @return UPMS 身份协议编码集合;为空时不限制身份类型
|
||||
*/
|
||||
List<String> getIdentityTypes();
|
||||
|
||||
/**
|
||||
* 设置用户身份类型筛选集合。
|
||||
*
|
||||
* @param identityTypes UPMS 身份协议编码集合;为空时不限制身份类型
|
||||
*/
|
||||
void setIdentityTypes(List<String> identityTypes);
|
||||
|
||||
/**
|
||||
* 获取学生身份扩展筛选条件。
|
||||
*
|
||||
* @return 学号、学校、班级或监护人手机号条件;对象为空或字段均为空时不限制学生资料
|
||||
*/
|
||||
SysUserStudentDto getStudentInfo();
|
||||
|
||||
/**
|
||||
* 设置学生身份扩展筛选条件。
|
||||
*
|
||||
* @param studentInfo 学生身份查询条件;为空或字段均为空时不限制学生资料
|
||||
*/
|
||||
void setStudentInfo(SysUserStudentDto studentInfo);
|
||||
|
||||
/**
|
||||
* 获取老师身份扩展筛选条件。
|
||||
*
|
||||
* @return 老师学号条件;对象为空或学号为空时不限制老师资料
|
||||
*/
|
||||
SysUserTeacherDto getTeacherInfo();
|
||||
|
||||
/**
|
||||
* 设置老师身份扩展筛选条件。
|
||||
*
|
||||
* @param teacherInfo 老师身份查询条件;为空或学号为空时不限制老师资料
|
||||
*/
|
||||
void setTeacherInfo(SysUserTeacherDto teacherInfo);
|
||||
|
||||
/**
|
||||
* 获取人脸录入状态筛选条件。
|
||||
*
|
||||
* @return {@code 1} 表示存在未删除人脸记录,{@code 0} 表示不存在,空值表示不限制
|
||||
*/
|
||||
String getHasFace();
|
||||
|
||||
/**
|
||||
* 设置人脸录入状态筛选条件。
|
||||
*
|
||||
* @param hasFace {@code 1} 表示已录入,{@code 0} 表示未录入,空值表示全部
|
||||
*/
|
||||
void setHasFace(String hasFace);
|
||||
}
|
||||
Reference in new issue
Block a user