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
bfa968e4
Commit
bfa968e4
authored
Mar 14, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/03/14 文件删除逻辑调整
parent
36e6a606
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
13 deletions
+3
-13
CommonConstant.java
.../java/com/baosight/hpjx/core/constant/CommonConstant.java
+0
-10
ServiceHPSC002.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
+1
-1
ServiceHPSC002A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
+1
-1
ServiceHPSC006.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
+1
-1
No files found.
src/main/java/com/baosight/hpjx/core/constant/CommonConstant.java
View file @
bfa968e4
...
...
@@ -71,14 +71,4 @@ public class CommonConstant {
// ROOT
public
static
final
String
ROOT
=
"root"
;
}
public
static
class
ProjectEnv
{
public
static
final
String
RUN
=
"run"
;
public
static
final
String
DEV
=
"dev"
;
}
}
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
View file @
bfa968e4
...
...
@@ -786,7 +786,7 @@ public class ServiceHPSC002 extends ServiceBase {
String
realPath
=
hpds002
.
getRealPath
();
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
projectEnv
.
equals
(
CommonConstant
.
P
rojectEnv
.
RUN
))
{
if
(
projectEnv
.
equals
(
CommonConstant
.
p
rojectEnv
.
RUN
))
{
EiInfo
eiInfo
=
new
EiInfo
();
eiInfo
.
set
(
"data"
,
realPath
+
"-"
+
0
);
eiInfo
.
set
(
EiConstant
.
serviceId
,
"S_EU_0105"
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
View file @
bfa968e4
...
...
@@ -149,7 +149,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
String
realPath
=
list
.
get
(
0
).
getRealPath
();
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
projectEnv
.
equals
(
CommonConstant
.
P
rojectEnv
.
RUN
))
{
if
(
projectEnv
.
equals
(
CommonConstant
.
p
rojectEnv
.
RUN
))
{
EiInfo
eiInfo
=
new
EiInfo
();
eiInfo
.
set
(
"data"
,
realPath
+
"-"
+
0
);
eiInfo
.
set
(
EiConstant
.
serviceId
,
"S_EU_0105"
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC006.java
View file @
bfa968e4
...
...
@@ -330,7 +330,7 @@ public class ServiceHPSC006 extends ServiceBase {
String
realPath
=
hpds002
.
getRealPath
();
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
projectEnv
.
equals
(
CommonConstant
.
P
rojectEnv
.
RUN
))
{
if
(
projectEnv
.
equals
(
CommonConstant
.
p
rojectEnv
.
RUN
))
{
EiInfo
eiInfo
=
new
EiInfo
();
eiInfo
.
set
(
"data"
,
realPath
+
"-"
+
0
);
eiInfo
.
set
(
EiConstant
.
serviceId
,
"S_EU_0105"
);
...
...
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