Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
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
platform
hp-smart
Commits
316ce184
Commit
316ce184
authored
Apr 25, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-04-25 设备管理设备编码重复提示优化
parent
2d9316af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ServiceHPSB003.java
.../java/com/baosight/hpjx/hp/sb/service/ServiceHPSB003.java
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/sb/service/ServiceHPSB003.java
View file @
316ce184
...
...
@@ -209,6 +209,6 @@ public class ServiceHPSB003 extends ServiceEPBase {
map
.
put
(
"deviceCodeStr"
,
hpsb001
.
getDeviceCode
());
map
.
put
(
HPSB003
.
FIELD_DELETE_FLAG
,
hpsb001
.
getDeleteFlag
());
List
<
HPSB003
>
hpsb003List
=
this
.
dao
.
query
(
HPSB003
.
QUERY
,
map
);
AssertUtils
.
isNotEmpty
(
hpsb003List
,
String
.
format
(
"设备编码[%s]已存在,添加失败"
,
hpsb001
.
getDeviceCode
()));
AssertUtils
.
isNotEmpty
(
hpsb003List
,
String
.
format
(
"设备编码[%s]已存在,添加失败
!
"
,
hpsb001
.
getDeviceCode
()));
}
}
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