| | |
| | | res = foDelegate.updateMod(menuVO); |
| | | /** |
| | | * 返回:1表示模块名重复。 |
| | | * 2表示模块标识重复。 |
| | | * 3标示模块别名重复。 |
| | | * 2表示模块标识重复。 |
| | | * 3标示模块别名重复。 |
| | | */ |
| | | if(res.equals("1")){ |
| | | throw new VciBaseException("模块名称重复,请修改!"); |
| | |
| | | //info.suffixB = object.getSuffixB() == null ? "" : object.getSuffixB(); |
| | | info.desc = object.getRemark() == null ? "" : object.getRemark(); |
| | | info.seq = object.getSort(); |
| | | info.icon = object.getSource() == null ? "" : object.getSource(); |
| | | info.image = object.getSource() == null ? "" : object.getSource(); |
| | | info.functionType = object.getFunctionType(); |
| | | info.isValid = object.getIsValid(); |
| | | info.aliasName = object.getAlias() == null ? "" : object.getAlias(); |
| | | info.resourceDotNet = object.getResourceDotNet() == null ? "" : object.getResourceDotNet(); |
| | |
| | | /*obj.suffixC = ""; |
| | | obj.suffixB = "";*/ |
| | | obj.seq = sequence; |
| | | obj.icon = menuVO.getSource(); |
| | | obj.image = menuVO.getSource(); |
| | | obj.functionType = menuVO.getFunctionType(); |
| | | obj.isValid = Func.isNotEmpty(menuVO.getIsValid()) ? menuVO.getIsValid():false; |
| | | obj.aliasName = aliasName; |
| | | obj.resourceDotNet = resDotNet; |