生成引擎类工具类
parent
76f8b6dce7
commit
a907cbf5b3
|
@ -41,7 +41,7 @@ public class GenerateConstant {
|
|||
" * @Description: " + ruleVersion.getName() + "_" + ruleVersion.getVersionCode() + "\n" +
|
||||
" * @Version: 1.0\n" +
|
||||
" */\n" +
|
||||
"public class " + getClassName(ruleVersion.getVersionClass()) + " extends " + level + " {\n" +
|
||||
"public class " + getClassName(ruleVersion.getVersionCode()) + " extends " + level + " {\n" +
|
||||
" @Override\n" +
|
||||
" public void run () {\n" +
|
||||
" }\n" +
|
||||
|
|
|
@ -204,6 +204,7 @@ public class EngIneController extends BaseController {
|
|||
|
||||
/**
|
||||
* 生成引擎类
|
||||
*
|
||||
* @param engineVersion
|
||||
* @return
|
||||
*/
|
||||
|
@ -216,7 +217,9 @@ public class EngIneController extends BaseController {
|
|||
return engineVersion;
|
||||
}
|
||||
|
||||
//通过id查询版本version信息 传入id 和versionId
|
||||
/**
|
||||
* 通过id查询版本version信息 传入id 和 versionId
|
||||
*/
|
||||
@GetMapping("/findVersionById/{id}")
|
||||
public Result findVersionById(@PathVariable("id") Long id) {
|
||||
return Result.success(engineVersionService.getById(id));
|
||||
|
|
Loading…
Reference in New Issue