54 lines
1.4 KiB
Java
54 lines
1.4 KiB
Java
package com.rj.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.rj.entity.VideoImageAnalysis;
|
|
|
|
/**
|
|
* AI视频图像分析记录Service接口
|
|
*
|
|
* @author 系统生成
|
|
* @date 2025/1/30
|
|
*/
|
|
public interface IVideoImageAnalysisService extends IService<VideoImageAnalysis> {
|
|
|
|
/**
|
|
* 保存AI视频图像分析记录
|
|
*
|
|
* @param analysis AI视频图像分析记录
|
|
* @return 是否保存成功
|
|
*/
|
|
boolean saveVideoImageAnalysis(VideoImageAnalysis analysis);
|
|
|
|
/**
|
|
* 根据用户姓名查询AI视频图像分析记录
|
|
*
|
|
* @param userName 用户姓名
|
|
* @return AI视频图像分析记录
|
|
*/
|
|
VideoImageAnalysis getByUserName(String userName);
|
|
|
|
/**
|
|
* 根据用户电话查询AI视频图像分析记录
|
|
*
|
|
* @param userPhone 用户电话
|
|
* @return AI视频图像分析记录
|
|
*/
|
|
VideoImageAnalysis getByUserPhone(String userPhone);
|
|
|
|
/**
|
|
* 根据会话名称查询AI视频图像分析记录
|
|
*
|
|
* @param sessionName 会话名称
|
|
* @return AI视频图像分析记录
|
|
*/
|
|
VideoImageAnalysis getBySessionName(String sessionName);
|
|
|
|
/**
|
|
* 根据模型查询AI视频图像分析记录
|
|
*
|
|
* @param model AI模型
|
|
* @return AI视频图像分析记录
|
|
*/
|
|
VideoImageAnalysis getByModel(String model);
|
|
}
|