问题反馈对接oa以及一堆bug
This commit is contained in:
@ -139,9 +139,20 @@
|
||||
|
||||
<select id="myBugPageList" resultType="com.sa.zentao.dao.ZtBugDTO">
|
||||
|
||||
SELECT * from zt_bug
|
||||
SELECT s.*,pt.name productName from zt_bug s left join zt_product pt on s.product = pt.id
|
||||
WHERE 1=1
|
||||
|
||||
<if test="qo.startDate !=null">
|
||||
and s.openedDate <![CDATA[>=]]> #{qo.startDate}
|
||||
</if>
|
||||
<if test="qo.endDate !=null">
|
||||
and s.openedDate <![CDATA[<=]]> #{qo.endDate}
|
||||
</if>
|
||||
|
||||
<if test="qo.productName != null and qo.productName != '' ">
|
||||
and pt.name like concat('%', #{qo.productName}, '%')
|
||||
</if>
|
||||
|
||||
|
||||
<if test="qo.objIds != null and qo.objIds.size() > 0">
|
||||
and id in
|
||||
|
Reference in New Issue
Block a user