Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
志
志愿填报
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
单欣鑫
志愿填报
Commits
d4d38053
Commit
d4d38053
authored
Jun 29, 2026
by
wangxudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态获取年份
parent
0482e98e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
MallSchoolAcceptServiceImpl.java
.../ruoyi/mall/service/impl/MallSchoolAcceptServiceImpl.java
+3
-2
No files found.
ruoyi-system/src/main/java/com/ruoyi/mall/service/impl/MallSchoolAcceptServiceImpl.java
View file @
d4d38053
...
...
@@ -804,7 +804,8 @@ public class MallSchoolAcceptServiceImpl implements IMallSchoolAcceptService {
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
String
importAcceptData
(
List
<
NewAcceptBO
>
list
)
{
String
afterYear
=
"2023"
;
NewAcceptBO
ne
=
list
.
get
(
0
);
String
afterYear
=
String
.
valueOf
(
Integer
.
parseInt
(
ne
.
getAcceptYear
())-
1
);
// 重置去年数据为旧数据
mallSchoolAcceptMapper
.
resetAfterData
(
afterYear
);
mallSchoolAcceptMapper
.
resetAfterRecordData
(
afterYear
);
...
...
@@ -840,7 +841,7 @@ public class MallSchoolAcceptServiceImpl implements IMallSchoolAcceptService {
String
ruleStr
=
replaceOther
(
newAcceptBO
.
getRuleStr
());
// 录取原则
BigDecimal
reference
=
newAcceptBO
.
getReference
();
// 参考分
String
acceptYear
=
"2024"
;
// 年份
String
acceptYear
=
newAcceptBO
.
getAcceptYear
()
;
// 年份
String
subjectType
=
newAcceptBO
.
getSubjectType
().
contains
(
"文"
)
?
"0"
:
"1"
;
// 学科
if
(
StringUtils
.
isBlank
(
batchName
)){
...
...
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