From 93fe0b66e85e95e3a7e77a28504d6d289b6906b9 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Fri, 08 Oct 2021 13:11:22 +0800 Subject: [PATCH] screen-manage screen-api 更改拦截器逻辑,记录token无效的请求IP以及URL。 manage记录到数据库日志中 api记录在日志文件中 --- screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml index 5bb04ba..a422955 100644 --- a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml +++ b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml @@ -67,8 +67,7 @@ <select id="selectOrgByMac" resultType="com.moral.api.entity.Organization"> SELECT area_code, city_code FROM organization - WHERE organization_id = - (SELECT organization_id FROM special_device WHERE mac = #{mac}) + WHERE id = (SELECT organization_id FROM special_device WHERE mac = #{mac}) </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0