From f3cd78cd0355259a7f08cab33df69e0ac3a6850d Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期四, 26 五月 2022 18:12:27 +0800 Subject: [PATCH] mybatis时间转化文件 --- src/main/java/com/hx/resultTool/Result.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hx/resultTool/Result.java b/src/main/java/com/hx/resultTool/Result.java index 32f35c9..1e92237 100644 --- a/src/main/java/com/hx/resultTool/Result.java +++ b/src/main/java/com/hx/resultTool/Result.java @@ -54,6 +54,14 @@ return Result; } + /**鏍¢獙杩斿洖鐮�*/ + public Boolean checkCode(){ + if(ResponseCode.SUCCESS.equals(code)){ + return true; + } + return false; + } + /*******************************************************************************/ public String getCode() { -- Gitblit v1.8.0