标签:mat imp simple rtt start int nbsp 登录 现在
Date data = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); String time = sdf.format(data); int res1 = branchStartTime.compareTo(time); int res2 = time.compareTo(branchEndTime); if (res1 > 0 || res2 > 0) { result.put("result", 0); result.put("message", "用户所属机构现在无权限登录"); return result.toJSONString(); }
标签:mat imp simple rtt start int nbsp 登录 现在
原文地址:https://www.cnblogs.com/liuyi-clover/p/9406610.html