package com.ibiz.core.repository ;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.ibiz.core.repository.po.ORGUSER;
import com.ibiz.core.external.filter.ORGUSERSearchContext;

/**
 * 实体 [人员] 存储对象
 */
public interface ORGUSERRepository extends Repository<ORGUSER> {
    
    /**
	 * 查询集合 [当前用户]
	 * @param context
	 * @return
	 */
    Page<ORGUSER> searchCurOrgUser(ORGUSERSearchContext context);

    /**
	 * 查询集合 [DEFAULT]
	 * @param context
	 * @return
	 */
    Page<ORGUSER> searchDefault(ORGUSERSearchContext context);


    ORGUSER convert2PO(com.ibiz.core.external.domain.ORGUSER domain , ORGUSER po) ;
	
    com.ibiz.core.external.domain.ORGUSER convert2Domain( ORGUSER po ,com.ibiz.core.external.domain.ORGUSER domain) ;

}
