相关文章推荐
精彩文章免费看

thymeleaf th:if 判断表达式

thymeleaf th:if 判断表达式

gt:great than(大于)>
ge:great equal(大于等于)>=
eq:equal(等于)==
lt:less than(小于)<
le:less equal(小于等于)<=
ne:not equal(不等于)!=

这里以th:if为例,其他差不多

th:if="${xx} lt 'x'"  <-----------> xx < x  
 
推荐文章