thymleaf 直接调用后台代码用 ${@service.me
2020-06-30 本文已影响0人
zt_sole
thymleaf 直接调用后台代码用 ${@service.method}
<select id="fillStyleId" name="fillStyleId" class="form-control chosen-select" required>
<option value="">请选择填充样式</option><option th:each="item:${@fenceStyleServiceImpl.list(null)}" th:text="${item.name}" th:value="${item.id}" th:selected="(${treeFence.fillStyleId}==${item.id})">
</option>
</select>