提交 b4e627d9 编写于 作者: ibiz4j's avatar ibiz4j

提交

上级 9771fd3c
...@@ -313,7 +313,7 @@ public class ApiMethodModel extends BaseModel { ...@@ -313,7 +313,7 @@ public class ApiMethodModel extends BaseModel {
} }
else if(this.getName().equalsIgnoreCase("Update")||this.getName().equalsIgnoreCase("Remove")||ObjectUtils.isEmpty(this.getInParam())) else if(this.getName().equalsIgnoreCase("Update")||this.getName().equalsIgnoreCase("Remove")||ObjectUtils.isEmpty(this.getInParam()))
{ {
permission.put("cond","hasPermission(this."+StringAdvUtils.camelcase(this.getApiEntity().getEntity().getCodeName())+"Service.get(#"+this.getInParamName2()+"),'"+this.getApiEntity().getEntity().getSystem().getProjectName()+"-"+this.getApiEntity().getEntity().getCodeName()+"-"+this.getName()+"')"); permission.put("cond","hasPermission(this."+StringAdvUtils.camelcase(this.getApiEntity().getEntity().getCodeName())+"Service.get(#"+StringAdvUtils.camelcase(apiEntity.getEntity().getKeyField().getCodeName())+"),'"+this.getApiEntity().getEntity().getSystem().getProjectName()+"-"+this.getApiEntity().getEntity().getCodeName()+"-"+this.getName()+"')");
} }
else if(this.getName().equalsIgnoreCase("Create")||this.getName().equalsIgnoreCase("Save")||this.isNeedDto2Domain()) else if(this.getName().equalsIgnoreCase("Create")||this.getName().equalsIgnoreCase("Save")||this.isNeedDto2Domain())
{ {
......
...@@ -47,10 +47,10 @@ import java.util.concurrent.ConcurrentMap; ...@@ -47,10 +47,10 @@ import java.util.concurrent.ConcurrentMap;
/** /**
* 实体处理逻辑切面(前后附加逻辑、实体行为调用处理逻辑) * 实体处理逻辑切面(前后附加逻辑、实体行为调用处理逻辑)
*/ */
//@Aspect @Aspect
//@Component @Component
@Slf4j @Slf4j
//@Order(100) @Order(100)
public class DELogicAspect { public class DELogicAspect {
private static BpmnXMLConverter bpmnXMLConverter = new BpmnXMLConverter(); private static BpmnXMLConverter bpmnXMLConverter = new BpmnXMLConverter();
......
...@@ -26,9 +26,9 @@ import java.util.Map; ...@@ -26,9 +26,9 @@ import java.util.Map;
/** /**
* 数据库版本检查 * 数据库版本检查
*/ */
//@Aspect @Aspect
@Order(50) @Order(50)
//@Component @Component
public class VersionCheckAspect public class VersionCheckAspect
{ {
private final ExpressionParser parser = new SpelExpressionParser(); private final ExpressionParser parser = new SpelExpressionParser();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册