| 12345678910111213141516171819202122232425262728293031323334 |
- package com.fdkk.fdkkmeta.service.impl;
- import com.alibaba.fastjson.JSONObject;
- import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
- import com.baomidou.mybatisplus.core.toolkit.Wrappers;
- import com.fdkk.fdkkmeta.mapper.RotateFrameMapper;
- import com.fdkk.fdkkmeta.base.impl.BaseServiceImpl;
- import com.fdkk.fdkkmeta.domain.entity.mysql.RotateFrameEntity;
- import com.fdkk.fdkkmeta.service.RotateFrameService;
- import lombok.extern.slf4j.Slf4j;
- import org.springframework.stereotype.Service;
- import java.util.List;
- /**
- * Created by Xiewj on 2021/11/23 0026 10:14
- */
- @Slf4j
- @Service
- public class RotateFrameImpl extends BaseServiceImpl<RotateFrameMapper, RotateFrameEntity> implements RotateFrameService {
- @Override
- public List<RotateFrameEntity> findByAppId(String AppId) {
- LambdaQueryWrapper<RotateFrameEntity> wrapper = Wrappers.lambdaQuery();
- wrapper.eq(RotateFrameEntity::getAppId, AppId);
- return list(wrapper);
- }
-
- public JSONObject getInitFrameInfo(String app_id) {
- //取app_id对应的frame,且breakPointId和frameIndex都是0
- return new JSONObject();
- }
- }
|