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