随笔分类 - mybatis
mybatis
摘要:方案1:springboot集成freemarker https://www.cnblogs.com/lipg/p/13761588.html 方案2:参照Mybatis 手写功能 原始请求:拼接XML字符串发送请求 解决方案设计:像mybatis一样写XML文件 然后#{}的方式注入值 唯一区别就
阅读全文
摘要:mybatis 判断字符是否相等 1.外面单引号 里面双引号表示字符串 <if test='showColumn == null or showColumn == "" '> srr.id </if> <if test='showColumn != null and showColumn != ""
阅读全文