package com.testor.module.safeCheck.dao;

import com.testor.module.safeCheck.model.domain.TSafeHazardCheckResultDetail;
import com.testor.module.safeCheck.model.vo.SafeHazardCheckResultDetailCountVO;
import com.testor.module.safeCheck.model.vo.SafeHazardCheckResultDetailVO;
import com.tongtech.tfw.backend.common.models.supers.SuperDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 巡检结果明细(关联标准)Mapper接口
 *
 * @author testor-framework
 * @date 2022-08-04 11:07:56
 */
public interface TSafeHazardCheckResultDetailDao extends SuperDao<TSafeHazardCheckResultDetail>
{
    List<SafeHazardCheckResultDetailVO> listByResult(@Param("resultId") String resultId);

    List<SafeHazardCheckResultDetailCountVO> countByResult(@Param("resultId") String resultId);

}
