package com.yeejoin.amos.boot.module.hygf.api.mapper;

import com.yeejoin.amos.boot.module.hygf.api.config.UserEmpower;
import com.yeejoin.amos.boot.module.hygf.api.dto.AcceptanceCheckDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.AcceptanceCheck;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 并网验收节点 Mapper 接口
 *
 * @author system_generator
 * @date 2024-08-21
 */
public interface AcceptanceCheckMapper extends BaseMapper<AcceptanceCheck> {
    @UserEmpower(field ={"hph.regional_companies_code"} ,dealerField={"hph.developer_code","hph.regional_companies_code","hph.developer_user_id"},fieldConditions ={"in","in","in"} ,relationship="and")
    List<AcceptanceCheckDto> selectPageList(@Param("map")Map<String, Object> map);

    List<Map<String, Object>> getYsCreateTime();

    List<Map<String, Object>> getYsEndTime();
}
