/** * 获取业务类别,主要用于获取该业务类别的子类别 * @return */ public List<BusinessType> findList(BusinessTypeCondition condition) { List<BusinessType> businessList = null; try { businessList = executor.queryListBean(BusinessType.class, "selectBusinessList", condition); } catch (Exception e) { logger.error(e); } return businessList; }
@SuppressWarnings("rawtypes") @Override public List<HashMap> getBrowserTypeDayDistribute(int siteId, String vtime) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("vtime", vtime); return executor.queryListBean(HashMap.class, "getBrowserTypeDayDistributeByTime", paramMap); }
@SuppressWarnings("rawtypes") @Override public List<HashMap> getBrowserIPDayDistribute(int siteId, String vtime) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("vtime", vtime); return executor.queryListBean(HashMap.class, "getBrowserIPDayDistributeByTime", paramMap); }
@SuppressWarnings("rawtypes") @Override public List<HashMap> getBrowserCounterDayDistributeByMonth(int siteId, int startMonth, int endMonth) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("startMonth", startMonth); paramMap.put("endMonth", endMonth); return executor.queryListBean(HashMap.class, "getBrowserCounterDayDistributeByMonth", paramMap); }
@SuppressWarnings("rawtypes") @Override public List<HashMap> getBrowserTypeDayDistribute(int siteId, String startTime, String endTime) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("startTime", startTime); paramMap.put("endTime", endTime); return executor.queryListBean(HashMap.class, "getBrowserTypeDayDistributeByTimeLimit", paramMap); }
@SuppressWarnings("rawtypes") @Override public List<HashMap> getBrowserTypeDayDistributeByMonth(int siteId, int startMonth, int endMonth) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("startMonth", startMonth); paramMap.put("endMonth", endMonth); return executor.queryListBean(HashMap.class, "getBrowserTypeDayDistributeByMonth", paramMap); }
@Override public List<com.frameworkset.platform.sysmgrcore.entity.User> queryUsersByUsernames( String usernames) throws SQLException { List<String> usernameslist = Arrays.asList(usernames.split(",")); Map<String, List<String>> param = new HashMap<String, List<String>>(); param.put("usernames", usernameslist); List<com.frameworkset.platform.sysmgrcore.entity.User> users = executor .queryListBean( com.frameworkset.platform.sysmgrcore.entity.User.class, "queryUsersByUsername", param); return users; }
@SuppressWarnings("rawtypes") @Override public List<HashMap> getBrowserCounterDayDistribute(int siteId, String startTime, String endTime) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("startTime", startTime); paramMap.put("endTime", endTime); return executor.queryListBean(HashMap.class, "getBrowserCounterDayDistribute", paramMap); }
@SuppressWarnings("rawtypes") @Override public List<HashMap> getBrowserIPDayDistribute(int siteId, String startTime, String endTime) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("startTime", startTime); paramMap.put("endTime", endTime); return executor.queryListBean(HashMap.class, "getBrowserIPDayDistributeByTimeLimit", paramMap); }
@Override public List<BrowserVisitInfo> getBrowserVisitInfo(int siteId, String startTime, String endTime) throws SQLException { Map<String, Object> paramMap = new HashMap<String, Object>(); paramMap.put("siteId", siteId); paramMap.put("startTime", startTime); paramMap.put("endTime", endTime); return executor.queryListBean(BrowserVisitInfo.class, "getBrowserVisitInfo", paramMap); }
public List<ApiXml> queryListApiXmls() throws ApiXmlException { try { List<ApiXml> beans = executor.queryListBean(ApiXml.class, "queryListApiXml", null); return beans; } catch (Exception e) { throw new ApiXmlException("query ApiXml failed:", e); } } }
public List<SmOrganization> queryListSmOrganizations(SmOrganizationCondition conditions) throws SmOrganizationException { try { List<SmOrganization> beans = executor.queryListBean(SmOrganization.class, "queryListSmOrganization", conditions); return beans; } catch (Exception e) { throw new SmOrganizationException("query SmOrganization failed:", e); } } /** (non-Javadoc)
private List<ActNode> getWFNodeConfigInfo(String processKey, HashMap<String, Object> map) throws Exception { List<ActNode> actNodeList = executor.queryListBean(ActNode.class, "getWFNodeInfoList", map); // 串并行判断 isParrealOrSequence(actNodeList, processKey); return actNodeList; }
public List<SmUserWx> queryListSmUserWxs(SmUserWxCondition conditions) throws SmUserWxException { try { List<SmUserWx> beans = executor.queryListBean(SmUserWx.class, "queryListSmUserWx", conditions); return beans; } catch (Exception e) { throw new SmUserWxException("query SmUserWx failed:", e); } }
public List<Role> queryListRoles(RoleCondition conditions) throws RoleException { try { List<Role> beans = executor.queryListBean(Role.class, "queryListRole", conditions); return beans; } catch (Exception e) { throw new RoleException("query Role failed:", e); } } /** (non-Javadoc)
public List<SmUser> queryListSmUsers(SmUserCondition conditions) throws SmUserException { try { List<SmUser> beans = executor.queryListBean(SmUser.class, "queryListSmUser", conditions); return beans; } catch (Exception e) { throw new SmUserException("query SmUser failed:", e); } } /** (non-Javadoc)
@Override public CmsWxtoken getCmsWxtoken() throws CmsWxtokenException { try { List<CmsWxtoken> beans = executor.queryListBean(CmsWxtoken.class, "queryListCmsWxtokenBySysdateAndState", null); return beans==null || beans.size()<1?null:beans.get(0); } catch (Exception e) { throw new CmsWxtokenException("query CmsWxtoken failed:", e); } } }
@Override public List getProcessVersionList(String processKey) { Map<String, String> map = new HashMap<String, String>(); map.put("processKey", processKey); try { return executor.queryListBean(HashMap.class, "getProcessVersionList_wf", map); } catch (SQLException e) { throw new ProcessException(e); } }
public List<Resource> queryListResources(ResourceCondition conditions) throws ResourceException { try { List<Resource> beans = executor.queryListBean(Resource.class, "queryListResource", conditions); return beans; } catch (Exception e) { throw new ResourceException("query Resource failed:", e); } } }
public List<RoleType> queryListRoleTypes(RoleTypeCondition conditions) throws RoleTypeException { try { List<RoleType> beans =conditions == null? executor.queryList(RoleType.class, "queryAllListRoleType"): executor.queryListBean(RoleType.class, "queryListRoleType",conditions); return beans; } catch (Exception e) { throw new RoleTypeException("query RoleType failed:", e); } } }