Commit 94230c7c authored by tianyiming's avatar tianyiming

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

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