1.用户多角色菜单重复bug修改 2.配置界面日志总量链接查询
This commit is contained in:
@@ -9,6 +9,7 @@ import org.springframework.stereotype.Service;
|
||||
import com.nis.domain.SysMenu;
|
||||
import com.nis.domain.SysUser;
|
||||
import com.nis.util.CacheUtils;
|
||||
import com.nis.util.Constants;
|
||||
import com.nis.util.LogUtils;
|
||||
import com.nis.util.StringUtil;
|
||||
import com.nis.web.dao.SysMenuDao;
|
||||
@@ -93,5 +94,15 @@ public class MenuService extends BaseService {
|
||||
// 清除日志相关缓存
|
||||
CacheUtils.remove(LogUtils.CACHE_MENU_NAME_PATH_MAP);
|
||||
}
|
||||
|
||||
// 根据functionId查找日志检索的URL
|
||||
public String getLogUrl(Integer function) {
|
||||
Integer logSearchId = Constants.LOGSEARCH_MENU_ID;
|
||||
return menuDao.getLogUrl(function,logSearchId);
|
||||
}
|
||||
// 根据functionId,action查找日志检索条件ServiceId
|
||||
public Integer getServiceId(Integer functionId, Integer action) {
|
||||
return menuDao.getServiceId(functionId,action);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user