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 implements IMdcDowntimeReasonService { @Override public List downtimeReasonList(String downtimeType) { return this.baseMapper.selectList(new LambdaQueryWrapper().eq(MdcDowntimeReason::getDowntimeType, downtimeType)); } }