Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
ce1327c2
Commit
ce1327c2
authored
Aug 21, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-21 设备管理附件删除调整
parent
574425e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ServiceHGSB099.java
.../java/com/baosight/hggp/hg/sb/service/ServiceHGSB099.java
+5
-2
No files found.
src/main/java/com/baosight/hggp/hg/sb/service/ServiceHGSB099.java
View file @
ce1327c2
...
@@ -2,7 +2,9 @@ package com.baosight.hggp.hg.sb.service;
...
@@ -2,7 +2,9 @@ package com.baosight.hggp.hg.sb.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.utils.Iplat4jUtils
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
import
com.baosight.hggp.hg.sb.domain.HGSB099
;
import
com.baosight.hggp.hg.sb.domain.HGSB099
;
import
com.baosight.hggp.util.FileUtils
;
import
com.baosight.hggp.util.FileUtils
;
...
@@ -39,7 +41,7 @@ public class ServiceHGSB099 extends ServiceEPBase {
...
@@ -39,7 +41,7 @@ public class ServiceHGSB099 extends ServiceEPBase {
try
{
try
{
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGSB099.queryRun"
,
new
HGSB099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSB099.queryRun"
,
new
HGSB099
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGSB099.queryDev"
,
new
HGSB099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSB099.queryDev"
,
new
HGSB099
());
...
@@ -60,7 +62,8 @@ public class ServiceHGSB099 extends ServiceEPBase {
...
@@ -60,7 +62,8 @@ public class ServiceHGSB099 extends ServiceEPBase {
hgsb099
.
fromMap
(
resultRow
);
hgsb099
.
fromMap
(
resultRow
);
DaoUtils
.
update
(
HGSB099
.
DELETE
,
hgsb099
);
DaoUtils
.
update
(
HGSB099
.
DELETE
,
hgsb099
);
if
(!
hgsb099
.
getDocId
().
isEmpty
())
{
if
(!
hgsb099
.
getDocId
().
isEmpty
())
{
this
.
delectDoc
(
hgsb099
.
getDocId
());
Iplat4jUtils
.
deleteFileByDocId
(
hgsb099
.
getDocId
());
//this.delectDoc(hgsb099.getDocId());
}
}
}
}
inInfo
=
this
.
query
(
inInfo
);
inInfo
=
this
.
query
(
inInfo
);
...
...
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