Lee-茶百道门户需求暂存
This commit is contained in:
parent
8b87ecb401
commit
e4f8aaf163
|
|
@ -123,4 +123,11 @@ public interface HrbpPortalMapper {
|
||||||
*/
|
*/
|
||||||
int getLeaveCount(HrbpParam param);
|
int getLeaveCount(HrbpParam param);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* hrbp可查看的应出勤人数
|
||||||
|
* @param param
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
int getKqRequireByBp(HrbpParam param);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -175,4 +175,20 @@
|
||||||
and t.personnel_status = 5
|
and t.personnel_status = 5
|
||||||
</select>
|
</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>
|
</mapper>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue