修改容器内部路径

master
Qin Dong Ming 2024-09-08 10:17:52 +08:00
parent 01698be4ca
commit 2e2f18bf52
2 changed files with 33 additions and 17 deletions

View File

@ -35,10 +35,10 @@ public class GenerateConstant {
public static String generateConstant(EngineMaintenance ruleData, EngineVersion ruleVersion) {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
String format = simpleDateFormat.format(new Date());
String level = selectType(ruleData.getScope());
// String level = selectType(ruleData.getScope());
return PACKAGE_PATH + "\n" +
ACTION_IMPORT + "\n" +
SCOPE_IMPORT + level + ";\n" +
// SCOPE_IMPORT + level + ";\n" +
"\n" +
"/**\n" +
" * @Author: " + SecurityUtils.getUsername() + "\n" +
@ -53,20 +53,20 @@ public class GenerateConstant {
"}";
}
public static String selectType(String level) {
String type = "";
switch (level) {
case "F":
type = DATA_FIELD;
break;
case "R":
type = DATA_RECORD;
break;
case "C":
type = DATA_SET;
break;
}
return type;
}
// public static String selectType(String level) {
// String type = "";
// switch (level) {
// case "F":
// type = DATA_FIELD;
// break;
// case "R":
// type = DATA_RECORD;
// break;
// case "C":
// type = DATA_SET;
// break;
// }
// return type;
// }
}

View File

@ -0,0 +1,16 @@
package com.muyu.calss;
import com.muyu.abstracts.DataEngineDataSetActuator;
/**
* @Author: admin
* @date: 2024/09/05 22:37:04
* @Description: DataEngineValueActuatorww_DataEngineValueActuatorww
* @Version: 1.0
*/
public class DataEngineValueActuatorww extends DataEngineDataSetActuator {
@Override
public void execution() {
}
}