From 34fd8233bab7c8a00211644579942086deea722f Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <913652501@qq.com> Date: Mon, 10 Aug 2020 18:23:41 +0800 Subject: [PATCH] 添加 token 失效和token 超时的功能 --- kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDepartmentMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDepartmentMapper.xml b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDepartmentMapper.xml index e18fa69..5a7d902 100644 --- a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDepartmentMapper.xml +++ b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDepartmentMapper.xml @@ -51,6 +51,9 @@ <if test="p.updateTime != null and p.updateTime !=''"> and update_time = #{p.updateTime} </if> + <if test="p.accountsCount != null and p.accountsCount !=''"> + and accounts_count = #{p.accountsCount} + </if> </where> </sql> @@ -61,6 +64,7 @@ from sys_department <include refid="where"/> order by id desc + limit 1 </select> <!--定义根据-SysDepartment当作查询条件返回对象集合--> -- Gitblit v1.8.0