Commit 0ac8f7a4 authored by 周健威's avatar 周健威

修改查询bug

parent bbdbfb62
...@@ -383,6 +383,7 @@ ...@@ -383,6 +383,7 @@
<include refid="searchUsableSql"/> <include refid="searchUsableSql"/>
and vm.id is not null and vm.id is not null
and vm.status = 1 and vm.status = 1
and vm.is_del = 0
and bc.id is not null and bc.id is not null
GROUP BY model_id, company_id GROUP BY model_id, company_id
<if test="lon != null and lat != null">, distance</if> <if test="lon != null and lat != null">, distance</if>
...@@ -597,6 +598,7 @@ ...@@ -597,6 +598,7 @@
<if test=" parkBranchCompanyId != null "> <if test=" parkBranchCompanyId != null ">
and v.park_branch_company_id = #{parkBranchCompanyId} and v.park_branch_company_id = #{parkBranchCompanyId}
</if> </if>
and v.is_del = 0
</where> </where>
</sql> </sql>
......
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