Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
6a654cf4
Commit
6a654cf4
authored
Sep 10, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):编辑验证使用登记证号bug
parent
5c5e4492
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
CommonEquipDataProcessService.java
...biz/edit/process/equip/CommonEquipDataProcessService.java
+4
-1
SingleEquipChangeProcess.java
...e/jg/biz/edit/process/equip/SingleEquipChangeProcess.java
+4
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/process/equip/CommonEquipDataProcessService.java
View file @
6a654cf4
...
...
@@ -1151,6 +1151,8 @@ public class CommonEquipDataProcessService {
if
(
idxBizJgProjectContraptionServiceImpl
.
count
(
queryWrapper
)
>
0
)
{
throw
new
BadRequest
(
"使用登记证编号已存在!"
);
}
jgRegisterInfoService
.
checkUseRegistrationCode
(
dto
.
getUseRegistrationCode
(),
"unit"
);
if
(!
ValidationUtil
.
isEmpty
(
dto
.
getUseRegistrationCode
())){
jgRegisterInfoService
.
checkUseRegistrationCode
(
dto
.
getUseRegistrationCode
(),
"unit"
);
}
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/process/equip/SingleEquipChangeProcess.java
View file @
6a654cf4
...
...
@@ -29,6 +29,7 @@ import org.elasticsearch.index.query.QueryBuilders;
import
org.elasticsearch.search.SearchHit
;
import
org.elasticsearch.search.builder.SearchSourceBuilder
;
import
org.springframework.stereotype.Component
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
java.io.IOException
;
...
...
@@ -287,7 +288,9 @@ public class SingleEquipChangeProcess implements IEquipChangeDataProcessStrategy
}
}
}
idxBizJgRegisterInfoServiceImpl
.
checkUseRegistrationCode
(
registerInfoNew
.
getUseOrgCode
(),
"unit"
);
if
(!
ValidationUtil
.
isEmpty
(
registerInfoNew
.
getUseOrgCode
())){
idxBizJgRegisterInfoServiceImpl
.
checkUseRegistrationCode
(
registerInfoNew
.
getUseOrgCode
(),
"unit"
);
}
}
@Override
...
...
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