关于thymeleaf:Thymeleafltleeqnegegtnotmod表示的含义

在 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:或运算

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理