This commit is contained in:
mashuai 2026-01-27 17:05:27 +08:00
parent d33c3610c3
commit e588949e7c
1 changed files with 2 additions and 4 deletions

View File

@ -88,10 +88,7 @@
</if>
) mtm ON mt3.parent_id = mtm.type_id
WHERE
sai.`status` = '0' and sai.`is_slt` = '0'
AND (sai.source = 1 OR sai.source is NULL)
AND sai.end_time IS NULL
AND sai.back_id IS NULL
sai.is_slt = '0'
<if test="externalId != null and externalId != '' ">
and bp.external_id = #{externalId}
</if>
@ -1709,6 +1706,7 @@
LEFT JOIN ma_type mt4 ON mt4.type_id = mt3.parent_id
WHERE
sai.`status` = '0' and sai.`is_slt` = '0'
AND (sai.source = 1 OR sai.source is NULL)
AND sai.end_time IS NULL
AND sai.back_id IS NULL
<if test="companyId != null">