package com.muyu.breakdown.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.breakdown.domain.SysCarFault;
import com.muyu.breakdown.domain.SysCarFaultMessage;
import com.muyu.breakdown.mapper.SysCarFaultMessageMapper;
import com.muyu.breakdown.service.SysCarFaultMessageService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassDescription:
 * @JdkVersion: 1.8
 * @Author: YZL
 * @Created: 2024/9/22 14:36
 */
@Service
public class SysCarFaultMessageServiceImpl extends ServiceImpl<SysCarFaultMessageMapper, SysCarFaultMessage> implements SysCarFaultMessageService {

    @Override
    public List<SysCarFaultMessage> selectSysCarFaultMessageList(SysCarFaultMessage sysCarFaultMessage) {
        LambdaQueryWrapper<SysCarFaultMessage> wrapper = new LambdaQueryWrapper<>();
        return baseMapper.selectList(wrapper);
    }

    @Override
    public List<SysCarFaultMessage> listStatusOnt( ) {
        return baseMapper.listStatusOnt();
    }

    @Override
    public List<SysCarFaultMessage> listStatusTwo( ) {
        return baseMapper.listStatusTwo();
    }
}
