yjanb11

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

 

 

 

解决方法

 

  1. <if test='type=="y"'>  
  2.  
        and status = 1   
  3.  
    </if>  

也可以把代码修改 'y'.toString()

  1.  
    <if test="type == 'y'.toString()">  
  2.  
        and status = 1   
  3.  
    </if>  

 

posted on 2019-09-27 15:26  yjanb11  阅读(1961)  评论(0编辑  收藏  举报