feat:删除绑定关系

feat:修改绑定关系权限问题
feat:学生导入饭卡
feat:学生充值导入
feat:学生用户类型增加监护人手机号
This commit is contained in:
dzc committed 2026-08-17 18:42:09 +08:00
1 parent 195756e80a
commit f7aab36210
33 files changed
+1863 -398

No files matched your search

@@ -19,6 +19,12 @@ public class SysUserStudentDto {
@Schema(description = "班级名称")
private String className;
/**
* 监护人手机号集合,多个手机号使用英文逗号分隔;表单提交后会去重并规范化。
*/
@Schema(description = "监护人手机号集合,多个手机号使用英文逗号分隔")
private String guardianPhones;
@Schema(description = "其他非核心扩展信息")
private String extJson;
}
@@ -44,6 +44,12 @@ public class SysUserStudentEntity extends Model<SysUserStudentEntity> {
@Schema(description = "班级名称")
private String className;
/**
* 监护人手机号集合,表单可直接维护;监护关系变更时按关系创建顺序重算,多个手机号使用英文逗号分隔。
*/
@Schema(description = "监护人手机号集合,多个手机号使用英文逗号分隔")
private String guardianPhones;
/**
* 其他非核心扩展信息
*/
@@ -69,4 +75,4 @@ public class SysUserStudentEntity extends Model<SysUserStudentEntity> {
*/
@Schema(description = "所属租户ID")
private Long tenantId;
}
}
@@ -80,6 +80,17 @@ public interface RemoteUserService {
@GetMapping("/user/get-name-and-mobile")
R<UserInfo> getUserByNameAndMobile(@RequestParam("name") String name, @RequestParam("mobile") String mobile);
/**
* 根据学生学校和学号精确查询学生用户。
*
* @param schoolName 学生身份扩展信息中的学校名称
* @param studentNo 学生身份扩展信息中的学号
* @return 唯一学生的用户信息;不存在或数据不唯一时返回失败响应
*/
@GetMapping("/user/get-student-by-school-and-no")
R<UserInfo> getStudentBySchoolNameAndStudentNo(@RequestParam("schoolName") String schoolName,
@RequestParam("studentNo") String studentNo);
/**
* 根据用户ID获取用户
*/