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 {