package com.ibiz.core.r7rt_org.service;

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.r7rt_org.domain.OrgUser;
import com.ibiz.core.r7rt_org.filter.OrgUserSearchContext;

/**
 * 实体[OrgUser] 服务对象接口
 */

public interface IOrgUserService{
     boolean remove(String orgUserId) ;
     boolean save(OrgUser orgUser) ;
     boolean update(OrgUser orgUser) ;
     boolean checkKey(OrgUser orgUser) ;
     OrgUser getDraft(OrgUser orgUser) ;
     boolean create(OrgUser orgUser) ;
     OrgUser get(String orgUserId) ;
     OrgUser get(OrgUser orgUser) ;

    /**
     * 查询集合 DEFAULT
     */
    Page<OrgUser> searchDefault(OrgUserSearchContext context) ;

    /**
     * 根据组织查询
     */
     Page<OrgUser> selectByOrg(String orgid) ;
     List<OrgUser> selectByOrg2(String orgid);

}
