Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
28973cf4
Commit
28973cf4
authored
Mar 26, 2024
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-03-26 学生违纪BUG
parent
9386f13d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
smart-campus/src/main/resources/mapper/schoolRewardsPunishments/SchoolScDisciplineMapper.xml
+6
-6
No files found.
smart-campus/src/main/resources/mapper/schoolRewardsPunishments/SchoolScDisciplineMapper.xml
View file @
28973cf4
...
@@ -121,8 +121,8 @@
...
@@ -121,8 +121,8 @@
<if
test=
"name != null"
>
name,
</if>
<if
test=
"name != null"
>
name,
</if>
<if
test=
"sex != null"
>
sex,
</if>
<if
test=
"sex != null"
>
sex,
</if>
<if
test=
"idCard != null"
>
id_card,
</if>
<if
test=
"idCard != null"
>
id_card,
</if>
<if
test=
"classTeacher
Id
!= null"
>
class_teacher_id,class_teacher,
</if>
<if
test=
"classTeacher != null"
>
class_teacher_id,class_teacher,
</if>
<if
test=
"gradeDirector
Id
!= null"
>
grade_director_id,grade_director,
</if>
<if
test=
"gradeDirector != null"
>
grade_director_id,grade_director,
</if>
<if
test=
"violateType != null"
>
violate_type,
</if>
<if
test=
"violateType != null"
>
violate_type,
</if>
<if
test=
"violateNum != null"
>
violate_num,
</if>
<if
test=
"violateNum != null"
>
violate_num,
</if>
<if
test=
"punishResult != null"
>
punish_result,
</if>
<if
test=
"punishResult != null"
>
punish_result,
</if>
...
@@ -149,8 +149,8 @@
...
@@ -149,8 +149,8 @@
<if
test=
"name != null"
>
#{name},
</if>
<if
test=
"name != null"
>
#{name},
</if>
<if
test=
"sex != null"
>
#{sex},
</if>
<if
test=
"sex != null"
>
#{sex},
</if>
<if
test=
"idCard != null"
>
#{idCard},
</if>
<if
test=
"idCard != null"
>
#{idCard},
</if>
<if
test=
"classTeacher
Id != null"
>
#{classTeacherId},(select user_name from sys_user where user_id = #{classTeacherId})
,
</if>
<if
test=
"classTeacher
!= null"
>
(select user_id from sys_user where user_name = #{classTeacher}),#{classTeacher}
,
</if>
<if
test=
"gradeDirector
Id != null"
>
#{gradeDirectorId},(select user_name from sys_user where user_id = #{gradeDirectorId})
,
</if>
<if
test=
"gradeDirector
!= null"
>
(select user_id from sys_user where user_name = #{gradeDirector}),#{gradeDirector}
,
</if>
<if
test=
"violateType != null"
>
#{violateType},
</if>
<if
test=
"violateType != null"
>
#{violateType},
</if>
<if
test=
"violateNum != null"
>
#{violateNum},
</if>
<if
test=
"violateNum != null"
>
#{violateNum},
</if>
<if
test=
"punishResult != null"
>
#{punishResult},
</if>
<if
test=
"punishResult != null"
>
#{punishResult},
</if>
...
@@ -181,8 +181,8 @@
...
@@ -181,8 +181,8 @@
<if
test=
"name != null"
>
name = #{name},
</if>
<if
test=
"name != null"
>
name = #{name},
</if>
<if
test=
"sex != null"
>
sex = #{sex},
</if>
<if
test=
"sex != null"
>
sex = #{sex},
</if>
<if
test=
"idCard != null"
>
id_card = #{idCard},
</if>
<if
test=
"idCard != null"
>
id_card = #{idCard},
</if>
<if
test=
"classTeacher
Id != null"
>
class_teacher_id = #{classTeacherId},class_teacher = (select user_name from sys_user where user_id = #{classTeacherId}),
</if>
<if
test=
"classTeacher
!= null"
>
class_teacher_id = (select user_id from sys_user where user_name = #{classTeacher}), class_teacher = #{classTeacher},
</if>
<if
test=
"gradeDirector
Id != null"
>
grade_director_id = #{gradeDirectorId},grade_director = (select user_name from sys_user where user_id = #{gradeDirectorId})
,
</if>
<if
test=
"gradeDirector
!= null"
>
grade_director_id = (select user_id from sys_user where user_name = #{gradeDirector}), grade_director = #{gradeDirector}
,
</if>
<if
test=
"violateType != null"
>
violate_type = #{violateType},
</if>
<if
test=
"violateType != null"
>
violate_type = #{violateType},
</if>
<if
test=
"violateNum != null"
>
violate_num = #{violateNum},
</if>
<if
test=
"violateNum != null"
>
violate_num = #{violateNum},
</if>
<if
test=
"punishResult != null"
>
punish_result = #{punishResult},
</if>
<if
test=
"punishResult != null"
>
punish_result = #{punishResult},
</if>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment