摘要:
优先级 AND的 优先级高于OR。 因此,当两者一起使用时,应该先运算AND两边的条件表达式,再运算OR两边的条件表达式 注意事项和处理方式 使用前确定好条件的优先级是否会产生歧义问题 使用括号分开 select * from 学生表 where 性别='男' and (出生年份=2000 or 出 阅读全文
摘要:
File file = new File("path"); InputStream is; if (file.exists()) { is = new FileInputStream(file); } else { is = new ClassPathResource("path").getInpu 阅读全文