Commit b516bab4 by guojuxing

审批工单接口修改

parent d4bcc92c
......@@ -319,13 +319,21 @@
</if>
<if test="auditResult != 3">
and audit_result = #{auditResult}
and audit_expire_time >= now()
</if>
</if>
<if test="search != null and search != '' ">
and ( project_item_name like concat('%', #{search},'%')
or auditor_name like concat('%', #{search},'%')
<if test="searchType == 2">
and ( project_item_name like concat('%', #{search},'%')
or apply_user_name like concat('%', #{search},'%')
)
</if>
<if test="searchType == 1">
and ( project_item_name like concat('%', #{search},'%')
or auditor_name like concat('%', #{search},'%')
)
</if>
)
</if>
order by create_time desc
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment