发布等
This commit is contained in:
@ -141,8 +141,87 @@
|
||||
|
||||
SELECT * from zt_bug
|
||||
WHERE 1=1
|
||||
and openedBy =#{qo.userName}
|
||||
or assignedTo =#{qo.userName}
|
||||
|
||||
|
||||
<if test="qo.objIds != null and qo.objIds.size() > 0">
|
||||
and id in
|
||||
<foreach collection="qo.objIds" item="id" index="index"
|
||||
open="(" close=")" separator=",">
|
||||
#{id}
|
||||
</foreach>
|
||||
|
||||
</if>
|
||||
|
||||
|
||||
<if test="qo.projectIds != null and qo.projectIds.size() > 0">
|
||||
and project in
|
||||
<foreach collection="qo.projectIds" item="id" index="index"
|
||||
open="(" close=")" separator=",">
|
||||
#{id}
|
||||
</foreach>
|
||||
|
||||
</if>
|
||||
<if test="qo.searchVal == 'ALL' ">
|
||||
|
||||
</if>
|
||||
<if test="qo.searchVal == 'WGB' ">
|
||||
-- 未关闭
|
||||
and status !='closed'
|
||||
</if>
|
||||
<if test="qo.searchVal == 'YWCJ' ">
|
||||
-- 由我创建
|
||||
and openedBy =#{qo.userName}
|
||||
</if>
|
||||
<if test="qo.searchVal == 'ZPGW' ">
|
||||
-- 指派给我
|
||||
and assignedTo =#{qo.userName}
|
||||
</if>
|
||||
<if test="qo.searchVal == 'YWJJ' ">
|
||||
-- 由我解决
|
||||
and resolvedBy =#{qo.userName}
|
||||
and status= 'resolved'
|
||||
</if>
|
||||
<if test="qo.searchVal == 'YWZP' ">
|
||||
-- 由我指派
|
||||
and openedBy =#{qo.userName}
|
||||
</if>
|
||||
<if test="qo.searchVal == 'WJJ' ">
|
||||
-- //未解决
|
||||
and status= 'active'
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal == 'WQR' ">
|
||||
-- //未确认
|
||||
and confirmed= 0
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal == 'WZP' ">
|
||||
-- //未指派
|
||||
and assignedTo is null
|
||||
</if>
|
||||
|
||||
|
||||
<if test="qo.searchVal == 'JWCL' ">
|
||||
-- //久未处理
|
||||
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal == 'DGB' ">
|
||||
-- //待关闭
|
||||
|
||||
</if>
|
||||
<if test="qo.searchVal == 'BYQ' ">
|
||||
-- //被延期
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal == 'GQ' ">
|
||||
-- //过期BUG
|
||||
</if>
|
||||
|
||||
<if test="qo.searchVal == 'XQBD' ">
|
||||
-- //研发需求变动
|
||||
</if>
|
||||
|
||||
|
||||
|
||||
order by id desc
|
||||
|
Reference in New Issue
Block a user