This commit is contained in:
Lx 2025-07-11 17:39:43 +08:00
parent 8f02904dac
commit 8f2815dde1

View File

@ -56,7 +56,7 @@
AND main.discount > 0
</when>
<when test="entity.discountIndex == 0">
AND main.discount = 0 or main.discount is null
AND (main.discount = 0 or main.discount IS NULL)
</when>
</choose>
</if>