|
|
|
@ -682,9 +682,9 @@
|
|
|
|
|
AND basic_products.originUuid is NULL
|
|
|
|
|
</if>
|
|
|
|
|
<if test="filterType != null and filterType == 2 and productsType == 2">
|
|
|
|
|
AND (thirdId = '' or thirdId1 = ''
|
|
|
|
|
or thirdId2 = '' or thirdId3 = ''
|
|
|
|
|
or thirdId4 = '') AND mainId = ''
|
|
|
|
|
AND ((thirdId = '' or thirdId is null) or (thirdId1 = '' or thirdId1 is null)
|
|
|
|
|
or (thirdId2 = '' or thirdId2 is null) or (thirdId3 = '' or thirdId3 is null)
|
|
|
|
|
or (thirdId4 = '' or thirdId4 is null)) AND (mainId = '' or mainId is null)
|
|
|
|
|
</if>
|
|
|
|
|
<if test="filterType != null and filterType == 3">
|
|
|
|
|
AND (mainId is NULL or mainId = '')
|
|
|
|
|