package com.fdkankan.fusion.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.fdkankan.fusion.entity.CaseAnimation; import com.fdkankan.fusion.mapper.ICaseAnimationMapper; import com.fdkankan.fusion.service.ICaseAnimationService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; import java.util.List; /** *

* 服务实现类 *

* * @author * @since 2025-03-26 */ @Service public class CaseAnimationServiceImpl extends ServiceImpl implements ICaseAnimationService { @Override public List getListByCaseId(Integer caseId) { LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); wrapper.eq(CaseAnimation::getCaseId,caseId); return this.list(wrapper); } @Override public List getListByFusionId(Integer fusionId) { LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); wrapper.eq(CaseAnimation::getFusionId,fusionId); return this.list(wrapper); } }