Commit 864f9c03 authored by libin's avatar libin

分公司查询添加状态条件查询

parent be95908a
......@@ -20,6 +20,7 @@
<result column="longitude" property="longitude"/>
<result column="latitude" property="latitude"/>
<result column="zone_id" property="zoneId"/>
<result column="state" property="state"/>
</resultMap>
<select id="search" resultType="com.xxfc.platform.vehicle.pojo.CompanySearchVO">
......@@ -69,7 +70,7 @@
bc.longitude,
bc.latitude
FROM
(SELECT * FROM `branch_company` WHERE `is_del`=0) AS `bc`
(SELECT * FROM `branch_company` WHERE `is_del`=0 AND `state`=1) AS `bc`
INNER JOIN (SELECT * FROM `company_base` WHERE `is_del`=0
<if test="provinceCode != null">
AND `addr_province`=#{provinceCode}
......
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