用户需求相关
This commit is contained in:
@ -85,6 +85,10 @@
|
||||
and severity = #{qo.severity}
|
||||
</if>
|
||||
|
||||
<if test="qo.status != null and qo.status != ''">
|
||||
and status = #{qo.status}
|
||||
</if>
|
||||
|
||||
<if test="qo.pri != null and qo.pri != ''">
|
||||
and pri = #{qo.pri}
|
||||
</if>
|
||||
|
@ -224,11 +224,11 @@
|
||||
</select>
|
||||
<select id="selectPrdByName" resultType="com.sa.zentao.dao.ZtProjectDTO">
|
||||
|
||||
SELECT * from zt_project WHERE `name` = #{name} and type = 'sprint'
|
||||
SELECT p.id,p.project from zt_project p WHERE p.`name` = #{name} and p.type = 'sprint'
|
||||
|
||||
</select>
|
||||
<select id="selectPrdById" resultType="com.sa.zentao.dao.ZtProjectDTO">
|
||||
SELECT * from zt_project WHERE id = #{id} and type = 'sprint'
|
||||
SELECT id,`name` from zt_project WHERE id = #{id} and type = 'sprint'
|
||||
</select>
|
||||
<select id="performanceCount" resultType="com.sa.zentao.dao.PerformanceDTO">
|
||||
SELECT
|
||||
|
@ -109,6 +109,10 @@
|
||||
and s.status = '11'
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal != null and qo.searchVal == 'WYS' ">
|
||||
and s.ys_user = #{qo.userName}
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal != null and qo.searchVal == 'WPS' ">
|
||||
and s.reviewedBy like concat('%', #{qo.userName}, '%')
|
||||
</if>
|
||||
@ -234,6 +238,10 @@
|
||||
and s.title like concat('%', #{qo.title}, '%')
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal != null and qo.searchVal == 'WYS' ">
|
||||
and s.ys_user = #{qo.userName}
|
||||
</if>
|
||||
|
||||
<if test="qo.stage != null and qo.stage != '' ">
|
||||
and s.stage = #{qo.stage}
|
||||
</if>
|
||||
@ -671,7 +679,9 @@
|
||||
and s.status ='reviewing'
|
||||
and v.result = ''
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal != null and qo.searchVal == 'WYS' ">
|
||||
and s.ys_user = #{qo.userName}
|
||||
</if>
|
||||
<if test="qo.searchVal == 'JH' ">
|
||||
and s.status = 'active'
|
||||
</if>
|
||||
|
@ -55,10 +55,10 @@
|
||||
</if>
|
||||
|
||||
<if test="qo.startDate !=null">
|
||||
and s.openedDate <![CDATA[>=]]> #{qo.startDate}
|
||||
and s.opened_date <![CDATA[>=]]> #{qo.startDate}
|
||||
</if>
|
||||
<if test="qo.endDate !=null">
|
||||
and s.openedDate <![CDATA[<=]]> #{qo.endDate}
|
||||
and s.opened_date <![CDATA[<=]]> #{qo.endDate}
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal == 'ALL' ">
|
||||
@ -84,6 +84,8 @@
|
||||
</foreach>
|
||||
|
||||
</if>
|
||||
|
||||
order by s.id desc
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user