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;
    	}
    

      

    -------------------------------------------------------------------------
    ## 极客时间全网最便宜最优惠购买方式,优惠券返现 百度网盘 微信关注公众号“选门好课”
    扫描下方二维码关注我的公众号"选门好课",与我一起交流知识
  • 相关阅读:
    [转]The Machine SID Duplication Myth (and Why Sysprep Matters)
    The Machine SID Duplication Myth (and Why Sysprep Matters)
    [转]Shell(Bash) mysql数据库操作
    [转]GNU Sourcehighlight 语法高亮代码
    [原]DRBD双主模式问题
    mpstat
    DRBD试用
    drbd双主模式问题
    虚IP的添加和删除
    为什么5%的技术人员开发效率是其他95%的20倍?
  • 原文地址:https://www.cnblogs.com/singworld/p/9825633.html
Copyright © 2011-2022 走看看