@Select("<script>" +
            "select c.id from dwzsk_content c " +
            "WHERE c.`status`!=3" +
            "<if test='title!=null and title!=&apos;&apos;'>" +
            " and title=#{title}" +
            "</if>" +
            "</script>")
    List<SysContentVo> selectSysContentListBySysContentVo(SysContentVo sysContentVo);

 

&apos;就是单引号的意思,但是因为我们外层已经有一个单引号了 所以这里就不能直接写单引号

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-12-04
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-28
  • 2021-09-04
  • 2022-02-08
  • 2022-12-23
  • 2021-09-13
  • 2021-12-01
  • 2021-10-04
相关资源
相似解决方案