Commit 94230c7c authored by tianyiming's avatar tianyiming

fix(api): 增加删除标记判断

parent c7c3ad9c
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
or (b.supervise_org_code = '50' and b.office_region LIKE CONCAT ('%', #{regionCode}, '%'))) or (b.supervise_org_code = '50' and b.office_region LIKE CONCAT ('%', #{regionCode}, '%')))
AND (b.unit_type LIKE '%检验机构%' OR b.unit_type LIKE '%检测机构%') AND (b.unit_type LIKE '%检验机构%' OR b.unit_type LIKE '%检测机构%')
AND b.unit_type NOT LIKE '%检验检测机构%' AND b.unit_type NOT LIKE '%检验检测机构%'
AND b.is_delete = 0
</select> </select>
<select id="countAllRegThirdInspectCompany" resultType="java.lang.Long"> <select id="countAllRegThirdInspectCompany" resultType="java.lang.Long">
SELECT SELECT
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
</foreach> </foreach>
AND (b.unit_type LIKE '%检验机构%' OR b.unit_type LIKE '%检测机构%') AND (b.unit_type LIKE '%检验机构%' OR b.unit_type LIKE '%检测机构%')
AND b.unit_type NOT LIKE '%检验检测机构%' AND b.unit_type NOT LIKE '%检验检测机构%'
AND b.is_delete = 0
</select> </select>
<select id="countAllOpenBizInspectCompany" resultType="java.lang.Long"> <select id="countAllOpenBizInspectCompany" resultType="java.lang.Long">
SELECT SELECT
......
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