package org.jeecg.modules.mdc.service.impl;
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import org.jeecg.modules.mdc.entity.MdcDowntimeReason;
|
import org.jeecg.modules.mdc.mapper.MdcDowntimeReasonMapper;
|
import org.jeecg.modules.mdc.service.IMdcDowntimeReasonService;
|
import org.springframework.stereotype.Service;
|
|
import java.util.Collections;
|
import java.util.List;
|
|
/**
|
* @Description: 停机原因表
|
* @Author: lius
|
* @Date: 2025-03-11
|
*/
|
@Service
|
public class MdcDowntimeReasonServiceImpl extends ServiceImpl<MdcDowntimeReasonMapper, MdcDowntimeReason> implements IMdcDowntimeReasonService {
|
|
@Override
|
public List<MdcDowntimeReason> downtimeReasonList(String downtimeType) {
|
return this.baseMapper.selectList(new LambdaQueryWrapper<MdcDowntimeReason>().eq(MdcDowntimeReason::getDowntimeType, downtimeType));
|
}
|
}
|