工业互联网平台2.0版本后端代码
houzhongjian
2025-05-29 41499fd3c28216c1526a72b10fa98eb8ffee78cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.iailab.module.ai.service.questiontemplate;
 
import javax.validation.*;
import com.iailab.module.ai.controller.admin.questiontemplate.vo.*;
import com.iailab.module.ai.dal.dataobject.questiontemplate.QuestionTemplateDO;
import com.iailab.framework.common.pojo.PageResult;
 
/**
 * 大模型问题模板 Service 接口
 *
 * @author 超级管理员
 */
public interface QuestionTemplateService {
 
    /**
     * 创建大模型问题模板
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    String createQuestionTemplate(@Valid QuestionTemplateSaveReqVO createReqVO);
 
    /**
     * 更新大模型问题模板
     *
     * @param updateReqVO 更新信息
     */
    void updateQuestionTemplate(@Valid QuestionTemplateSaveReqVO updateReqVO);
 
    /**
     * 删除大模型问题模板
     *
     * @param id 编号
     */
    void deleteQuestionTemplate(String id);
 
    /**
     * 获得大模型问题模板
     *
     * @param id 编号
     * @return 大模型问题模板
     */
    QuestionTemplateDO getQuestionTemplate(String id);
 
    /**
     * 获得大模型问题模板分页
     *
     * @param pageReqVO 分页查询
     * @return 大模型问题模板分页
     */
    PageResult<QuestionTemplateDO> getQuestionTemplatePage(QuestionTemplatePageReqVO pageReqVO);
 
}