Table注解、Column注解新增高速缓存,超强优化,性能提升。若你在Debug模式修改了该注解,需要调用下/sys/cache/clearAll才可生效。

This commit is contained in:
thinkgem
2019-07-29 22:50:12 +08:00
parent b8836ff284
commit c73456ff49

View File

@@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import com.jeesite.common.cache.CacheUtils;
import com.jeesite.common.config.Global;
import com.jeesite.common.lang.StringUtils;
import com.jeesite.common.mybatis.mapper.MapperHelper;
import com.jeesite.common.web.BaseController;
import com.jeesite.modules.sys.utils.UserUtils;
@@ -30,9 +31,10 @@ public class CacheController extends BaseController {
@RequestMapping(value = "clearAll")
@ResponseBody
public String clearAll() {
CacheUtils.clearCache();
UserUtils.clearCache();
Global.clearCache();
CacheUtils.clearCache();
MapperHelper.clearCache();
UserUtils.clearCache();
return renderResult(Global.TRUE, "清理缓存成功!");
}