修改容器内部路径

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