Commit bfa968e4 by liuyang

2024/03/14 文件删除逻辑调整

parent 36e6a606
......@@ -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";
}
}
......@@ -786,7 +786,7 @@ public class ServiceHPSC002 extends ServiceBase {
String realPath = hpds002.getRealPath();
// 项目环境
String projectEnv = ProjectInfo.getProjectEnv();
if (projectEnv.equals(CommonConstant.ProjectEnv.RUN)) {
if (projectEnv.equals(CommonConstant.projectEnv.RUN)) {
EiInfo eiInfo = new EiInfo();
eiInfo.set("data",realPath+"-"+0);
eiInfo.set(EiConstant.serviceId,"S_EU_0105");
......
......@@ -149,7 +149,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
String realPath = list.get(0).getRealPath();
// 项目环境
String projectEnv = ProjectInfo.getProjectEnv();
if (projectEnv.equals(CommonConstant.ProjectEnv.RUN)) {
if (projectEnv.equals(CommonConstant.projectEnv.RUN)) {
EiInfo eiInfo = new EiInfo();
eiInfo.set("data",realPath+"-"+0);
eiInfo.set(EiConstant.serviceId,"S_EU_0105");
......
......@@ -330,7 +330,7 @@ public class ServiceHPSC006 extends ServiceBase {
String realPath = hpds002.getRealPath();
// 项目环境
String projectEnv = ProjectInfo.getProjectEnv();
if (projectEnv.equals(CommonConstant.ProjectEnv.RUN)) {
if (projectEnv.equals(CommonConstant.projectEnv.RUN)) {
EiInfo eiInfo = new EiInfo();
eiInfo.set("data",realPath+"-"+0);
eiInfo.set(EiConstant.serviceId,"S_EU_0105");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment