package com.yeejoin.precontrol.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.precontrol.common.entity.ProjectScore;
import feign.Param;

/**
 * 项目安全态势评分表 Mapper 接口
 *
 * @author duanwei
 * @date 2020-08-07
 */
public interface ProjectScoreMapper extends BaseMapper<ProjectScore> {

    Integer allProjectAvgScore(@Param("orgCode") String orgCode);

    ProjectScore selectLastScoreByProjectId(@Param("projectId") Long projectId);
}
