Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
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
徐俊
yn-health-science
Commits
625704a5
Commit
625704a5
authored
Jul 31, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
add017bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ComBatchServiceImpl.java
...com/yiboshi/science/service/impl/ComBatchServiceImpl.java
+4
-4
No files found.
science-admin/src/main/java/com/yiboshi/science/service/impl/ComBatchServiceImpl.java
View file @
625704a5
...
...
@@ -106,10 +106,10 @@ public class ComBatchServiceImpl extends BaseServiceImpl<ComBatchDAO, ComBatchQu
throw
new
BusinessException
(
"批次不存在或已删除!"
);
if
(!
dto
.
getYear
().
equals
(
batch
.
getYear
())
||
!
dto
.
getBatch
().
equals
(
batch
.
getBatch
()))
{
ComBatch
comBatch
=
new
ComBatch
();
b
atch
.
setYear
(
dto
.
getYear
());
b
atch
.
setBatch
(
dto
.
getBatch
());
b
atch
.
setSystemType
(
dto
.
getSystemType
());
b
atch
.
setTimeType
(
dto
.
getTimeType
());
comB
atch
.
setYear
(
dto
.
getYear
());
comB
atch
.
setBatch
(
dto
.
getBatch
());
comB
atch
.
setSystemType
(
dto
.
getSystemType
());
comB
atch
.
setTimeType
(
dto
.
getTimeType
());
comBatch
=
this
.
getEntity
(
comBatch
);
if
(
null
!=
comBatch
)
throw
new
BusinessException
(
"年度批次已存在!"
);
...
...
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