From 5ed6453b527aa406575a4ba2e14dcaa0d05a7700 Mon Sep 17 00:00:00 2001 From: dongdingding <207595406@qq.com> Date: Sat, 7 Oct 2023 09:56:43 +0800 Subject: [PATCH] bug fix --- ruoyi-admin/src/main/resources/application.yml | 2 +- .../src/main/resources/mapper/yingji/BKeyEnterpriseMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 29cdf90..1b60666 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -123,7 +123,7 @@ pagehelper: # Swagger配置 knife4j: - enable: false + enable: true # 防止XSS攻击 diff --git a/ruoyi-system/src/main/resources/mapper/yingji/BKeyEnterpriseMapper.xml b/ruoyi-system/src/main/resources/mapper/yingji/BKeyEnterpriseMapper.xml index 5794130..e9799d3 100644 --- a/ruoyi-system/src/main/resources/mapper/yingji/BKeyEnterpriseMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/yingji/BKeyEnterpriseMapper.xml @@ -40,6 +40,6 @@ select count(*) as count from b_key_enterprise where district like concat('%',#{district},'%') \ No newline at end of file