Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
V
volunteer_service
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
licc
volunteer_service
Commits
a27a15bc
Commit
a27a15bc
authored
Feb 08, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化查询方案
parent
2c4e31c7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
69 deletions
+45
-69
VolunteerMapper.xml
...ergy-mapper/src/main/resources/mapper/VolunteerMapper.xml
+3
-0
ProfessionServiceImpl.java
.../cn/wisenergy/service/app/impl/ProfessionServiceImpl.java
+1
-1
SchemeServiceImpl.java
...java/cn/wisenergy/service/app/impl/SchemeServiceImpl.java
+41
-68
No files found.
wisenergy-mapper/src/main/resources/mapper/VolunteerMapper.xml
View file @
a27a15bc
...
...
@@ -113,6 +113,9 @@
<if
test=
"downGrade != null"
>
and lowest_mark >#{downGrade}
</if>
<if
test=
"type != null"
>
and type =#{type}
</if>
<if
test=
"volunteerIds != null and volunteerIds.size > 0 "
>
and id NOT IN
<foreach
collection=
"volunteerIds"
index=
"index"
item=
"id"
separator=
","
open=
"("
close=
")"
>
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/ProfessionServiceImpl.java
View file @
a27a15bc
...
...
@@ -158,7 +158,7 @@ public class ProfessionServiceImpl extends ServiceImpl<ProfessionMapper, Profess
return
SchemeTypeEnums
.
JUNIOR_COLLEGE_SPORTS
.
getCode
();
}
//type == 4
体育考生
//type == 4
文学编导
if
(
StudentType
.
LITERATURE_STUDENT
.
getCode
().
equals
(
type
))
{
//获取文学编导本科一批录取规则
AdmissionRule
firstRule
=
admissionRuleMapper
.
getByType
(
SchemeTypeEnums
.
UNDERGRADUATE_LITERATURE
.
getCode
());
...
...
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/SchemeServiceImpl.java
View file @
a27a15bc
This diff is collapsed.
Click to expand it.
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