fuliqi
2024-09-20 bbd62792fcf95c2ef6c8c0696fd8601869eb1d49
ycl-server/src/main/resources/mapper/zgyw/CheckScoreMapper.xml
@@ -206,4 +206,16 @@
        ORDER BY score DESC, tcs.dept_id
    </select>
    <select id="dashboard" resultType="com.ycl.platform.domain.entity.CheckScore">
        select s.*,d.area as deptName from t_check_score s
        left join sys_dept d on s.dept_id = d.dept_id
        <where>
            <if test="dataScope == 1">
                AND s.examine_tag = 1
            </if>
        </where>
        ORDER BY
        s.create_time DESC
        LIMIT 7
    </select>
</mapper>