提交 fc07074a 编写于 作者: wuyunfeng's avatar wuyunfeng

修改session中menu_code的提取规则

上级 f6990c5a
...@@ -313,7 +313,7 @@ class SessionProcess extends java.io.Serializable{ ...@@ -313,7 +313,7 @@ class SessionProcess extends java.io.Serializable{
} }
} }
//匹配menu_code:如果上述截取出来的menu_code为(''||null||0||length(menu_code)>3 ) and action is ACTION_VIEW //匹配menu_code:如果上述截取出来的menu_code为(''||null||0||length(menu_code)>3 ) and action is ACTION_VIEW
if ((menu_code.equals("")|| menu_code.equals("null") || menu_code.equals("0") || menu_code.length> 3 ) if ((menu_code.equals("")|| menu_code.equals("null") || menu_code.equals("0") || (menu_code.length> 3 && !component_tag.contains("#") ))
&& action_type.equals("ACTION_VIEW")) { && action_type.equals("ACTION_VIEW")) {
menu_code = "0" //关联不上的显示为0 menu_code = "0" //关联不上的显示为0
import scala.util.control.Breaks._ import scala.util.control.Breaks._
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册