package com.yeejoin.amos.boot.module.hygf.biz.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.hygf.api.dto.WorkOrderPowerStationDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.WorkOrderPowerStation;
import com.yeejoin.amos.boot.module.hygf.api.mapper.WorkOrderPowerStationMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IWorkOrderPowerStationService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 施工派工单电站服务实现类
 *
 * @author system_generator
 * @date 2024-01-02
 */
@Service
public class WorkOrderPowerStationServiceImpl extends BaseService<WorkOrderPowerStationDto,WorkOrderPowerStation,WorkOrderPowerStationMapper> implements IWorkOrderPowerStationService {
    /**
     * 分页查询
     */
    public Page<WorkOrderPowerStationDto> queryForWorkOrderPowerStationPage(Page<WorkOrderPowerStationDto> page)   {
        return this.queryForPage(page, null, false);
    }

    /**
     * 列表查询 示例
     */
    public List<WorkOrderPowerStationDto> queryForWorkOrderPowerStationList()   {
        return this.queryForList("" , false);
    }
}