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
12d7ea33
Commit
12d7ea33
authored
Aug 21, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-21 调整设备管理附件删除和企业管理附件删除
parent
d203eef4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
ServiceHPPZ009A.java
...java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ009A.java
+5
-2
ServiceHPSB099.java
.../java/com/baosight/hpjx/hp/sb/service/ServiceHPSB099.java
+4
-2
No files found.
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ009A.java
View file @
12d7ea33
...
...
@@ -2,7 +2,9 @@ package com.baosight.hpjx.hp.pz.service;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.S3Constant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.utils.Iplat4jUtils
;
import
com.baosight.hpjx.hp.ds.domain.HPDS002
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ009A
;
import
com.baosight.hpjx.util.DateUtils
;
...
...
@@ -54,7 +56,7 @@ public class ServiceHPPZ009A extends ServiceEPBase {
try
{
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
ProjectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HPPZ009A.queryRun"
,
new
HPPZ009A
());
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HPPZ009A.queryDev"
,
new
HPPZ009A
());
...
...
@@ -107,7 +109,8 @@ public class ServiceHPPZ009A extends ServiceEPBase {
hppz009A
.
fromMap
(
resultRows
.
get
(
i
));
DaoUtils
.
update
(
HPPZ009A
.
DELETE
,
hppz009A
);
if
(!
hppz009A
.
getDocId
().
isEmpty
())
{
this
.
delectDoc
(
hppz009A
.
getDocId
());
Iplat4jUtils
.
deleteFileByDocId
(
hppz009A
.
getDocId
());
//this.delectDoc(hppz009A.getDocId());
}
}
inInfo
=
this
.
query
(
inInfo
);
...
...
src/main/java/com/baosight/hpjx/hp/sb/service/ServiceHPSB099.java
View file @
12d7ea33
...
...
@@ -2,7 +2,9 @@ package com.baosight.hpjx.hp.sb.service;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.S3Constant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.utils.Iplat4jUtils
;
import
com.baosight.hpjx.hp.ds.domain.HPDS002
;
import
com.baosight.hpjx.hp.sb.domain.HPSB099
;
import
com.baosight.hpjx.util.FileUtils
;
...
...
@@ -40,7 +42,7 @@ public class ServiceHPSB099 extends ServiceEPBase {
try
{
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
ProjectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HPSB099.queryRun"
,
new
HPSB099
());
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HPSB099.queryDev"
,
new
HPSB099
());
...
...
@@ -61,7 +63,7 @@ public class ServiceHPSB099 extends ServiceEPBase {
hgsb099
.
fromMap
(
resultRow
);
DaoUtils
.
update
(
HPSB099
.
DELETE
,
hgsb099
);
if
(!
hgsb099
.
getDocId
().
isEmpty
())
{
this
.
delectDoc
(
hgsb099
.
getDocId
());
Iplat4jUtils
.
deleteFileByDocId
(
hgsb099
.
getDocId
());
}
}
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