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
dfeca9d5
Commit
dfeca9d5
authored
Dec 05, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):气瓶使用登记限制单次5000
parent
9672dc11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+4
-0
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/service/impl/JgUseRegistrationServiceImpl.java
View file @
dfeca9d5
...
...
@@ -161,6 +161,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
private
static
final
String
DEFINITION_KEY
=
"useRegistration"
;
private
static
final
String
JIAN_CHA_ROLE_ID
=
"1864242478501093377"
;
private
static
final
int
ONCE_MAX_SUBMIT
=
5000
;
private
static
final
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd"
);;
private
static
final
int
BATCH_SIZE
=
1000
;
private
final
List
<
String
>
NOT_FLOWING_STATE
=
Arrays
.
asList
(
"使用单位待提交"
,
"一级受理已驳回"
,
"使用单位已撤回"
,
"已作废"
);
...
...
@@ -940,6 +941,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"submit"
))
&&
hasExistingCertificate
&&
map
.
get
(
"isAddEquip"
).
equals
(
"0"
))
{
throw
new
BadRequest
(
"该企业已存在气瓶证书,请选择增补功能进行登记!"
);
}
if
(
equipmentLists
.
size
()
>
ONCE_MAX_SUBMIT
)
{
throw
new
BadRequest
(
"单次提交最多允许 "
+
ONCE_MAX_SUBMIT
+
" 条数据,请分批提交!"
);
}
}
// 压力管道逻辑(如果是合并到已有证的工程装置,需要去除已完成设备)
...
...
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