You've already forked FrameTour-BE
修改mapper文件路径
添加“MessageRecordMapper”
This commit is contained in:
40
src/main/java/com/ycwl/basic/mapper/SourceMapper.java
Normal file
40
src/main/java/com/ycwl/basic/mapper/SourceMapper.java
Normal file
@ -0,0 +1,40 @@
|
||||
package com.ycwl.basic.mapper;
|
||||
|
||||
import com.ycwl.basic.model.pc.source.entity.SourceEntity;
|
||||
import com.ycwl.basic.model.pc.source.req.SourceReqQuery;
|
||||
import com.ycwl.basic.model.pc.source.resp.SourceRespVO;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/2 11:21
|
||||
* 视频源
|
||||
*/
|
||||
@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);
|
||||
}
|
Reference in New Issue
Block a user