提交 a9486bf9 authored 作者: ww1xhqc's avatar ww1xhqc

[数据模型] 去缓存

上级 dbbbf9cc
......@@ -31,7 +31,7 @@ public interface ModelService {
* @return
* @throws SQLException
*/
@Cacheable(cacheNames = "tableInfos",sync = true)
// @Cacheable(cacheNames = "tableInfos",sync = true)
Page<TableInfo> listAllEntities(SearchTableInfoVo searchTableInfoVo) throws SQLException;
......@@ -49,7 +49,7 @@ public interface ModelService {
* @param searchColumnInfoVo
* @return
*/
@Cacheable(cacheNames = "tableInfos")
// @Cacheable(cacheNames = "tableInfos")
List<ColumnInfo> showModelFields(SearchColumnInfoVo searchColumnInfoVo);
......@@ -59,8 +59,8 @@ public interface ModelService {
* @param tableVO
* @return
*/
@CachePut(cacheNames = "tableInfos")
@CacheEvict(cacheNames = "tableInfos",allEntries = true)
// @CachePut(cacheNames = "tableInfos")
// @CacheEvict(cacheNames = "tableInfos",allEntries = true)
TableInfo newTable(TableVO tableVO);
/**
......@@ -99,8 +99,8 @@ public interface ModelService {
* @param updateTableInfoVO
* @return
*/
@CachePut(cacheNames = "tableInfos")
@CacheEvict(cacheNames = "tableInfos",allEntries = true)
// @CachePut(cacheNames = "tableInfos")
// @CacheEvict(cacheNames = "tableInfos",allEntries = true)
int updateTable(UpdateTableInfoVO updateTableInfoVO);
......@@ -110,7 +110,7 @@ public interface ModelService {
* @param delTableVO
* @return
*/
@CacheEvict(cacheNames = "tableInfos",allEntries = true)
// @CacheEvict(cacheNames = "tableInfos",allEntries = true)
int delTable(DelTableVO delTableVO);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论