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);
|
}
|