绩效相关
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
<result column="product_person" property="productPerson" />
|
||||
<result column="develop_person" property="developPerson" />
|
||||
<result column="test_person" property="testPerson" />
|
||||
<result column="acceptance_criteria" property="acceptanceCriteria" />
|
||||
</resultMap>
|
||||
|
||||
<select id="queryByMonthWithTitle" resultMap="BaseResultMap">
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user