用户需求任务
This commit is contained in:
@ -63,6 +63,31 @@
|
||||
left join zt_product pt on s.product = pt.id
|
||||
where 1= 1
|
||||
|
||||
|
||||
<if test="qo.id != null and qo.id != 0">
|
||||
and s.id = #{qo.id}
|
||||
</if>
|
||||
|
||||
<if test="qo.name != null and qo.name != ''">
|
||||
and s.name like concat('%', #{qo.name}, '%')
|
||||
</if>
|
||||
|
||||
<if test="qo.type != null and qo.type != ''">
|
||||
and s.`type` = #{qo.type}
|
||||
</if>
|
||||
|
||||
<if test="qo.pri != null and qo.pri != ''">
|
||||
and s.pri = #{qo.pri}
|
||||
</if>
|
||||
|
||||
<if test="qo.assignedTo != null and qo.assignedTo != ''">
|
||||
and s.assignedTo = #{qo.assignedTo}
|
||||
</if>
|
||||
|
||||
<if test="qo.status != null and qo.status != ''">
|
||||
and s.status = #{qo.status}
|
||||
</if>
|
||||
|
||||
<if test="qo.startDate !=null">
|
||||
and s.openedDate <![CDATA[>=]]> #{qo.startDate}
|
||||
</if>
|
||||
|
Reference in New Issue
Block a user