Lee-茶百道门户需求暂存

This commit is contained in:
李栋 2025-08-14 20:36:39 +08:00
parent 8b87ecb401
commit e4f8aaf163
2 changed files with 23 additions and 0 deletions

View File

@ -123,4 +123,11 @@ public interface HrbpPortalMapper {
*/
int getLeaveCount(HrbpParam param);
/**
* hrbp可查看的应出勤人数
* @param param
* @return
*/
int getKqRequireByBp(HrbpParam param);
}

View File

@ -175,4 +175,20 @@
and t.personnel_status = 5
</select>
<select id="getKqRequireByBp" resultType="java.lang.Integer">
SELECT
b.id
FROM
{eteams}.hrm_matrix_value_data a
LEFT JOIN
{e10_common}.uf_kqtotal b ON b.bm = a.matrix_data_id
WHERE
a.tenant_key = #{tenantKey}
<!-- 矩阵id -->
AND a.matrix_id = #{matrixId}
<!-- 矩阵配置id(hrbp字段id) hrbpId -->
AND a.matrix_value_config_id = #{matrixValueConfigId}
AND a.delete_type = 0
</select>
</mapper>