package com.platform.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.platform.mapper.CaseRuleConfigMapper; import com.platform.model.entity.CaseRuleConfigEntity; import com.platform.service.CaseRuleConfigService; import org.springframework.stereotype.Service; @Service public class CaseRuleServiceImpl extends ServiceImpl implements CaseRuleConfigService { @Override public CaseRuleConfigEntity getByCaseId(String caseId) { return baseMapper.selectOne(new LambdaQueryWrapper() .eq(CaseRuleConfigEntity::getCaseId, caseId)); } }