From 13c6012121cbea79ed8dfd840cfd027e1b667ec3 Mon Sep 17 00:00:00 2001 From: zhousq Date: Mon, 27 Nov 2023 08:48:00 +0800 Subject: [PATCH] =?UTF-8?q?2023-11-27=20=E6=9B=B4=E6=96=B0=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=92=8C=E6=96=B0=E5=A2=9E=E5=8F=82=E6=95=B0=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E5=92=8C=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lzbi-admin/src/main/resources/application.yml | 2 +- .../java/com/lzbi/serial/mapper/CodeRuleDefineMapper.java | 6 +++++- .../java/com/lzbi/serial/mapper/CodeRuleSerialMapper.java | 6 +++++- .../java/com/lzbi/serial/service/CodeRuleDefineService.java | 2 ++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/lzbi-admin/src/main/resources/application.yml b/lzbi-admin/src/main/resources/application.yml index ad12beb..038953d 100644 --- a/lzbi-admin/src/main/resources/application.yml +++ b/lzbi-admin/src/main/resources/application.yml @@ -105,7 +105,7 @@ swagger: # 是否开启swagger enabled: true # 请求前缀 - pathMapping: /dev-api + pathMapping: / # 防止XSS攻击 xss: diff --git a/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleDefineMapper.java b/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleDefineMapper.java index 304d695..c6e1b3d 100644 --- a/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleDefineMapper.java +++ b/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleDefineMapper.java @@ -1,5 +1,8 @@ package com.lzbi.serial.mapper; +import com.baomidou.mybatisplus.annotation.InterceptorIgnore; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.lzbi.bi.domain.DcBusiDataScreenDto; import com.lzbi.serial.domain.CodeRuleDefine; import java.util.List; @@ -10,7 +13,8 @@ import java.util.List; * @author ruoyi * @date 2022-12-20 */ -public interface CodeRuleDefineMapper +@InterceptorIgnore(tenantLine = "true") +public interface CodeRuleDefineMapper extends BaseMapper { /** * 查询单据编号定定义 diff --git a/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleSerialMapper.java b/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleSerialMapper.java index fa18202..586a36d 100644 --- a/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleSerialMapper.java +++ b/lzbi-module/src/main/java/com/lzbi/serial/mapper/CodeRuleSerialMapper.java @@ -1,5 +1,8 @@ package com.lzbi.serial.mapper; +import com.baomidou.mybatisplus.annotation.InterceptorIgnore; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.lzbi.serial.domain.CodeRuleDefine; import com.lzbi.serial.domain.CodeRuleSerial; import java.util.List; @@ -10,7 +13,8 @@ import java.util.List; * @author ruoyi * @date 2022-12-20 */ -public interface CodeRuleSerialMapper +@InterceptorIgnore(tenantLine = "true") +public interface CodeRuleSerialMapper extends BaseMapper { /** * 查询单据流水号 diff --git a/lzbi-module/src/main/java/com/lzbi/serial/service/CodeRuleDefineService.java b/lzbi-module/src/main/java/com/lzbi/serial/service/CodeRuleDefineService.java index 1cf43ff..a4eb603 100644 --- a/lzbi-module/src/main/java/com/lzbi/serial/service/CodeRuleDefineService.java +++ b/lzbi-module/src/main/java/com/lzbi/serial/service/CodeRuleDefineService.java @@ -1,6 +1,7 @@ package com.lzbi.serial.service; +import com.baomidou.mybatisplus.annotation.InterceptorIgnore; import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.lzbi.common.core.domain.model.LoginUser; @@ -19,6 +20,7 @@ import java.util.List; * @author ruoyi * @date 2022-12-20 */ + @Service public class CodeRuleDefineService extends ServiceImpl implements IService {