yeg
2026-08-30 d465482a314ea4f5703aba7ca5cc33a682fc2f5c
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
package com.ruoyi.system.mapper;
 
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.system.domain.TTestType;
 
/**
 * 测试类型 Mapper 接口。
 *
 * @author ruoyi
 */
public interface TTestTypeMapper
{
    /** 查询测试类型详情。 */
    TTestType selectTestTypeById(Long testTypeId);
 
    /** 查询测试类型列表。 */
    List<TTestType> selectTestTypeList(TTestType testType);
 
    /** 根据名称查询未删除测试类型。 */
    TTestType selectTestTypeByName(String testTypeName);
 
    /** 新增测试类型。 */
    int insertTestType(TTestType testType);
 
    /** 编辑测试类型基础资料。 */
    int updateTestType(TTestType testType);
 
    /** 更新测试类型状态。 */
    int updateTestTypeStatus(TTestType testType);
 
    /** 统计有效测试记录对测试类型的引用数。 */
    int countTestReferencesByTestTypeId(Long testTypeId);
 
    /** 逻辑删除测试类型。 */
    int deleteTestTypeById(@Param("testTypeId") Long testTypeId, @Param("updateBy") String updateBy);
}