public boolean checkFunction(int userID, String funcDefine) { // TODO Auto-generated method stub Function function = new Function(); function.setUserid(userID); function.setFuncdefine(funcDefine); return !functionService.findFuncDefine(function) || functionService.checkFunction(function); }
public List getOwnFunction(int userID, String systemID) { // TODO Auto-generated method stub Function function = new Function(); function.setUserid(userID); function.setSystemcode(systemID); return functionService.getOwnFunction(function); }