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
15856c53
Commit
15856c53
authored
Dec 25, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):单位变更限制气瓶单次5000
parent
87cd0efb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+7
-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/JgChangeRegistrationUnitServiceImpl.java
View file @
15856c53
...
@@ -95,6 +95,7 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
...
@@ -95,6 +95,7 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
private
static
final
String
RECORD
=
"record"
;
private
static
final
String
RECORD
=
"record"
;
private
static
final
String
SEQUENCE_NBR
=
"sequenceNbr"
;
private
static
final
String
SEQUENCE_NBR
=
"sequenceNbr"
;
private
static
final
String
EQU_CODE_CC
=
"5000"
;
private
static
final
String
EQU_CODE_CC
=
"5000"
;
private
static
final
int
ONCE_MAX_SUBMIT
=
5000
;
private
final
List
<
String
>
NOT_FLOWING_STATE
=
Arrays
.
asList
(
"使用单位待提交"
,
"一级受理已驳回"
,
"使用单位已撤回"
,
"已作废"
,
"已完成"
);
private
final
List
<
String
>
NOT_FLOWING_STATE
=
Arrays
.
asList
(
"使用单位待提交"
,
"一级受理已驳回"
,
"使用单位已撤回"
,
"已作废"
,
"已完成"
);
...
@@ -553,6 +554,9 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
...
@@ -553,6 +554,9 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
if
(
CollectionUtils
.
isEmpty
(
deviceList
))
{
if
(
CollectionUtils
.
isEmpty
(
deviceList
))
{
throw
new
BadRequest
(
"请选择设备后提交"
);
throw
new
BadRequest
(
"请选择设备后提交"
);
}
}
if
(
deviceList
.
size
()
>
ONCE_MAX_SUBMIT
)
{
throw
new
BadRequest
(
"单次提交最多允许 "
+
ONCE_MAX_SUBMIT
+
" 条数据,请分批提交!"
);
}
if
(
SUBMIT_TYPE_FLOW
.
equals
(
submitType
))
{
//放在最后面防止前面有异常
if
(
SUBMIT_TYPE_FLOW
.
equals
(
submitType
))
{
//放在最后面防止前面有异常
//如果是提交,用于校验设备是否已经在流程中,如果不在标记设备已经在流程中
//如果是提交,用于校验设备是否已经在流程中,如果不在标记设备已经在流程中
CompanyBo
company
=
reginParams
.
getCompany
();
CompanyBo
company
=
reginParams
.
getCompany
();
...
@@ -893,6 +897,9 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
...
@@ -893,6 +897,9 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
if
(
CollectionUtils
.
isEmpty
(
deviceList
))
{
if
(
CollectionUtils
.
isEmpty
(
deviceList
))
{
throw
new
BadRequest
(
"请选择设备后提交"
);
throw
new
BadRequest
(
"请选择设备后提交"
);
}
}
if
(
deviceList
.
size
()
>
ONCE_MAX_SUBMIT
)
{
throw
new
BadRequest
(
"单次提交最多允许 "
+
ONCE_MAX_SUBMIT
+
" 条数据,请分批提交!"
);
}
String
applyNo
=
changeRegistrationUnitDto
.
getApplyNo
();
String
applyNo
=
changeRegistrationUnitDto
.
getApplyNo
();
List
<
String
>
applyNoList
=
ValidationUtil
.
isEmpty
(
applyNo
)
List
<
String
>
applyNoList
=
ValidationUtil
.
isEmpty
(
applyNo
)
?
Optional
.
ofNullable
(
tzsServiceFeignClient
.
applicationFormCode
(
ApplicationFormTypeEnum
.
DWBG
.
getCode
(),
1
))
?
Optional
.
ofNullable
(
tzsServiceFeignClient
.
applicationFormCode
(
ApplicationFormTypeEnum
.
DWBG
.
getCode
(),
1
))
...
...
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