摘要:
阅读全文
posted @ 2020-09-28 18:42
周文豪
阅读(152)
评论(0)
推荐(0)
摘要:
MyBatis二级缓存使用: 官方建议在service使用缓存,但是你也可以直接在mapper层缓存,这里的二级缓存就是直接在Mapper层进行缓存操作 Mybatis的二级缓存实现也十分简单,只要在springboot的配置文件打开二级缓存,即:mybatis-plus.configuration 阅读全文
posted @ 2020-09-28 18:39
周文豪
阅读(6788)
评论(0)
推荐(0)
摘要:
根据条件导出表格: 前端 <el-form-item label=""> <el-button type="warning" icon="el-icon-lightning" @click="exportExcel">导出</el-button></el-form-item> //导出数据expor 阅读全文
posted @ 2020-09-28 18:10
周文豪
阅读(599)
评论(0)
推荐(0)
摘要:
前端 <el-button type="success" icon="el-icon-download" @click="downloadTemplate">下载模板</el-button> //下载模板downloadTemplate(){ const fileName = '药品清单-模板.xl 阅读全文
posted @ 2020-09-28 17:34
周文豪
阅读(252)
评论(0)
推荐(0)
浙公网安备 33010602011771号