|
@@ -201,16 +201,16 @@
|
|
|
<if test="query.projectName != null and query.projectName != ''">
|
|
|
AND a.project_name LIKE CONCAT('%',#{query.projectName},'%')
|
|
|
</if>
|
|
|
- <if test="query.type != null">
|
|
|
+ <if test="query.type != null and query.type != ''">
|
|
|
AND a.type = #{query.type}
|
|
|
</if>
|
|
|
- <if test="query.routeType != null">
|
|
|
+ <if test="query.routeType != null and query.routeType != ''">
|
|
|
AND a.route_type = #{query.routeType}
|
|
|
</if>
|
|
|
<if test="query.stage != null">
|
|
|
AND a.stage = #{query.stage}
|
|
|
</if>
|
|
|
- <if test="query.operationCompany != null">
|
|
|
+ <if test="query.operationCompany != null and query.operationCompany != ''">
|
|
|
AND a.operation_company = #{query.operationCompany}
|
|
|
</if>
|
|
|
</where>
|