This commit is contained in:
parent
d33c3610c3
commit
e588949e7c
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue