| 12345678910111213141516171819202122232425262728293031323334353637 |
- 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;
- /**
- * <p>
- * 服务实现类
- * </p>
- *
- * @author
- * @since 2025-03-26
- */
- @Service
- public class CaseAnimationServiceImpl extends ServiceImpl<ICaseAnimationMapper, CaseAnimation> implements ICaseAnimationService {
- @Override
- public List<CaseAnimation> getListByCaseId(Integer caseId) {
- LambdaQueryWrapper<CaseAnimation> wrapper = new LambdaQueryWrapper<>();
- wrapper.eq(CaseAnimation::getCaseId,caseId);
- return this.list(wrapper);
- }
- @Override
- public List<CaseAnimation> getListByFusionId(Integer fusionId) {
- LambdaQueryWrapper<CaseAnimation> wrapper = new LambdaQueryWrapper<>();
- wrapper.eq(CaseAnimation::getFusionId,fusionId);
- return this.list(wrapper);
- }
- }
|