绩效相关

This commit is contained in:
2026-10-08 14:34:39 +08:00
parent a98e297d90
commit a4df7e06f6
87 changed files with 5821 additions and 361 deletions
@@ -347,6 +347,18 @@
</select>
<!-- 批量版:条件与 itApprovalByUserName 完全一致,name 改 IN;供 storyBarChart 月度循环批量化(老 SQL 不动) -->
<select id="itApprovalsByNames" resultType="com.sa.zentao.dao.ItApproval">
SELECT * from os_system.it_approval a WHERE 1=1
and a.name in
<foreach collection="names" item="n" open="(" separator="," close=")">#{n}</foreach>
and
(
(date(apply_time_start) BETWEEN date( #{startDate}) and date(#{endDate}))
or(
date(apply_time_end) BETWEEN date(#{startDate}) and date(#{endDate}))
)
</select>
<select id="taskListByIds" resultType="com.sa.zentao.entity.ZtTask">
select