11/26 sql优化1.1

dev_unify
wangwei 7 months ago
parent 7441b65c35
commit ae63015073

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

Loading…
Cancel
Save