mybatis中条件表达式字符串用''单引号不能直接比较,需要加toString()
<if test="param != null and param != 'hello'.toString()" >
或者用""双引号
<if test='param != null and param != "hello" ' >
mybatis中条件表达式字符串用''单引号不能直接比较,需要加toString()
<if test="param != null and param != 'hello'.toString()" >
或者用""双引号
<if test='param != null and param != "hello" ' >
与字符串相关的函数
Lua的语法实际上和c的语法很接近,看起来也比较的简洁.(Lua5.1版本)Lua的关键字如下: and break do else &n
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M