You've already forked FrameTour-BE
小程序首页景区列表,任务状态接口
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
package com.ycwl.basic.mapper.pc;
|
||||
|
||||
import com.ycwl.basic.model.mobile.scenic.ScenicAppVO;
|
||||
import com.ycwl.basic.model.mobile.scenic.ScenicIndexVO;
|
||||
import com.ycwl.basic.model.pc.scenic.entity.ScenicConfigEntity;
|
||||
import com.ycwl.basic.model.pc.scenic.entity.ScenicEntity;
|
||||
import com.ycwl.basic.model.pc.scenic.req.ScenicAddOrUpdateReq;
|
||||
import com.ycwl.basic.model.pc.scenic.req.ScenicReqQuery;
|
||||
import com.ycwl.basic.model.pc.scenic.resp.ScenicRespVO;
|
||||
@ -19,20 +19,28 @@ import java.util.List;
|
||||
@Mapper
|
||||
public interface ScenicMapper {
|
||||
List<ScenicRespVO> list(ScenicReqQuery scenicReqQuery);
|
||||
|
||||
ScenicRespVO getById(Long id);
|
||||
|
||||
int add(ScenicAddOrUpdateReq scenic);
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
int update(ScenicAddOrUpdateReq scenic);
|
||||
|
||||
int updateStatus(Long id);
|
||||
|
||||
/**
|
||||
* 添加景区配置
|
||||
*
|
||||
* @param scenicConfig
|
||||
* @return
|
||||
*/
|
||||
int addConfig(ScenicConfigEntity scenicConfig);
|
||||
|
||||
/**
|
||||
* 修改景区配置
|
||||
*
|
||||
* @param scenicConfigEntity
|
||||
* @return
|
||||
*/
|
||||
@ -40,6 +48,7 @@ public interface ScenicMapper {
|
||||
|
||||
/**
|
||||
* 根据景区id删除配置
|
||||
*
|
||||
* @param scenicId
|
||||
*/
|
||||
void deleteConfigByscenicId(Long scenicId);
|
||||
@ -47,4 +56,12 @@ public interface ScenicMapper {
|
||||
List<ScenicAppVO> appList(ScenicReqQuery scenicReqQuery);
|
||||
|
||||
ApiResponse<ScenicRespVO> getAppById(Long id);
|
||||
|
||||
/**
|
||||
* 通过经纬度计算景区距离
|
||||
*
|
||||
* @param scenicIndexVO
|
||||
* @return
|
||||
*/
|
||||
List<ScenicAppVO> scenicListByLnLa(ScenicIndexVO scenicIndexVO);
|
||||
}
|
||||
|
@ -15,15 +15,26 @@ import java.util.List;
|
||||
@Mapper
|
||||
public interface SourceMapper {
|
||||
List<SourceRespVO> list(SourceReqQuery sourceReqQuery);
|
||||
|
||||
SourceRespVO getById(Long id);
|
||||
|
||||
int add(SourceEntity source);
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
int update(SourceEntity source);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param sourceReqQuery
|
||||
* @return
|
||||
*/
|
||||
List<SourceRespVO> listGroupByType(SourceReqQuery sourceReqQuery);
|
||||
|
||||
/**
|
||||
* 用户素材数量
|
||||
*
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
int countByMemberId(String userId);
|
||||
}
|
||||
|
@ -1,8 +1,5 @@
|
||||
package com.ycwl.basic.mapper.pc;
|
||||
|
||||
import com.ycwl.basic.model.pc.scenic.entity.ScenicEntity;
|
||||
import com.ycwl.basic.model.pc.scenic.req.ScenicReqQuery;
|
||||
import com.ycwl.basic.model.pc.scenic.resp.ScenicRespVO;
|
||||
import com.ycwl.basic.model.pc.task.entity.TaskEntity;
|
||||
import com.ycwl.basic.model.pc.task.req.TaskReqQuery;
|
||||
import com.ycwl.basic.model.pc.task.resp.TaskRespVO;
|
||||
@ -18,9 +15,30 @@ import java.util.List;
|
||||
@Mapper
|
||||
public interface TaskMapper {
|
||||
List<TaskRespVO> list(TaskReqQuery taskReqQuery);
|
||||
|
||||
TaskRespVO getById(Long id);
|
||||
|
||||
int add(TaskEntity task);
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
int update(TaskEntity task);
|
||||
int updateStatus(Long id,Integer status);
|
||||
|
||||
int updateStatus(Long id, Integer status);
|
||||
|
||||
/**
|
||||
* 用户制作中的视频数量
|
||||
*
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
int countByMemberIdStau(String userId);
|
||||
|
||||
/**
|
||||
* 用户合成的视频
|
||||
*
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
int countByMemberIdStauFinish(String userId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user