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.JpPersonStationDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.JpPersonStation;
import com.yeejoin.amos.boot.module.hygf.api.mapper.JpPersonStationMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IJpPersonStationService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 户用光伏监盘人员场站关系表服务实现类
 *
 * @author system_generator
 * @date 2023-09-19
 */
@Service
public class JpPersonStationServiceImpl extends BaseService<JpPersonStationDto,JpPersonStation,JpPersonStationMapper> implements IJpPersonStationService {
    /**
     * 分页查询
     */
    public Page<JpPersonStationDto> queryForJpPersonStationPage(Page<JpPersonStationDto> page)   {
        return this.queryForPage(page, null, false);
    }

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