RotateFrameImpl.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. package com.fdkk.fdkkmeta.service.impl;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
  4. import com.baomidou.mybatisplus.core.toolkit.Wrappers;
  5. import com.fdkk.fdkkmeta.mapper.RotateFrameMapper;
  6. import com.fdkk.fdkkmeta.base.impl.BaseServiceImpl;
  7. import com.fdkk.fdkkmeta.domain.entity.mysql.RotateFrameEntity;
  8. import com.fdkk.fdkkmeta.service.RotateFrameService;
  9. import lombok.extern.slf4j.Slf4j;
  10. import org.springframework.stereotype.Service;
  11. import java.util.List;
  12. /**
  13. * Created by Xiewj on 2021/11/23 0026 10:14
  14. */
  15. @Slf4j
  16. @Service
  17. public class RotateFrameImpl extends BaseServiceImpl<RotateFrameMapper, RotateFrameEntity> implements RotateFrameService {
  18. @Override
  19. public List<RotateFrameEntity> findByAppId(String AppId) {
  20. LambdaQueryWrapper<RotateFrameEntity> wrapper = Wrappers.lambdaQuery();
  21. wrapper.eq(RotateFrameEntity::getAppId, AppId);
  22. return list(wrapper);
  23. }
  24. public JSONObject getInitFrameInfo(String app_id) {
  25. //取app_id对应的frame,且breakPointId和frameIndex都是0
  26. return new JSONObject();
  27. }
  28. }