-
-
Save ksakae1216/c3abbc6e7bb14ad3c6e77d3f6d7c9a51 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' and val != 'B'"> | |
AND | |
COL2 = #{val} | |
</if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment