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
329af393
Commit
329af393
authored
Oct 17, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.fixBug:文件ID校验
parent
50efed8b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ServiceHPDM099.java
.../java/com/baosight/hpjx/hp/dm/service/ServiceHPDM099.java
+2
-0
No files found.
src/main/java/com/baosight/hpjx/hp/dm/service/ServiceHPDM099.java
View file @
329af393
...
@@ -6,6 +6,7 @@ import com.baosight.hpjx.core.dao.DaoUtils;
...
@@ -6,6 +6,7 @@ import com.baosight.hpjx.core.dao.DaoUtils;
import
com.baosight.hpjx.core.utils.Iplat4jUtils
;
import
com.baosight.hpjx.core.utils.Iplat4jUtils
;
import
com.baosight.hpjx.hp.dm.domain.HPDM099
;
import
com.baosight.hpjx.hp.dm.domain.HPDM099
;
import
com.baosight.hpjx.hp.xs.domain.HPXS007A
;
import
com.baosight.hpjx.hp.xs.domain.HPXS007A
;
import
com.baosight.hpjx.util.AssertUtils
;
import
com.baosight.hpjx.util.LogUtils
;
import
com.baosight.hpjx.util.LogUtils
;
import
com.baosight.hpjx.util.MapUtils
;
import
com.baosight.hpjx.util.MapUtils
;
import
com.baosight.iplat4j.core.ProjectInfo
;
import
com.baosight.iplat4j.core.ProjectInfo
;
...
@@ -65,6 +66,7 @@ public class ServiceHPDM099 extends ServiceEPBase {
...
@@ -65,6 +66,7 @@ public class ServiceHPDM099 extends ServiceEPBase {
public
EiInfo
upload
(
EiInfo
inInfo
)
{
public
EiInfo
upload
(
EiInfo
inInfo
)
{
try
{
try
{
HPDM099
fDm099
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HPDM099
.
class
);
HPDM099
fDm099
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HPDM099
.
class
);
AssertUtils
.
isEmpty
(
fDm099
.
getDocId
(),
"文件ID不能为空"
);
fDm099
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
fDm099
.
setDeleteFlag
(
CommonConstant
.
YesNo
.
NO_0
);
DaoUtils
.
insert
(
HPDM099
.
INSERT
,
fDm099
);
DaoUtils
.
insert
(
HPDM099
.
INSERT
,
fDm099
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
...
...
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