This commit is contained in:
parent
d33c3610c3
commit
e588949e7c
|
|
@ -88,10 +88,7 @@
|
||||||
</if>
|
</if>
|
||||||
) mtm ON mt3.parent_id = mtm.type_id
|
) mtm ON mt3.parent_id = mtm.type_id
|
||||||
WHERE
|
WHERE
|
||||||
sai.`status` = '0' and sai.`is_slt` = '0'
|
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="externalId != null and externalId != '' ">
|
<if test="externalId != null and externalId != '' ">
|
||||||
and bp.external_id = #{externalId}
|
and bp.external_id = #{externalId}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -1709,6 +1706,7 @@
|
||||||
LEFT JOIN ma_type mt4 ON mt4.type_id = mt3.parent_id
|
LEFT JOIN ma_type mt4 ON mt4.type_id = mt3.parent_id
|
||||||
WHERE
|
WHERE
|
||||||
sai.`status` = '0' and sai.`is_slt` = '0'
|
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.end_time IS NULL
|
||||||
AND sai.back_id IS NULL
|
AND sai.back_id IS NULL
|
||||||
<if test="companyId != null">
|
<if test="companyId != null">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue