|
@@ -37,7 +37,7 @@
|
|
|
<if test="code != null and code != ''">
|
|
|
AND code LIKE CONCAT('%', #{code}, '%')
|
|
|
</if>
|
|
|
- <if test="projectType != null and projectType != ''">
|
|
|
+ <if test="projectType != null and projectType != 0">
|
|
|
AND project_type = #{projectType}
|
|
|
</if>
|
|
|
</where>
|
|
@@ -54,7 +54,7 @@
|
|
|
<if test="code != null and code != ''">
|
|
|
AND code LIKE CONCAT('%', #{code}, '%')
|
|
|
</if>
|
|
|
- <if test="projectType != null and projectType != ''">
|
|
|
+ <if test="projectType != null and projectType != 0">
|
|
|
AND project_type = #{projectType}
|
|
|
</if>
|
|
|
</where>
|