【新增、修改】1、新增 学生、教师关联关系;2、修改 用户表属性,权限属性

This commit is contained in:
任维炳
2025-04-23 17:24:58 +08:00
parent 121da7c76a
commit ec51e36d20
29 changed files with 707 additions and 24 deletions

View File

@@ -28,6 +28,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
</select>
<select id="selectExamSpecialtyPart" resultType="pc.exam.pp.module.exam.controller.admin.specialty.vo.SpecialtyQueryVo">
select sp_id as id, sp_name as name, parent_id, status, create_time
FROM exam_specialty
WHERE
(
LENGTH(ancestors) - LENGTH(REPLACE(ancestors, ',', ''))
) + 1 &lt;= 2 and status = 0 and deleted = 0
</select>
<select id="selectExamSpecialtyList" resultType="ExamSpecialty">
<include refid="selectExamSpecialtyVo"/>
<where>