package com.gkhy.assess.system.mapper; import com.gkhy.assess.system.domain.AssAudit; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; /** *

* 审核表 Mapper 接口 *

* * @author kzy * @since 2023-12-12 10:46:54 */ @Mapper public interface AssAuditMapper extends BaseMapper { /** * 根据项目id获取审核数量 * @param projectId * @param auditType * @return */ int getCountByProjectId(@Param("projectId") Long projectId,@Param("auditType") Integer auditType); /** * 根据项目id获取审核记录 * @param projectId * @return */ AssAudit getAuditByProjectId(Long projectId,Integer auditType); /** * 根据id获取审核记录 * @param auditId * @return */ AssAudit getAuditById(Long auditId); }