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
82aa88aa
Commit
82aa88aa
authored
Jun 21, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):暂存bug修改
parent
09097542
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+3
-3
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+9
-2
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/DataDockServiceImpl.java
View file @
82aa88aa
...
...
@@ -1052,9 +1052,9 @@ public class DataDockServiceImpl {
if
(
remark
.
equals
(
"his"
)){
checkNotBlank
(
data
.
getUseOrgCode
(),
"使用登记证编号不能为空;"
,
rowError
);
if
(!
StringUtils
.
isEmpty
(
data
.
getUseOrgCode
()))
{
if
(!
this
.
useOrgCodeRegularMatching
(
data
))
{
rowError
.
append
(
"使用登记证编号格式不正确;"
);
}
//
if (!this.useOrgCodeRegularMatching(data)) {
//
rowError.append("使用登记证编号格式不正确;");
//
}
if
(!
isYLGD
&&
useOrgCodeList
.
contains
(
data
.
getUseOrgCode
()))
{
rowError
.
append
(
"使用登记证编号不能重复;"
);
}
...
...
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 @
82aa88aa
...
...
@@ -566,6 +566,13 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
@GlobalTransactional
(
rollbackFor
=
Exception
.
class
)
public
List
<
Map
<
String
,
Object
>>
handleUseRegistration
(
JSONObject
map
)
{
try
{
String
equipId
=
Optional
.
ofNullable
(
Objects
.
toString
(
map
.
get
(
"equipId"
),
null
))
.
map
(
String:
:
trim
)
.
filter
(
s
->
!
"null"
.
equalsIgnoreCase
(
s
))
.
orElse
(
null
);
if
(
equipId
==
null
)
{
throw
new
BadRequest
(
"请选择设备后进行暂存!"
);
}
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"submit"
)))
{
// 校验登记表字段是否有值
JSONArray
useRegistrationFormFile
=
map
.
getJSONArray
(
"useRegistrationFormFile"
);
...
...
@@ -843,8 +850,8 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
CompanyBo
company
=
reginParams
.
getCompany
();
String
equListCode
=
String
.
valueOf
(
map
.
get
(
"EQU_LIST_CODE"
));
List
<
Map
<
String
,
Object
>>
equipmentLists
=
(
List
<
Map
<
String
,
Object
>>)
map
.
get
(
"equipmentLists"
);
if
(
!
ObjectUtils
.
isEmpty
(
map
.
get
(
"submit"
))
&&
CollectionUtils
.
isEmpty
(
equipmentLists
))
{
throw
new
BadRequest
(
"请选择设备
信息
!"
);
if
(
CollectionUtils
.
isEmpty
(
equipmentLists
))
{
throw
new
BadRequest
(
"请选择设备
后进行暂存
!"
);
}
if
(
CylinderTypeEnum
.
CYLINDER
.
getCode
().
equals
(
map
.
get
(
"EQU_CATEGORY_CODE"
)))
{
...
...
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