摘要: 特殊字符 * ^ : | . \ 需要用\\转义 一、单个符号作为分隔符 String address="北京.北京市.海淀区.普天大厦"; String[] splitAddress=address.split("\\."); System.out.println(splitAddress[0]+ 阅读全文
posted @ 2021-06-07 18:14 hi_echo 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 方法一:一般用法 select * from orcl_test t<where> <if test="query == 0"> and t.status = 1 </if> <if test="query != 0"> and t.status NOT IN (2,3,4) </if> and t 阅读全文
posted @ 2021-06-07 09:20 hi_echo 阅读(2576) 评论(0) 推荐(0) 编辑