摘要:
1. 如果不是在循环体中进行字符串拼接的话,直接使用 String 的 “+” 就好了。 2. 单线程循环中操作大量字符串数据 → StringBuilder.append() 3. 多线程循环中操作大量字符串数据 → StringBuffer.append() https://cloud.tenc 阅读全文
摘要:
如图:show me the code 参考: https://mp.baomidou.com/guide/wrapper.html#or 扩展:一般遇到这种查询需求,in和or都可以实现,比如上面的查询sql也可以写成:select * from table where xxx = ? and c 阅读全文