package kr.wisestone.owl.mapper;
|
|
import kr.wisestone.owl.domain.User;
|
import kr.wisestone.owl.web.condition.UserCondition;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* Created by wisestone on 2018-02-26.
|
*/
|
@Repository
|
public interface UserMapper {
|
List<Map<String, Object>> find(UserCondition userCondition);
|
|
List<Map<String, Object>> findAdmin();
|
|
List<Map<String, Object>> findProjectMember(UserCondition userCondition);
|
|
Long count(UserCondition userCondition);
|
|
void deleteCascadeUser(UserCondition userCondition);
|
|
List<Map<String, Object>> findByReservationNotifyTime(Map<String, Object> conditions);
|
|
List<Map<String, Object>> findByRealTimeNotifyTime(Map<String, Object> conditions);
|
|
List<Map<String, Object>> findByAllWorkspace(UserCondition userCondition);
|
|
Long countByAllWorkspace(UserCondition userCondition);
|
|
List<Map<String, Object>> findEvent();
|
|
Long findByLevelId(Long levelId);
|
|
Map<String, Object> findByMyLevelAndDepartment(Long id);
|
}
|