1.修改包名

2.修改数据库链接配置
This commit is contained in:
zayac 2024-05-08 14:49:42 +08:00
parent 74baef2943
commit f1de3f4417
264 changed files with 790 additions and 786 deletions

29
pom.xml
View File

@ -15,18 +15,17 @@
<version>2.0.0</version> <version>2.0.0</version>
</parent> </parent>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin</artifactId> <artifactId>zayac-admin</artifactId>
<version>${revision}</version> <version>${revision}</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<description>ContiNew AdminContinue New Admin持续迭代优化的前后端分离中后台管理系统框架开箱即用持续提供舒适的开发体验。</description> <description>ContiNew AdminContinue New Admin持续迭代优化的前后端分离中后台管理系统框架开箱即用持续提供舒适的开发体验。</description>
<url>https://github.com/Charles7c/continew-admin</url>
<modules> <modules>
<module>continew-admin-webapi</module> <module>zayac-admin-webapi</module>
<module>continew-admin-system</module> <module>zayac-admin-system</module>
<module>continew-admin-generator</module> <module>zayac-admin-generator</module>
<module>continew-admin-common</module> <module>zayac-admin-common</module>
</modules> </modules>
<properties> <properties>
@ -39,29 +38,29 @@
<dependencies> <dependencies>
<!-- API 模块(存放 Controller 层代码,打包部署的模块) --> <!-- API 模块(存放 Controller 层代码,打包部署的模块) -->
<dependency> <dependency>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin-webapi</artifactId> <artifactId>zayac-admin-webapi</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- 代码生成器插件(后续会改造为独立插件) --> <!-- 代码生成器插件(后续会改造为独立插件) -->
<dependency> <dependency>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin-generator</artifactId> <artifactId>zayac-admin-generator</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- 系统管理模块(存放系统管理模块相关功能,例如:部门管理、角色管理、用户管理等) --> <!-- 系统管理模块(存放系统管理模块相关功能,例如:部门管理、角色管理、用户管理等) -->
<dependency> <dependency>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin-system</artifactId> <artifactId>zayac-admin-system</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<!-- 公共模块(存放公共工具类,公共配置等) --> <!-- 公共模块(存放公共工具类,公共配置等) -->
<dependency> <dependency>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin-common</artifactId> <artifactId>zayac-admin-common</artifactId>
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -4,12 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin</artifactId> <artifactId>zayac-admin</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>continew-admin-common</artifactId> <artifactId>zayac-admin-common</artifactId>
<description>公共模块(存放公共工具类,公共配置等)</description> <description>公共模块(存放公共工具类,公共配置等)</description>
<dependencies> <dependencies>

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config; package com.zayac.admin.common.config;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.jackson; package com.zayac.admin.common.config.jackson;
import cn.hutool.core.util.ClassUtil; import cn.hutool.core.util.ClassUtil;
import cn.hutool.core.util.ReflectUtil; import cn.hutool.core.util.ReflectUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.jackson; package com.zayac.admin.common.config.jackson;
import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.JsonSerializer;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.jackson; package com.zayac.admin.common.config.jackson;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.module.SimpleModule; import com.fasterxml.jackson.databind.module.SimpleModule;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.jackson; package com.zayac.admin.common.config.jackson;
import com.fasterxml.jackson.databind.BeanDescription; import com.fasterxml.jackson.databind.BeanDescription;
import com.fasterxml.jackson.databind.DeserializationConfig; import com.fasterxml.jackson.databind.DeserializationConfig;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.mybatis; package com.zayac.admin.common.config.mybatis;
import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder;
import top.continew.starter.security.crypto.encryptor.IEncryptor; import top.continew.starter.security.crypto.encryptor.IEncryptor;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.mybatis; package com.zayac.admin.common.config.mybatis;
import cn.hutool.core.convert.Convert; import cn.hutool.core.convert.Convert;
import top.continew.admin.common.model.dto.LoginUser; import com.zayac.admin.common.model.dto.LoginUser;
import top.continew.admin.common.util.helper.LoginHelper; import com.zayac.admin.common.util.helper.LoginHelper;
import top.continew.starter.data.mybatis.plus.datapermission.DataPermissionCurrentUser; import top.continew.starter.data.mybatis.plus.datapermission.DataPermissionCurrentUser;
import top.continew.starter.data.mybatis.plus.datapermission.DataPermissionFilter; import top.continew.starter.data.mybatis.plus.datapermission.DataPermissionFilter;
import top.continew.starter.data.mybatis.plus.datapermission.DataScope; import top.continew.starter.data.mybatis.plus.datapermission.DataScope;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.mybatis; package com.zayac.admin.common.config.mybatis;
import com.baomidou.mybatisplus.core.conditions.Wrapper; import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;

View File

@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.mybatis; package com.zayac.admin.common.config.mybatis;
import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.ObjectUtil;
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
import com.zayac.admin.common.util.helper.LoginHelper;
import org.apache.ibatis.reflection.MetaObject; import org.apache.ibatis.reflection.MetaObject;
import top.continew.admin.common.util.helper.LoginHelper;
import top.continew.starter.core.exception.BusinessException; import top.continew.starter.core.exception.BusinessException;
import top.continew.starter.extension.crud.model.entity.BaseDO; import top.continew.starter.extension.crud.model.entity.BaseDO;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.mybatis; package com.zayac.admin.common.config.mybatis;
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.properties; package com.zayac.admin.common.config.properties;
import lombok.Data; import lombok.Data;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.config.properties; package com.zayac.admin.common.config.properties;
import cn.hutool.extra.spring.SpringUtil; import cn.hutool.extra.spring.SpringUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.constant; package com.zayac.admin.common.constant;
import top.continew.starter.core.constant.StringConstants; import top.continew.starter.core.constant.StringConstants;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.constant; package com.zayac.admin.common.constant;
import top.continew.starter.extension.crud.constant.ContainerPool; import top.continew.starter.extension.crud.constant.ContainerPool;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.constant; package com.zayac.admin.common.constant;
/** /**
* 正则相关常量 * 正则相关常量

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.constant; package com.zayac.admin.common.constant;
/** /**
* 系统相关常量 * 系统相关常量

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.constant; package com.zayac.admin.common.constant;
/** /**
* UI 相关常量 * UI 相关常量

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.enums; package com.zayac.admin.common.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.enums; package com.zayac.admin.common.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import top.continew.admin.common.constant.UiConstants; import com.zayac.admin.common.constant.UiConstants;
import top.continew.starter.data.mybatis.plus.base.IBaseEnum; import top.continew.starter.data.mybatis.plus.base.IBaseEnum;
/** /**

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.enums; package com.zayac.admin.common.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.enums; package com.zayac.admin.common.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.enums; package com.zayac.admin.common.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import top.continew.admin.common.constant.UiConstants; import com.zayac.admin.common.constant.UiConstants;
import top.continew.starter.data.mybatis.plus.base.IBaseEnum; import top.continew.starter.data.mybatis.plus.base.IBaseEnum;
/** /**

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.enums; package com.zayac.admin.common.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.enums; package com.zayac.admin.common.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import top.continew.admin.common.constant.UiConstants; import com.zayac.admin.common.constant.UiConstants;
import top.continew.starter.data.mybatis.plus.base.IBaseEnum; import top.continew.starter.data.mybatis.plus.base.IBaseEnum;
/** /**

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.model.dto; package com.zayac.admin.common.model.dto;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
import lombok.Data; import lombok.Data;
import top.continew.admin.common.constant.SysConstants; import com.zayac.admin.common.constant.SysConstants;
import java.io.Serial; import java.io.Serial;
import java.io.Serializable; import java.io.Serializable;

View File

@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.model.dto; package com.zayac.admin.common.model.dto;
import lombok.Data; import lombok.Data;
import top.continew.admin.common.enums.DataScopeEnum; import com.zayac.admin.common.enums.DataScopeEnum;
import java.io.Serial; import java.io.Serial;
import java.io.Serializable; import java.io.Serializable;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.model.resp; package com.zayac.admin.common.model.resp;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder; import lombok.Builder;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.model.resp; package com.zayac.admin.common.model.resp;
import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.util; package com.zayac.admin.common.util;
import cn.hutool.core.codec.Base64; import cn.hutool.core.codec.Base64;
import cn.hutool.crypto.SecureUtil; import cn.hutool.crypto.SecureUtil;
import cn.hutool.crypto.asymmetric.KeyType; import cn.hutool.crypto.asymmetric.KeyType;
import top.continew.admin.common.config.properties.RsaProperties; import com.zayac.admin.common.config.properties.RsaProperties;
import top.continew.starter.core.util.validate.ValidationUtils; import top.continew.starter.core.util.validate.ValidationUtils;
/** /**

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.common.util.helper; package com.zayac.admin.common.util.helper;
import cn.dev33.satoken.context.SaHolder; import cn.dev33.satoken.context.SaHolder;
import cn.dev33.satoken.exception.NotLoginException; import cn.dev33.satoken.exception.NotLoginException;
@ -24,8 +24,8 @@ import cn.hutool.core.util.StrUtil;
import cn.hutool.extra.servlet.JakartaServletUtil; import cn.hutool.extra.servlet.JakartaServletUtil;
import cn.hutool.extra.spring.SpringUtil; import cn.hutool.extra.spring.SpringUtil;
import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletRequest;
import top.continew.admin.common.constant.CacheConstants; import com.zayac.admin.common.constant.CacheConstants;
import top.continew.admin.common.model.dto.LoginUser; import com.zayac.admin.common.model.dto.LoginUser;
import top.continew.starter.core.util.ExceptionUtils; import top.continew.starter.core.util.ExceptionUtils;
import top.continew.starter.core.util.IpUtils; import top.continew.starter.core.util.IpUtils;
import top.continew.starter.extension.crud.service.CommonUserService; import top.continew.starter.extension.crud.service.CommonUserService;

View File

@ -4,19 +4,19 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin</artifactId> <artifactId>zayac-admin</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>continew-admin-generator</artifactId> <artifactId>zayac-admin-generator</artifactId>
<description>代码生成器插件</description> <description>代码生成器插件</description>
<dependencies> <dependencies>
<!-- 公共模块(存放公共工具类,公共配置等) --> <!-- 公共模块(存放公共工具类,公共配置等) -->
<dependency> <dependency>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin-common</artifactId> <artifactId>zayac-admin-common</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.config.properties; package com.zayac.admin.generator.config.properties;
import cn.hutool.core.io.file.FileNameUtil; import cn.hutool.core.io.file.FileNameUtil;
import cn.hutool.core.map.MapUtil; import cn.hutool.core.map.MapUtil;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.enums; package com.zayac.admin.generator.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.enums; package com.zayac.admin.generator.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.mapper; package com.zayac.admin.generator.mapper;
import com.zayac.admin.generator.model.entity.FieldConfigDO;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Select;
import top.continew.admin.generator.model.entity.FieldConfigDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.util.List; import java.util.List;

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.mapper; package com.zayac.admin.generator.mapper;
import top.continew.admin.generator.model.entity.GenConfigDO; import com.zayac.admin.generator.model.entity.GenConfigDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.model.entity; package com.zayac.admin.generator.model.entity;
import cn.hutool.core.convert.Convert; import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
@ -28,8 +28,8 @@ import jakarta.validation.constraints.NotNull;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.NonNull; import lombok.NonNull;
import top.continew.admin.generator.enums.FormTypeEnum; import com.zayac.admin.generator.enums.FormTypeEnum;
import top.continew.admin.generator.enums.QueryTypeEnum; import com.zayac.admin.generator.enums.QueryTypeEnum;
import top.continew.starter.core.constant.StringConstants; import top.continew.starter.core.constant.StringConstants;
import java.io.Serial; import java.io.Serial;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.model.entity; package com.zayac.admin.generator.model.entity;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
@ -28,7 +28,7 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.Length;
import top.continew.admin.common.constant.RegexConstants; import com.zayac.admin.common.constant.RegexConstants;
import java.io.Serial; import java.io.Serial;
import java.io.Serializable; import java.io.Serializable;
@ -68,7 +68,7 @@ public class GenConfigDO implements Serializable {
/** /**
* 包名称 * 包名称
*/ */
@Schema(description = "包名称", example = "top.continew.admin.system") @Schema(description = "包名称", example = "zayac.admin.system")
@NotBlank(message = "包名称不能为空") @NotBlank(message = "包名称不能为空")
@Pattern(regexp = RegexConstants.PACKAGE_NAME, message = "包名称格式错误") @Pattern(regexp = RegexConstants.PACKAGE_NAME, message = "包名称格式错误")
@Length(max = 60, message = "包名称不能超过 {max} 个字符") @Length(max = 60, message = "包名称不能超过 {max} 个字符")

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.model.query; package com.zayac.admin.generator.model.query;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;

View File

@ -14,13 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.model.req; package com.zayac.admin.generator.model.req;
import java.io.Serial; import java.io.Serial;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import com.zayac.admin.generator.model.entity.FieldConfigDO;
import com.zayac.admin.generator.model.entity.GenConfigDO;
import jakarta.validation.Valid; import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty; import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.NotNull;
@ -29,9 +31,6 @@ import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import top.continew.admin.generator.model.entity.FieldConfigDO;
import top.continew.admin.generator.model.entity.GenConfigDO;
/** /**
* 代码生成配置信息 * 代码生成配置信息
* *

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.model.resp; package com.zayac.admin.generator.model.resp;
import java.io.Serial; import java.io.Serial;
import java.io.Serializable; import java.io.Serializable;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.model.resp; package com.zayac.admin.generator.model.resp;
import java.io.Serial; import java.io.Serial;
import java.io.Serializable; import java.io.Serializable;

View File

@ -14,16 +14,16 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.service; package com.zayac.admin.generator.service;
import com.zayac.admin.generator.model.entity.FieldConfigDO;
import com.zayac.admin.generator.model.entity.GenConfigDO;
import com.zayac.admin.generator.model.query.TableQuery;
import com.zayac.admin.generator.model.req.GenConfigReq;
import com.zayac.admin.generator.model.resp.GeneratePreviewResp;
import com.zayac.admin.generator.model.resp.TableResp;
import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpServletResponse;
import top.continew.admin.generator.model.entity.FieldConfigDO;
import top.continew.admin.generator.model.entity.GenConfigDO;
import top.continew.admin.generator.model.query.TableQuery;
import top.continew.admin.generator.model.req.GenConfigReq;
import top.continew.admin.generator.model.resp.GeneratePreviewResp;
import top.continew.admin.generator.model.resp.TableResp;
import top.continew.starter.extension.crud.model.query.PageQuery; import top.continew.starter.extension.crud.model.query.PageQuery;
import top.continew.starter.extension.crud.model.resp.PageResp; import top.continew.starter.extension.crud.model.resp.PageResp;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.generator.service.impl; package com.zayac.admin.generator.service.impl;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
@ -27,23 +27,23 @@ import cn.hutool.core.util.ZipUtil;
import cn.hutool.db.meta.Column; import cn.hutool.db.meta.Column;
import cn.hutool.system.SystemUtil; import cn.hutool.system.SystemUtil;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zayac.admin.generator.config.properties.GeneratorProperties;
import com.zayac.admin.generator.model.entity.FieldConfigDO;
import com.zayac.admin.generator.model.entity.GenConfigDO;
import com.zayac.admin.generator.model.query.TableQuery;
import com.zayac.admin.generator.model.req.GenConfigReq;
import com.zayac.admin.generator.model.resp.GeneratePreviewResp;
import com.zayac.admin.generator.model.resp.TableResp;
import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpServletResponse;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import top.continew.admin.generator.config.properties.GeneratorProperties; import com.zayac.admin.generator.enums.QueryTypeEnum;
import top.continew.admin.generator.enums.QueryTypeEnum; import com.zayac.admin.generator.mapper.FieldConfigMapper;
import top.continew.admin.generator.mapper.FieldConfigMapper; import com.zayac.admin.generator.mapper.GenConfigMapper;
import top.continew.admin.generator.mapper.GenConfigMapper; import com.zayac.admin.generator.service.GeneratorService;
import top.continew.admin.generator.model.entity.FieldConfigDO;
import top.continew.admin.generator.model.entity.GenConfigDO;
import top.continew.admin.generator.model.query.TableQuery;
import top.continew.admin.generator.model.req.GenConfigReq;
import top.continew.admin.generator.model.resp.GeneratePreviewResp;
import top.continew.admin.generator.model.resp.TableResp;
import top.continew.admin.generator.service.GeneratorService;
import top.continew.starter.core.autoconfigure.project.ProjectProperties; import top.continew.starter.core.autoconfigure.project.ProjectProperties;
import top.continew.starter.core.constant.StringConstants; import top.continew.starter.core.constant.StringConstants;
import top.continew.starter.core.exception.BusinessException; import top.continew.starter.core.exception.BusinessException;

View File

@ -4,12 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin</artifactId> <artifactId>zayac-admin</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>continew-admin-system</artifactId> <artifactId>zayac-admin-system</artifactId>
<description>系统管理模块(存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)</description> <description>系统管理模块(存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)</description>
<dependencies> <dependencies>
@ -21,8 +21,8 @@
<!-- 公共模块(存放公共工具类,公共配置等) --> <!-- 公共模块(存放公共工具类,公共配置等) -->
<dependency> <dependency>
<groupId>top.continew</groupId> <groupId>com.zayac</groupId>
<artifactId>continew-admin-common</artifactId> <artifactId>zayac-admin-common</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.config.satoken; package com.zayac.admin.auth.config.satoken;
import cn.dev33.satoken.stp.StpInterface; import cn.dev33.satoken.stp.StpInterface;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.config.satoken; package com.zayac.admin.auth.config.satoken;
import cn.dev33.satoken.stp.StpInterface; import cn.dev33.satoken.stp.StpInterface;
import top.continew.admin.common.model.dto.LoginUser; import com.zayac.admin.common.model.dto.LoginUser;
import top.continew.admin.common.util.helper.LoginHelper; import com.zayac.admin.common.util.helper.LoginHelper;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.query; package com.zayac.admin.auth.model.query;
import cn.hutool.core.date.DatePattern; import cn.hutool.core.date.DatePattern;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.req; package com.zayac.admin.auth.model.req;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotBlank;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.req; package com.zayac.admin.auth.model.req;
import cn.hutool.core.lang.RegexPool; import cn.hutool.core.lang.RegexPool;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.req; package com.zayac.admin.auth.model.req;
import cn.hutool.core.lang.RegexPool; import cn.hutool.core.lang.RegexPool;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.resp; package com.zayac.admin.auth.model.resp;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder; import lombok.Builder;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.resp; package com.zayac.admin.auth.model.resp;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.resp; package com.zayac.admin.auth.model.resp;
import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.resp; package com.zayac.admin.auth.model.resp;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder; import lombok.Builder;

View File

@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.model.resp; package com.zayac.admin.auth.model.resp;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
import top.continew.admin.common.enums.GenderEnum; import com.zayac.admin.common.enums.GenderEnum;
import top.continew.starter.security.mask.annotation.JsonMask; import top.continew.starter.security.mask.annotation.JsonMask;
import top.continew.starter.security.mask.enums.MaskType; import top.continew.starter.security.mask.enums.MaskType;

View File

@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.service; package com.zayac.admin.auth.service;
import com.zayac.admin.auth.model.resp.RouteResp;
import me.zhyd.oauth.model.AuthUser; import me.zhyd.oauth.model.AuthUser;
import top.continew.admin.auth.model.resp.RouteResp;
import java.util.List; import java.util.List;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.service; package com.zayac.admin.auth.service;
import top.continew.admin.auth.model.query.OnlineUserQuery; import com.zayac.admin.auth.model.query.OnlineUserQuery;
import top.continew.admin.auth.model.resp.OnlineUserResp; import com.zayac.admin.auth.model.resp.OnlineUserResp;
import top.continew.admin.common.model.dto.LoginUser; import com.zayac.admin.common.model.dto.LoginUser;
import top.continew.starter.extension.crud.model.query.PageQuery; import top.continew.starter.extension.crud.model.query.PageQuery;
import top.continew.starter.extension.crud.model.resp.PageResp; import top.continew.starter.extension.crud.model.resp.PageResp;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.service; package com.zayac.admin.auth.service;
import java.util.Set; import java.util.Set;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.service.impl; package com.zayac.admin.auth.service.impl;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
@ -25,29 +25,30 @@ import cn.hutool.core.util.RandomUtil;
import cn.hutool.core.util.ReUtil; import cn.hutool.core.util.ReUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import cn.hutool.json.JSONUtil; import cn.hutool.json.JSONUtil;
import com.zayac.admin.auth.model.resp.RouteResp;
import com.zayac.admin.system.service.*;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import me.zhyd.oauth.model.AuthUser; import me.zhyd.oauth.model.AuthUser;
import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import top.continew.admin.auth.model.resp.RouteResp; import com.zayac.admin.auth.service.LoginService;
import top.continew.admin.auth.service.LoginService; import com.zayac.admin.auth.service.PermissionService;
import top.continew.admin.auth.service.PermissionService; import com.zayac.admin.common.constant.RegexConstants;
import top.continew.admin.common.constant.RegexConstants; import com.zayac.admin.common.constant.SysConstants;
import top.continew.admin.common.constant.SysConstants; import com.zayac.admin.common.enums.DisEnableStatusEnum;
import top.continew.admin.common.enums.DisEnableStatusEnum; import com.zayac.admin.common.enums.GenderEnum;
import top.continew.admin.common.enums.GenderEnum; import com.zayac.admin.common.enums.MenuTypeEnum;
import top.continew.admin.common.enums.MenuTypeEnum; import com.zayac.admin.common.enums.MessageTypeEnum;
import top.continew.admin.common.enums.MessageTypeEnum; import com.zayac.admin.common.model.dto.LoginUser;
import top.continew.admin.common.model.dto.LoginUser; import com.zayac.admin.common.util.helper.LoginHelper;
import top.continew.admin.common.util.helper.LoginHelper; import com.zayac.admin.system.enums.MessageTemplateEnum;
import top.continew.admin.system.enums.MessageTemplateEnum; import com.zayac.admin.system.model.entity.DeptDO;
import top.continew.admin.system.model.entity.DeptDO; import com.zayac.admin.system.model.entity.RoleDO;
import top.continew.admin.system.model.entity.RoleDO; import com.zayac.admin.system.model.entity.UserDO;
import top.continew.admin.system.model.entity.UserDO; import com.zayac.admin.system.model.entity.UserSocialDO;
import top.continew.admin.system.model.entity.UserSocialDO; import com.zayac.admin.system.model.req.MessageReq;
import top.continew.admin.system.model.req.MessageReq; import com.zayac.admin.system.model.resp.MenuResp;
import top.continew.admin.system.model.resp.MenuResp; import com.zayac.admin.system.service.*;
import top.continew.admin.system.service.*;
import top.continew.starter.core.autoconfigure.project.ProjectProperties; import top.continew.starter.core.autoconfigure.project.ProjectProperties;
import top.continew.starter.core.util.validate.CheckUtils; import top.continew.starter.core.util.validate.CheckUtils;
import top.continew.starter.extension.crud.annotation.TreeField; import top.continew.starter.extension.crud.annotation.TreeField;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.service.impl; package com.zayac.admin.auth.service.impl;
import cn.dev33.satoken.dao.SaTokenDao; import cn.dev33.satoken.dao.SaTokenDao;
import cn.dev33.satoken.exception.NotLoginException; import cn.dev33.satoken.exception.NotLoginException;
@ -23,12 +23,12 @@ import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.zayac.admin.auth.model.query.OnlineUserQuery;
import com.zayac.admin.auth.model.resp.OnlineUserResp;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import top.continew.admin.auth.model.query.OnlineUserQuery; import com.zayac.admin.auth.service.OnlineUserService;
import top.continew.admin.auth.model.resp.OnlineUserResp; import com.zayac.admin.common.model.dto.LoginUser;
import top.continew.admin.auth.service.OnlineUserService; import com.zayac.admin.common.util.helper.LoginHelper;
import top.continew.admin.common.model.dto.LoginUser;
import top.continew.admin.common.util.helper.LoginHelper;
import top.continew.starter.core.constant.StringConstants; import top.continew.starter.core.constant.StringConstants;
import top.continew.starter.extension.crud.model.query.PageQuery; import top.continew.starter.extension.crud.model.query.PageQuery;
import top.continew.starter.extension.crud.model.resp.PageResp; import top.continew.starter.extension.crud.model.resp.PageResp;

View File

@ -14,15 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.auth.service.impl; package com.zayac.admin.auth.service.impl;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
import com.zayac.admin.system.service.MenuService;
import com.zayac.admin.system.service.RoleService;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import top.continew.admin.auth.service.PermissionService; import com.zayac.admin.auth.service.PermissionService;
import top.continew.admin.common.constant.SysConstants; import com.zayac.admin.common.constant.SysConstants;
import top.continew.admin.system.service.MenuService;
import top.continew.admin.system.service.RoleService;
import java.util.Set; import java.util.Set;

View File

@ -14,23 +14,23 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.config.file; package com.zayac.admin.system.config.file;
import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.EscapeUtil; import cn.hutool.core.util.EscapeUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.zayac.admin.system.enums.FileTypeEnum;
import com.zayac.admin.system.model.entity.FileDO;
import com.zayac.admin.system.model.entity.StorageDO;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.dromara.x.file.storage.core.FileInfo; import org.dromara.x.file.storage.core.FileInfo;
import org.dromara.x.file.storage.core.recorder.FileRecorder; import org.dromara.x.file.storage.core.recorder.FileRecorder;
import org.dromara.x.file.storage.core.upload.FilePartInfo; import org.dromara.x.file.storage.core.upload.FilePartInfo;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import top.continew.admin.common.util.helper.LoginHelper; import com.zayac.admin.common.util.helper.LoginHelper;
import top.continew.admin.system.enums.FileTypeEnum; import com.zayac.admin.system.mapper.FileMapper;
import top.continew.admin.system.mapper.FileMapper; import com.zayac.admin.system.mapper.StorageMapper;
import top.continew.admin.system.mapper.StorageMapper;
import top.continew.admin.system.model.entity.FileDO;
import top.continew.admin.system.model.entity.StorageDO;
import top.continew.starter.core.constant.StringConstants; import top.continew.starter.core.constant.StringConstants;
import java.util.Optional; import java.util.Optional;

View File

@ -14,20 +14,20 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.config.file; package com.zayac.admin.system.config.file;
import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
import com.zayac.admin.system.model.query.StorageQuery;
import com.zayac.admin.system.model.req.StorageReq;
import com.zayac.admin.system.model.resp.StorageResp;
import com.zayac.admin.system.service.StorageService;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner; import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import top.continew.admin.common.enums.DisEnableStatusEnum; import com.zayac.admin.common.enums.DisEnableStatusEnum;
import top.continew.admin.system.model.query.StorageQuery;
import top.continew.admin.system.model.req.StorageReq;
import top.continew.admin.system.model.resp.StorageResp;
import top.continew.admin.system.service.StorageService;
import java.util.List; import java.util.List;

View File

@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.config.log; package com.zayac.admin.system.config.log;
import com.zayac.admin.system.service.UserService;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import top.continew.admin.system.mapper.LogMapper; import com.zayac.admin.system.mapper.LogMapper;
import top.continew.admin.system.service.UserService;
import top.continew.starter.log.core.dao.LogDao; import top.continew.starter.log.core.dao.LogDao;
import top.continew.starter.log.httptracepro.autoconfigure.ConditionalOnEnabledLog; import top.continew.starter.log.httptracepro.autoconfigure.ConditionalOnEnabledLog;
import top.continew.starter.web.autoconfigure.trace.TraceProperties; import top.continew.starter.web.autoconfigure.trace.TraceProperties;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.config.log; package com.zayac.admin.system.config.log;
import cn.dev33.satoken.SaManager; import cn.dev33.satoken.SaManager;
import cn.dev33.satoken.stp.StpUtil; import cn.dev33.satoken.stp.StpUtil;
@ -24,15 +24,15 @@ import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpStatus; import cn.hutool.http.HttpStatus;
import cn.hutool.json.JSONUtil; import cn.hutool.json.JSONUtil;
import com.zayac.admin.auth.model.req.AccountLoginReq;
import com.zayac.admin.system.enums.LogStatusEnum;
import com.zayac.admin.system.service.UserService;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpHeaders; import org.springframework.http.HttpHeaders;
import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Async;
import top.continew.admin.auth.model.req.AccountLoginReq; import com.zayac.admin.common.constant.SysConstants;
import top.continew.admin.common.constant.SysConstants; import com.zayac.admin.system.mapper.LogMapper;
import top.continew.admin.system.enums.LogStatusEnum; import com.zayac.admin.system.model.entity.LogDO;
import top.continew.admin.system.mapper.LogMapper;
import top.continew.admin.system.model.entity.LogDO;
import top.continew.admin.system.service.UserService;
import top.continew.starter.core.constant.StringConstants; import top.continew.starter.core.constant.StringConstants;
import top.continew.starter.core.util.ExceptionUtils; import top.continew.starter.core.util.ExceptionUtils;
import top.continew.starter.log.core.dao.LogDao; import top.continew.starter.log.core.dao.LogDao;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.enums; package com.zayac.admin.system.enums;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import lombok.Getter; import lombok.Getter;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.enums; package com.zayac.admin.system.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.enums; package com.zayac.admin.system.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.enums; package com.zayac.admin.system.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import top.continew.admin.common.constant.UiConstants; import com.zayac.admin.common.constant.UiConstants;
import top.continew.starter.data.mybatis.plus.base.IBaseEnum; import top.continew.starter.data.mybatis.plus.base.IBaseEnum;
/** /**

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.enums; package com.zayac.admin.system.enums;
import lombok.Getter; import lombok.Getter;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import top.continew.admin.system.model.entity.DeptDO; import com.zayac.admin.system.model.entity.DeptDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import com.zayac.admin.system.model.entity.DictItemDO;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import top.continew.admin.common.model.resp.LabelValueResp; import com.zayac.admin.common.model.resp.LabelValueResp;
import top.continew.admin.system.model.entity.DictItemDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.io.Serializable; import java.io.Serializable;

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import top.continew.admin.system.model.entity.DictDO; import com.zayac.admin.system.model.entity.DictDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import com.zayac.admin.system.model.entity.FileDO;
import com.zayac.admin.system.model.resp.FileStatisticsResp;
import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Select;
import top.continew.admin.system.model.entity.FileDO;
import top.continew.admin.system.model.resp.FileStatisticsResp;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.util.List; import java.util.List;

View File

@ -14,17 +14,17 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants; import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zayac.admin.system.model.entity.LogDO;
import com.zayac.admin.system.model.resp.DashboardAccessTrendResp;
import com.zayac.admin.system.model.resp.DashboardPopularModuleResp;
import com.zayac.admin.system.model.resp.DashboardTotalResp;
import com.zayac.admin.system.model.resp.log.LogResp;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import top.continew.admin.system.model.entity.LogDO;
import top.continew.admin.system.model.resp.DashboardAccessTrendResp;
import top.continew.admin.system.model.resp.DashboardPopularModuleResp;
import top.continew.admin.system.model.resp.DashboardTotalResp;
import top.continew.admin.system.model.resp.log.LogResp;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.util.List; import java.util.List;

View File

@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import com.zayac.admin.system.model.entity.MenuDO;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import top.continew.admin.system.model.entity.MenuDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.util.List; import java.util.List;

View File

@ -14,14 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants; import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zayac.admin.system.model.entity.MessageDO;
import com.zayac.admin.system.model.resp.MessageResp;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import top.continew.admin.system.model.entity.MessageDO;
import top.continew.admin.system.model.resp.MessageResp;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

View File

@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import com.zayac.admin.system.model.entity.MessageUserDO;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import top.continew.admin.system.model.entity.MessageUserDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

View File

@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import top.continew.admin.system.model.entity.NoticeDO; import com.zayac.admin.system.model.entity.NoticeDO;
import top.continew.admin.system.model.resp.DashboardNoticeResp; import com.zayac.admin.system.model.resp.DashboardNoticeResp;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.util.List; import java.util.List;

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import top.continew.admin.system.model.entity.OptionDO; import com.zayac.admin.system.model.entity.OptionDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import com.zayac.admin.system.model.entity.RoleDeptDO;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Select;
import top.continew.admin.system.model.entity.RoleDeptDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.util.List; import java.util.List;

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import top.continew.admin.system.model.entity.RoleDO; import com.zayac.admin.system.model.entity.RoleDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import top.continew.admin.system.model.entity.RoleMenuDO; import com.zayac.admin.system.model.entity.RoleMenuDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
import java.util.List; import java.util.List;

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
package top.continew.admin.system.mapper; package com.zayac.admin.system.mapper;
import top.continew.admin.system.model.entity.StorageDO; import com.zayac.admin.system.model.entity.StorageDO;
import top.continew.starter.data.mybatis.plus.base.BaseMapper; import top.continew.starter.data.mybatis.plus.base.BaseMapper;
/** /**

Some files were not shown because too many files have changed in this diff Show More