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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.hygf.api.entity.PeasantHousehold;
import com.yeejoin.amos.boot.module.hygf.api.entity.WorkOrderPowerStation;
import org.apache.ibatis.annotations.Param;

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

/**
 * 施工派工单电站 Mapper 接口
 *
 * @author system_generator
 * @date 2024-01-02
 */
public interface WorkOrderPowerStationMapper extends BaseMapper<WorkOrderPowerStation> {

    List<PeasantHousehold> selectPeasantHousehold(@Param("sequenceNbr") Long sequenceNbr,@Param("ownersName") String ownersName);

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

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

    String getStationName(@Param("workOrderPowerStationId") Long workOrderPowerStationId);
}
