fix 项目查询

This commit is contained in:
chenjianxing 2020-04-10 13:56:57 +08:00
parent 117fc81343
commit 6894ee679a
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
from project p
join workspace w on p.workspace_id = w.id
<where>
<if test="proRequest.name != ''">
<if test="proRequest.name != null and proRequest.name != ''">
and p.name like #{proRequest.name, jdbcType=VARCHAR}
</if>
<if test="proRequest.workspaceId != null">