关于thymeleaf:Thymeleafltleeqnegegtnotmod表示的含义

36次阅读

共计 248 个字符,预计需要花费 1 分钟才能阅读完成。

在 Thymeleaf 之中逻辑运算能够应用上面的一些运算符来实现。
例如:and、or、关系比拟(>、<、>=、<=、==、!=、lt、gt、le、ge、eq、ne 等)。

上面阐明一下:lt、gt、le、ge、eq、ne 所代表的含意:

lt:less than 小于
le:less than or equal to 小于等于
eq:equal to 等于
ne:not equal to 不等于
ge:greater than or equal to 大于等于
gt:greater than 大于
not: 非运算
mod: 取模
and: 与运算
or: 或运算 

正文完
 0