Fork me on GitHub
摘要: mybatis 映射文件中,if标签判断字符串sfyx变量是否是字符串Y的时候,发现并不管用: <if test="sfyx=='Y' "> and 1=1 </if> 当时就寻思着可能是字符和字符串的问题,改成双引号试试,结果就成功了: <if test = 'sfyx== "Y" '> and 阅读全文
posted @ 2018-11-28 20:06 爱跑步的星仔 阅读(4074) 评论(0) 推荐(1) 编辑