代码拉取完成,页面将自动刷新
RuoYiServletInitializer
类,建议同步最新代码或者添加该类type=${@dict.getType('sys_normal_disable')}
的代码怎么直接调用service的如 <div th:text="${@myservice.hello()}">...</div>
在这个例子中,@myservice
就是在上下文中注册的Spring Bean
@Service("myservice")
public class MyService {
public void hello() {
System.out.println("Hello!")
}
}
xx.table not exist
ryxxx.sql
和quartz.sql
ShiroConfig
类中的shiroFilterFactoryBean
方法添加filterChainDefinitionMap.put("your url", "anon");
方法一:在字段上加注解
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime;
方法二:添加全局配置 application中配置
spring
jackson
date-format=yyyy-MM-dd HH:mm:ss
time-zone=GMT+8
如果在页面上要格式化时间 ps: *还是$看使用场景
*{#dates.format(createTime, 'yyyy-MM-dd HH:mm:ss')}
如果在excel
导出里
@Excel(dateFormat = "yyyy-MM-dd HH:mm:ss")
ResourcesConfig
,相当于把"/profile/**"
映射到磁盘,用过nginx
的同学是不是很熟悉呢<select id="selectTableByName" parameterType="String" resultMap="TableInfoResult">
<include refid="selectGenVo"/>
where table_comment <![CDATA[ <> ]]> '' and table_schema = (select database())
and table_name = #{tableName}
</select>
bootstraptable
给tabel添加样式 style="table-layout:fixed"
js给td添加css样式:
field : 'remark',
title : '备注',
cellStyle:{
css:{
"overflow": "hidden",
"text-overflow": "ellipsis",
"white-space": "nowrap"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。