-
-
Save ksakae1216/ae82147000e88112c65f78b662b76e38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
VAL1 | |
,VAL2 | |
FROM | |
TEST_TABLE | |
WHERE | |
COL1 = 'hogehoge' | |
<if test="val != '' and val != 'A'.toString() and val != 'B'.toString()"> | |
AND | |
COL2 = #{val} | |
</if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment