package com.ygtx.gxt.service.impl;

import com.ygtx.gxt.domain.*;
import com.ygtx.gxt.mapper.GxtWorkOrderAttachmentMapper;
import com.ygtx.gxt.mapper.GxtWorkOrderFlowMapper;
import com.ygtx.gxt.mapper.GxtWorkOrderMapper;
import com.ygtx.gxt.mapper.GxtWorkOrderPersonMapper;
import com.ygtx.gxt.mapper.source.GxtMisInfoMapper;
import com.ygtx.gxt.service.IGxtMisInfoService;
import com.ygtx.system.mapper.SysDeptMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ygtx.common.annotation.DataSource;
import com.ygtx.common.enums.DataSourceType;

import java.util.List;

/**
 * 维保工单Service业务层处理
 *
 * @author ygtx
 * @date 2025-10-25
 */
@Service
public class GxtMisNoServiceImpl implements IGxtMisInfoService
{
    private static final Logger logger = LoggerFactory.getLogger(GxtMisNoServiceImpl.class);
    @Autowired
    private GxtMisInfoMapper misInfoMapper;

    /**
     * 查询维保工单列表
     *
     * @param misInfo 维保工单
     * @return 维保工单
     */
    @Override
    public List<GxtMisInfo> selectGxtMisInfoList(GxtMisInfo misInfo)
    {
        return misInfoMapper.selectGxtMisInfoList(misInfo);
    }

    @Override
    public List<GxtWorkOrderPerson> selectGxtWorkOrderPersonList(GxtWorkOrderPerson workOrderPerson) {
        return misInfoMapper.selectGxtWorkOrderPersonList(workOrderPerson);
    }

    @Override
    public List<GxtMisInfo> selectAutoGxtMisInfoList(GxtMisInfo misInfo) {
        return misInfoMapper.selectAutoGxtMisInfoList(misInfo);
    }


}