package com.sinosig.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.sinosig.core.repository.po.ORGUSER;
import com.sinosig.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.sinosig.core.external.domain.ORGUSER domain , ORGUSER po) ;
	
    com.sinosig.core.external.domain.ORGUSER convert2Domain( ORGUSER po ,com.sinosig.core.external.domain.ORGUSER domain) ;

}
