zoukankan      html  css  js  c++  java
  • 微信端查询

    	/**
    	 * 使用会员id查找学员信息
    	 * @param meminfo
    	 * @return
    	 * @throws Exception
    	 * @author hy
    	 * @history 2018-9-6 上午10:01:35 Create by 【hy】
    	 */
    	public STUINFO beanStuinfo(MEMINFO meminfo) throws Exception;
    	
    	/**
    	 * 查询请假列表
    	 * @param bean  请假对象
    	 * @param orderBy 排序
    	 * @param dataPage  分页
    	 * @return
    	 * @throws Exception
    	 * @author hy
    	 * @history 2018-9-6 上午10:07:15 Create by 【hy】
    	 */
    	public DataTable getRecashList(LEAVEINFO bean,String orderBy, DataPage dataPage) throws Exception ;
    
    
    
    	public STUINFO beanStuinfo(LEAVEINFO_BUSSIN leaveinfo, MEMINFO meminfo) throws Exception {
    		STUINFO result = new STUINFO();
    		
    		result.setSNO(leaveinfo.getSNO());
    		result.setMEMID(meminfo.getID());
    		
    		List<Object> query = this.daoProvider().queryObject(result);
    		
    		if(!NoneType.isNullOrEmpty(query)){
    			result = (STUINFO)query.get(0);
    		}
    		
    		return result;
    	}
    
    
    	
    	public STUINFO beanStuinfo(MEMINFO meminfo) throws Exception {
    		STUINFO result = new STUINFO();
    		
    		result.setMEMID(meminfo.getID());
    		
    		List<Object> query = this.daoProvider().queryObject(result);
    		
    		if(!NoneType.isNullOrEmpty(query)){
    			result = (STUINFO)query.get(0);
    		}
    		
    		return result;
    	}
    
    
    	public DataTable getRecashList(LEAVEINFO bean,String orderBy, DataPage dataPage) throws Exception {
    		DataTable result = null;
    		
    		SqlCommand command = new SqlCommand(LEAVEINFOSql.getRecashList);
    		command.getCriteria().setOrderBy(orderBy);
        	command.getCriteria().setPager(dataPage);
        	
    		result = this.daoProvider().query(command, bean);
    		return result;
    	}
    

      

    -------------------------------------------------------------------------
    ## 极客时间全网最便宜最优惠购买方式,优惠券返现 百度网盘 微信关注公众号“选门好课”
    扫描下方二维码关注我的公众号"选门好课",与我一起交流知识
  • 相关阅读:
    PageRequestManager 综述
    【转】浏览器集成教学 自定义浏览器
    COM(四)注册
    关于/ENTRY (EntryPoint Symbol)
    COFF文件
    【转】用系统默认浏览器打开Microsoft Web Browser控件触发的超链接
    Scroll Bar 控件
    COM(一)CoCreateInstance
    Web相关概念
    WebBrowser Control(一)禁止表单数据提示对话框
  • 原文地址:https://www.cnblogs.com/singworld/p/9825633.html
Copyright © 2011-2022 走看看