Commit dfb47d22 by 吴迪

【修改】修改包名

parent 6115fcec
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian;
package com.wangtian;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.annotation;
package com.wangtian.common.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
......
......@@ -6,9 +6,9 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.aspect;
package com.wangtian.common.aspect;
import io.wangtian.common.exception.RRException;
import com.wangtian.common.exception.RRException;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
......@@ -30,7 +30,7 @@ public class RedisAspect {
@Value("${spring.redis.open: false}")
private boolean open;
@Around("execution(* io.wangtian.common.utils.RedisUtils.*(..))")
@Around("execution(* com.wangtian.common.utils.RedisUtils.*(..))")
public Object around(ProceedingJoinPoint point) throws Throwable {
Object result = null;
if(open){
......
......@@ -6,15 +6,15 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.aspect;
package com.wangtian.common.aspect;
import com.google.gson.Gson;
import io.wangtian.common.annotation.SysLog;
import io.wangtian.common.utils.HttpContextUtils;
import io.wangtian.common.utils.IPUtils;
import io.wangtian.modules.sys.entity.SysLogEntity;
import io.wangtian.modules.sys.entity.SysUserEntity;
import io.wangtian.modules.sys.service.SysLogService;
import com.wangtian.common.annotation.SysLog;
import com.wangtian.modules.sys.entity.SysLogEntity;
import com.wangtian.modules.sys.entity.SysUserEntity;
import com.wangtian.modules.sys.service.SysLogService;
import com.wangtian.common.utils.HttpContextUtils;
import com.wangtian.common.utils.IPUtils;
import org.apache.shiro.SecurityUtils;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
......@@ -40,7 +40,7 @@ public class SysLogAspect {
@Autowired
private SysLogService sysLogService;
@Pointcut("@annotation(io.wangtian.common.annotation.SysLog)")
@Pointcut("@annotation(com.wangtian.common.annotation.SysLog)")
public void logPointCut() {
}
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.exception;
package com.wangtian.common.exception;
/**
* 自定义异常
......
......@@ -6,9 +6,9 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.exception;
package com.wangtian.common.exception;
import io.wangtian.common.utils.R;
import com.wangtian.common.utils.R;
import org.apache.shiro.authz.AuthorizationException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
/**
* 系统参数相关Key
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import io.wangtian.common.validator.group.AliyunGroup;
import io.wangtian.common.validator.group.QcloudGroup;
import io.wangtian.common.validator.group.QiniuGroup;
import com.wangtian.common.validator.group.QcloudGroup;
import com.wangtian.common.validator.group.AliyunGroup;
import com.wangtian.common.validator.group.QiniuGroup;
import java.util.Optional;
import java.util.stream.Stream;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import org.apache.commons.lang.StringUtils;
import org.joda.time.DateTime;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import com.alibaba.druid.util.StringUtils;
import org.slf4j.Logger;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import java.util.HashMap;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import com.baomidou.mybatisplus.core.metadata.IPage;
......
......@@ -6,12 +6,12 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.wangtian.common.xss.SQLFilter;
import com.wangtian.common.xss.SQLFilter;
import org.apache.commons.lang.StringUtils;
import java.util.Map;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import org.apache.http.HttpStatus;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
/**
* Redis所有Keys
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import com.google.gson.Gson;
import org.springframework.beans.factory.annotation.Autowired;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import io.wangtian.common.exception.RRException;
import io.wangtian.modules.sys.entity.SysUserEntity;
import com.wangtian.common.exception.RRException;
import com.wangtian.modules.sys.entity.SysUserEntity;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.session.Session;
import org.apache.shiro.subject.Subject;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.utils;
package com.wangtian.common.utils;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
......
......@@ -6,9 +6,9 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator;
package com.wangtian.common.validator;
import io.wangtian.common.exception.RRException;
import com.wangtian.common.exception.RRException;
import org.apache.commons.lang.StringUtils;
/**
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator;
package com.wangtian.common.validator;
import io.wangtian.common.exception.RRException;
import io.wangtian.common.utils.Constant;
import com.wangtian.common.utils.Constant;
import com.wangtian.common.exception.RRException;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator.group;
package com.wangtian.common.validator.group;
/**
* 新增数据 Group
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator.group;
package com.wangtian.common.validator.group;
/**
* 阿里云
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator.group;
package com.wangtian.common.validator.group;
import javax.validation.GroupSequence;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator.group;
package com.wangtian.common.validator.group;
/**
* 腾讯云
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator.group;
package com.wangtian.common.validator.group;
/**
* 七牛
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.validator.group;
package com.wangtian.common.validator.group;
/**
* 更新数据 Group
......
package io.wangtian.common.xss;
package com.wangtian.common.xss;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
......
......@@ -6,9 +6,9 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.xss;
package com.wangtian.common.xss;
import io.wangtian.common.exception.RRException;
import com.wangtian.common.exception.RRException;
import org.apache.commons.lang.StringUtils;
/**
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.xss;
package com.wangtian.common.xss;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.common.xss;
package com.wangtian.common.xss;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.config;
package com.wangtian.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
......
......@@ -6,9 +6,9 @@
* 版权所有,侵权必究!
*/
package io.wangtian.config;
package com.wangtian.config;
import io.wangtian.common.xss.XssFilter;
import com.wangtian.common.xss.XssFilter;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.config;
package com.wangtian.config;
import com.google.code.kaptcha.impl.DefaultKaptcha;
import com.google.code.kaptcha.util.Config;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.config;
package com.wangtian.config;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.config;
package com.wangtian.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.config;
package com.wangtian.config;
import io.wangtian.modules.sys.oauth2.OAuth2Filter;
import io.wangtian.modules.sys.oauth2.OAuth2Realm;
import com.wangtian.modules.sys.oauth2.OAuth2Filter;
import com.wangtian.modules.sys.oauth2.OAuth2Realm;
import org.apache.shiro.mgt.SecurityManager;
import org.apache.shiro.spring.LifecycleBeanPostProcessor;
import org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.annotation;
package com.wangtian.datasource.annotation;
import java.lang.annotation.*;
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.aspect;
package com.wangtian.datasource.aspect;
import io.wangtian.datasource.annotation.DataSource;
import io.wangtian.datasource.config.DynamicContextHolder;
import com.wangtian.datasource.annotation.DataSource;
import com.wangtian.datasource.config.DynamicContextHolder;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
......@@ -35,8 +35,8 @@ import java.lang.reflect.Method;
public class DataSourceAspect {
protected Logger logger = LoggerFactory.getLogger(getClass());
@Pointcut("@annotation(io.wangtian.datasource.annotation.DataSource) " +
"|| @within(io.wangtian.datasource.annotation.DataSource)")
@Pointcut("@annotation(com.wangtian.datasource.annotation.DataSource) " +
"|| @within(com.wangtian.datasource.annotation.DataSource)")
public void dataSourcePointCut() {
}
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.config;
package com.wangtian.datasource.config;
import java.util.ArrayDeque;
import java.util.Deque;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.config;
package com.wangtian.datasource.config;
import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.config;
package com.wangtian.datasource.config;
import com.alibaba.druid.pool.DruidDataSource;
import io.wangtian.datasource.properties.DataSourceProperties;
import io.wangtian.datasource.properties.DynamicDataSourceProperties;
import com.wangtian.datasource.properties.DataSourceProperties;
import com.wangtian.datasource.properties.DynamicDataSourceProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.config;
package com.wangtian.datasource.config;
import com.alibaba.druid.pool.DruidDataSource;
import io.wangtian.datasource.properties.DataSourceProperties;
import com.wangtian.datasource.properties.DataSourceProperties;
import java.sql.SQLException;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.properties;
package com.wangtian.datasource.properties;
/**
* 多数据源属性
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.datasource.properties;
package com.wangtian.datasource.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.annotation;
package com.wangtian.modules.app.annotation;
import java.lang.annotation.*;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.annotation;
package com.wangtian.modules.app.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.config;
package com.wangtian.modules.app.config;
import io.wangtian.modules.app.interceptor.AuthorizationInterceptor;
import io.wangtian.modules.app.resolver.LoginUserHandlerMethodArgumentResolver;
import com.wangtian.modules.app.interceptor.AuthorizationInterceptor;
import com.wangtian.modules.app.resolver.LoginUserHandlerMethodArgumentResolver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
......
......@@ -6,14 +6,14 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.controller;
package com.wangtian.modules.app.controller;
import io.wangtian.common.utils.R;
import io.wangtian.common.validator.ValidatorUtils;
import io.wangtian.modules.app.form.LoginForm;
import io.wangtian.modules.app.service.UserService;
import io.wangtian.modules.app.utils.JwtUtils;
import com.wangtian.common.utils.R;
import com.wangtian.common.validator.ValidatorUtils;
import com.wangtian.modules.app.form.LoginForm;
import com.wangtian.modules.app.service.UserService;
import com.wangtian.modules.app.utils.JwtUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
......
......@@ -6,14 +6,14 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.controller;
package com.wangtian.modules.app.controller;
import io.wangtian.common.utils.R;
import io.wangtian.common.validator.ValidatorUtils;
import io.wangtian.modules.app.entity.UserEntity;
import io.wangtian.modules.app.form.RegisterForm;
import io.wangtian.modules.app.service.UserService;
import com.wangtian.common.utils.R;
import com.wangtian.common.validator.ValidatorUtils;
import com.wangtian.modules.app.entity.UserEntity;
import com.wangtian.modules.app.form.RegisterForm;
import com.wangtian.modules.app.service.UserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.codec.digest.DigestUtils;
......
......@@ -6,13 +6,13 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.controller;
package com.wangtian.modules.app.controller;
import io.wangtian.common.utils.R;
import io.wangtian.modules.app.annotation.Login;
import io.wangtian.modules.app.annotation.LoginUser;
import io.wangtian.modules.app.entity.UserEntity;
import com.wangtian.modules.app.annotation.LoginUser;
import com.wangtian.common.utils.R;
import com.wangtian.modules.app.annotation.Login;
import com.wangtian.modules.app.entity.UserEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.dao;
package com.wangtian.modules.app.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.wangtian.modules.app.entity.UserEntity;
import com.wangtian.modules.app.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
/**
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.entity;
package com.wangtian.modules.app.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.form;
package com.wangtian.modules.app.form;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.form;
package com.wangtian.modules.app.form;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
......
......@@ -6,13 +6,13 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.interceptor;
package com.wangtian.modules.app.interceptor;
import com.wangtian.modules.app.annotation.Login;
import io.jsonwebtoken.Claims;
import io.wangtian.common.exception.RRException;
import io.wangtian.modules.app.utils.JwtUtils;
import io.wangtian.modules.app.annotation.Login;
import com.wangtian.common.exception.RRException;
import com.wangtian.modules.app.utils.JwtUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
......
......@@ -6,12 +6,12 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.resolver;
package com.wangtian.modules.app.resolver;
import io.wangtian.modules.app.annotation.LoginUser;
import io.wangtian.modules.app.entity.UserEntity;
import io.wangtian.modules.app.interceptor.AuthorizationInterceptor;
import io.wangtian.modules.app.service.UserService;
import com.wangtian.modules.app.annotation.LoginUser;
import com.wangtian.modules.app.entity.UserEntity;
import com.wangtian.modules.app.interceptor.AuthorizationInterceptor;
import com.wangtian.modules.app.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.MethodParameter;
import org.springframework.stereotype.Component;
......
......@@ -6,12 +6,12 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.service;
package com.wangtian.modules.app.service;
import com.baomidou.mybatisplus.extension.service.IService;
import io.wangtian.modules.app.entity.UserEntity;
import io.wangtian.modules.app.form.LoginForm;
import com.wangtian.modules.app.entity.UserEntity;
import com.wangtian.modules.app.form.LoginForm;
/**
* 用户
......
......@@ -6,17 +6,17 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.service.impl;
package com.wangtian.modules.app.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.wangtian.common.exception.RRException;
import io.wangtian.common.validator.Assert;
import io.wangtian.modules.app.dao.UserDao;
import io.wangtian.modules.app.entity.UserEntity;
import io.wangtian.modules.app.form.LoginForm;
import io.wangtian.modules.app.service.UserService;
import com.wangtian.common.exception.RRException;
import com.wangtian.common.validator.Assert;
import com.wangtian.modules.app.dao.UserDao;
import com.wangtian.modules.app.entity.UserEntity;
import com.wangtian.modules.app.form.LoginForm;
import com.wangtian.modules.app.service.UserService;
import org.apache.commons.codec.digest.DigestUtils;
import org.springframework.stereotype.Service;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.app.utils;
package com.wangtian.modules.app.utils;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.config;
package com.wangtian.modules.job.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
......
......@@ -6,14 +6,14 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.controller;
import io.wangtian.common.annotation.SysLog;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.R;
import io.wangtian.common.validator.ValidatorUtils;
import io.wangtian.modules.job.entity.ScheduleJobEntity;
import io.wangtian.modules.job.service.ScheduleJobService;
package com.wangtian.modules.job.controller;
import com.wangtian.common.annotation.SysLog;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
import com.wangtian.common.validator.ValidatorUtils;
import com.wangtian.modules.job.entity.ScheduleJobEntity;
import com.wangtian.modules.job.service.ScheduleJobService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
......
......@@ -6,12 +6,12 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.controller;
package com.wangtian.modules.job.controller;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.R;
import io.wangtian.modules.job.entity.ScheduleJobLogEntity;
import io.wangtian.modules.job.service.ScheduleJobLogService;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
import com.wangtian.modules.job.entity.ScheduleJobLogEntity;
import com.wangtian.modules.job.service.ScheduleJobLogService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.dao;
package com.wangtian.modules.job.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.wangtian.modules.job.entity.ScheduleJobEntity;
import com.wangtian.modules.job.entity.ScheduleJobEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.Map;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.dao;
package com.wangtian.modules.job.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.wangtian.modules.job.entity.ScheduleJobLogEntity;
import com.wangtian.modules.job.entity.ScheduleJobLogEntity;
import org.apache.ibatis.annotations.Mapper;
/**
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.entity;
package com.wangtian.modules.job.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.entity;
package com.wangtian.modules.job.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.service;
package com.wangtian.modules.job.service;
import com.baomidou.mybatisplus.extension.service.IService;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.modules.job.entity.ScheduleJobLogEntity;
import com.wangtian.modules.job.entity.ScheduleJobLogEntity;
import com.wangtian.common.utils.PageUtils;
import java.util.Map;
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.service;
package com.wangtian.modules.job.service;
import com.baomidou.mybatisplus.extension.service.IService;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.modules.job.entity.ScheduleJobEntity;
import com.wangtian.modules.job.entity.ScheduleJobEntity;
import com.wangtian.common.utils.PageUtils;
import java.util.Map;
......
......@@ -6,16 +6,16 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.service.impl;
package com.wangtian.modules.job.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.Query;
import io.wangtian.modules.job.dao.ScheduleJobLogDao;
import io.wangtian.modules.job.entity.ScheduleJobLogEntity;
import io.wangtian.modules.job.service.ScheduleJobLogService;
import com.wangtian.modules.job.dao.ScheduleJobLogDao;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.Query;
import com.wangtian.modules.job.entity.ScheduleJobLogEntity;
import com.wangtian.modules.job.service.ScheduleJobLogService;
import org.apache.commons.lang.StringUtils;
import org.springframework.stereotype.Service;
......
......@@ -6,18 +6,18 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.service.impl;
package com.wangtian.modules.job.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.wangtian.common.utils.Constant;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.Query;
import io.wangtian.modules.job.dao.ScheduleJobDao;
import io.wangtian.modules.job.entity.ScheduleJobEntity;
import io.wangtian.modules.job.service.ScheduleJobService;
import io.wangtian.modules.job.utils.ScheduleUtils;
import com.wangtian.modules.job.dao.ScheduleJobDao;
import com.wangtian.modules.job.entity.ScheduleJobEntity;
import com.wangtian.modules.job.utils.ScheduleUtils;
import com.wangtian.common.utils.Constant;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.Query;
import com.wangtian.modules.job.service.ScheduleJobService;
import org.apache.commons.lang.StringUtils;
import org.quartz.CronTrigger;
import org.quartz.Scheduler;
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.task;
package com.wangtian.modules.job.task;
/**
* 定时任务接口,所有定时任务都要实现该接口
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.task;
package com.wangtian.modules.job.task;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
......@@ -6,12 +6,12 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.utils;
package com.wangtian.modules.job.utils;
import io.wangtian.common.utils.SpringContextUtils;
import io.wangtian.modules.job.entity.ScheduleJobEntity;
import io.wangtian.modules.job.entity.ScheduleJobLogEntity;
import io.wangtian.modules.job.service.ScheduleJobLogService;
import com.wangtian.common.utils.SpringContextUtils;
import com.wangtian.modules.job.entity.ScheduleJobEntity;
import com.wangtian.modules.job.entity.ScheduleJobLogEntity;
import com.wangtian.modules.job.service.ScheduleJobLogService;
import org.apache.commons.lang.StringUtils;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.job.utils;
package com.wangtian.modules.job.utils;
import io.wangtian.common.exception.RRException;
import io.wangtian.common.utils.Constant;
import io.wangtian.modules.job.entity.ScheduleJobEntity;
import com.wangtian.common.exception.RRException;
import com.wangtian.common.utils.Constant;
import com.wangtian.modules.job.entity.ScheduleJobEntity;
import org.quartz.*;
/**
......
package com.wangtian.modules.manage.controller;
import java.util.Arrays;
import java.util.Map;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.wangtian.modules.manage.entity.InvestmentPlanEntity;
import com.wangtian.modules.manage.service.InvestmentPlanService;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
/**
* 投资计划管理表
*
* @author wudi
* @email 632132852@qq.com
* @date 2023-07-15 15:20:15
*/
@RestController
@RequestMapping("manage/investmentplan")
public class InvestmentPlanController {
@Autowired
private InvestmentPlanService investmentPlanService;
/**
* 列表
*/
@RequestMapping("/list")
@RequiresPermissions("manage:investmentplan:list")
public R list(@RequestParam Map<String, Object> params){
PageUtils page = investmentPlanService.queryPage(params);
return R.ok().put("page", page);
}
/**
* 信息
*/
@RequestMapping("/info/{id}")
@RequiresPermissions("manage:investmentplan:info")
public R info(@PathVariable("id") Long id){
InvestmentPlanEntity investmentPlan = investmentPlanService.getById(id);
return R.ok().put("investmentPlan", investmentPlan);
}
/**
* 保存
*/
@RequestMapping("/save")
@RequiresPermissions("manage:investmentplan:save")
public R save(@RequestBody InvestmentPlanEntity investmentPlan){
investmentPlanService.save(investmentPlan);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
@RequiresPermissions("manage:investmentplan:update")
public R update(@RequestBody InvestmentPlanEntity investmentPlan){
investmentPlanService.updateById(investmentPlan);
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
@RequiresPermissions("manage:investmentplan:delete")
public R delete(@RequestBody Long[] ids){
investmentPlanService.removeByIds(Arrays.asList(ids));
return R.ok();
}
}
package com.wangtian.modules.manage.dao;
import com.wangtian.modules.manage.entity.InvestmentPlanEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 投资计划管理表
*
* @author wudi
* @email 632132852@qq.com
* @date 2023-07-15 15:20:15
*/
@Mapper
public interface InvestmentPlanDao extends BaseMapper<InvestmentPlanEntity> {
}
package com.wangtian.modules.manage.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 投资计划管理表
*
* @author wudi
* @email 632132852@qq.com
* @date 2023-07-15 15:20:15
*/
@Data
@TableName("pm_investment_plan")
public class InvestmentPlanEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键,通过idwork-starter生成
*/
@TableId(type = IdType.INPUT)
private Long id;
/**
* 投资计划名称
*/
private String planName;
/**
* 投资计划类型,使用Java枚举类维护
*/
private Integer planType;
/**
* 年度
*/
private String planYear;
/**
* 批次
*/
private String planBatchNumber;
/**
* 计划文号
*/
private String planNumber;
/**
* 资本性金额(万元)
*/
private BigDecimal planCapitalAmount;
/**
* 成本性金额(万元)
*/
private BigDecimal planCostAmount;
/**
* 投资计划下达时间
*/
private Date planDeliveryTime;
/**
* 下达备注
*/
private String planRemarks;
/**
* 排序字段
*/
private Integer orderNum;
/**
* 是否发布 0/未发布,1/发布
*/
private Integer isPublish;
/**
* 修改时间
*/
private Date updateTime;
/**
* 创建时间
*/
private Date createTime;
}
package com.wangtian.modules.manage.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.modules.manage.entity.InvestmentPlanEntity;
import java.util.Map;
/**
* 投资计划管理表
*
* @author wudi
* @email 632132852@qq.com
* @date 2023-07-15 15:20:15
*/
public interface InvestmentPlanService extends IService<InvestmentPlanEntity> {
PageUtils queryPage(Map<String, Object> params);
}
package com.wangtian.modules.manage.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.Query;
import com.wangtian.modules.manage.dao.InvestmentPlanDao;
import com.wangtian.modules.manage.entity.InvestmentPlanEntity;
import com.wangtian.modules.manage.service.InvestmentPlanService;
@Service("investmentPlanService")
public class InvestmentPlanServiceImpl extends ServiceImpl<InvestmentPlanDao, InvestmentPlanEntity> implements InvestmentPlanService {
@Override
public PageUtils queryPage(Map<String, Object> params) {
IPage<InvestmentPlanEntity> page = this.page(
new Query<InvestmentPlanEntity>().getPage(params),
new QueryWrapper<InvestmentPlanEntity>()
);
return new PageUtils(page);
}
}
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.cloud;
package com.wangtian.modules.oss.cloud;
import com.aliyun.oss.OSSClient;
import io.wangtian.common.exception.RRException;
import com.wangtian.common.exception.RRException;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
......
......@@ -6,12 +6,12 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.cloud;
package com.wangtian.modules.oss.cloud;
import io.wangtian.common.validator.group.AliyunGroup;
import io.wangtian.common.validator.group.QcloudGroup;
import io.wangtian.common.validator.group.QiniuGroup;
import com.wangtian.common.validator.group.AliyunGroup;
import com.wangtian.common.validator.group.QcloudGroup;
import com.wangtian.common.validator.group.QiniuGroup;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import org.hibernate.validator.constraints.URL;
......
......@@ -6,9 +6,9 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.cloud;
package com.wangtian.modules.oss.cloud;
import io.wangtian.common.utils.DateUtils;
import com.wangtian.common.utils.DateUtils;
import org.apache.commons.lang.StringUtils;
import java.io.InputStream;
......
......@@ -6,13 +6,13 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.cloud;
package com.wangtian.modules.oss.cloud;
import io.wangtian.common.utils.ConfigConstant;
import io.wangtian.common.utils.Constant;
import io.wangtian.common.utils.SpringContextUtils;
import io.wangtian.modules.sys.service.SysConfigService;
import com.wangtian.modules.sys.service.SysConfigService;
import com.wangtian.common.utils.ConfigConstant;
import com.wangtian.common.utils.Constant;
import com.wangtian.common.utils.SpringContextUtils;
/**
* 文件上传Factory
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.cloud;
package com.wangtian.modules.oss.cloud;
import com.alibaba.fastjson.JSONObject;
......@@ -14,7 +14,7 @@ import com.qcloud.cos.COSClient;
import com.qcloud.cos.ClientConfig;
import com.qcloud.cos.request.UploadFileRequest;
import com.qcloud.cos.sign.Credentials;
import io.wangtian.common.exception.RRException;
import com.wangtian.common.exception.RRException;
import org.apache.commons.io.IOUtils;
import java.io.IOException;
......
......@@ -6,14 +6,14 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.cloud;
package com.wangtian.modules.oss.cloud;
import com.qiniu.common.Zone;
import com.qiniu.http.Response;
import com.qiniu.storage.Configuration;
import com.qiniu.storage.UploadManager;
import com.qiniu.util.Auth;
import io.wangtian.common.exception.RRException;
import com.wangtian.common.exception.RRException;
import org.apache.commons.io.IOUtils;
import java.io.IOException;
......
......@@ -6,20 +6,20 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.controller;
package com.wangtian.modules.oss.controller;
import com.google.gson.Gson;
import io.wangtian.common.exception.RRException;
import io.wangtian.common.utils.ConfigConstant;
import io.wangtian.common.utils.Constant;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.R;
import io.wangtian.common.validator.ValidatorUtils;
import io.wangtian.modules.oss.cloud.CloudStorageConfig;
import io.wangtian.modules.oss.cloud.OSSFactory;
import io.wangtian.modules.oss.entity.SysOssEntity;
import io.wangtian.modules.oss.service.SysOssService;
import io.wangtian.modules.sys.service.SysConfigService;
import com.wangtian.modules.sys.service.SysConfigService;
import com.wangtian.common.exception.RRException;
import com.wangtian.common.utils.ConfigConstant;
import com.wangtian.common.utils.Constant;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
import com.wangtian.common.validator.ValidatorUtils;
import com.wangtian.modules.oss.cloud.CloudStorageConfig;
import com.wangtian.modules.oss.cloud.OSSFactory;
import com.wangtian.modules.oss.entity.SysOssEntity;
import com.wangtian.modules.oss.service.SysOssService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.dao;
package com.wangtian.modules.oss.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.wangtian.modules.oss.entity.SysOssEntity;
import com.wangtian.modules.oss.entity.SysOssEntity;
import org.apache.ibatis.annotations.Mapper;
/**
......
......@@ -6,7 +6,7 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.entity;
package com.wangtian.modules.oss.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.service;
package com.wangtian.modules.oss.service;
import com.baomidou.mybatisplus.extension.service.IService;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.modules.oss.entity.SysOssEntity;
import com.wangtian.modules.oss.entity.SysOssEntity;
import com.wangtian.common.utils.PageUtils;
import java.util.Map;
......
......@@ -6,15 +6,15 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.oss.service.impl;
package com.wangtian.modules.oss.service.impl;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.Query;
import io.wangtian.modules.oss.dao.SysOssDao;
import io.wangtian.modules.oss.entity.SysOssEntity;
import io.wangtian.modules.oss.service.SysOssService;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.Query;
import com.wangtian.modules.oss.dao.SysOssDao;
import com.wangtian.modules.oss.entity.SysOssEntity;
import com.wangtian.modules.oss.service.SysOssService;
import org.springframework.stereotype.Service;
import java.util.Map;
......
......@@ -6,9 +6,9 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.controller;
package com.wangtian.modules.sys.controller;
import io.wangtian.modules.sys.entity.SysUserEntity;
import com.wangtian.modules.sys.entity.SysUserEntity;
import org.apache.shiro.SecurityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......
......@@ -6,15 +6,15 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.controller;
package com.wangtian.modules.sys.controller;
import io.wangtian.common.annotation.SysLog;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.R;
import io.wangtian.common.validator.ValidatorUtils;
import io.wangtian.modules.sys.entity.SysConfigEntity;
import io.wangtian.modules.sys.service.SysConfigService;
import com.wangtian.common.annotation.SysLog;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
import com.wangtian.common.validator.ValidatorUtils;
import com.wangtian.modules.sys.entity.SysConfigEntity;
import com.wangtian.modules.sys.service.SysConfigService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
......
......@@ -6,11 +6,11 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.controller;
package com.wangtian.modules.sys.controller;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.R;
import io.wangtian.modules.sys.service.SysLogService;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
import com.wangtian.modules.sys.service.SysLogService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
......
......@@ -6,14 +6,14 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.controller;
package com.wangtian.modules.sys.controller;
import io.wangtian.common.utils.R;
import io.wangtian.modules.sys.entity.SysUserEntity;
import io.wangtian.modules.sys.form.SysLoginForm;
import io.wangtian.modules.sys.service.SysCaptchaService;
import io.wangtian.modules.sys.service.SysUserService;
import io.wangtian.modules.sys.service.SysUserTokenService;
import com.wangtian.common.utils.R;
import com.wangtian.modules.sys.entity.SysUserEntity;
import com.wangtian.modules.sys.form.SysLoginForm;
import com.wangtian.modules.sys.service.SysCaptchaService;
import com.wangtian.modules.sys.service.SysUserService;
import com.wangtian.modules.sys.service.SysUserTokenService;
import org.apache.commons.io.IOUtils;
import org.apache.shiro.crypto.hash.Sha256Hash;
import org.springframework.beans.factory.annotation.Autowired;
......
......@@ -6,15 +6,15 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.controller;
import io.wangtian.common.annotation.SysLog;
import io.wangtian.common.exception.RRException;
import io.wangtian.common.utils.Constant;
import io.wangtian.common.utils.R;
import io.wangtian.modules.sys.entity.SysMenuEntity;
import io.wangtian.modules.sys.service.ShiroService;
import io.wangtian.modules.sys.service.SysMenuService;
package com.wangtian.modules.sys.controller;
import com.wangtian.common.annotation.SysLog;
import com.wangtian.common.exception.RRException;
import com.wangtian.common.utils.Constant;
import com.wangtian.common.utils.R;
import com.wangtian.modules.sys.entity.SysMenuEntity;
import com.wangtian.modules.sys.service.ShiroService;
import com.wangtian.modules.sys.service.SysMenuService;
import org.apache.commons.lang.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
......
......@@ -6,16 +6,16 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.controller;
import io.wangtian.common.annotation.SysLog;
import io.wangtian.common.utils.Constant;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.R;
import io.wangtian.common.validator.ValidatorUtils;
import io.wangtian.modules.sys.entity.SysRoleEntity;
import io.wangtian.modules.sys.service.SysRoleMenuService;
import io.wangtian.modules.sys.service.SysRoleService;
package com.wangtian.modules.sys.controller;
import com.wangtian.common.annotation.SysLog;
import com.wangtian.common.utils.Constant;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
import com.wangtian.common.validator.ValidatorUtils;
import com.wangtian.modules.sys.entity.SysRoleEntity;
import com.wangtian.modules.sys.service.SysRoleMenuService;
import com.wangtian.modules.sys.service.SysRoleService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
......
......@@ -6,20 +6,20 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.controller;
import io.wangtian.common.annotation.SysLog;
import io.wangtian.common.utils.Constant;
import io.wangtian.common.utils.PageUtils;
import io.wangtian.common.utils.R;
import io.wangtian.common.validator.Assert;
import io.wangtian.common.validator.ValidatorUtils;
import io.wangtian.common.validator.group.AddGroup;
import io.wangtian.common.validator.group.UpdateGroup;
import io.wangtian.modules.sys.entity.SysUserEntity;
import io.wangtian.modules.sys.form.PasswordForm;
import io.wangtian.modules.sys.service.SysUserRoleService;
import io.wangtian.modules.sys.service.SysUserService;
package com.wangtian.modules.sys.controller;
import com.wangtian.common.annotation.SysLog;
import com.wangtian.common.utils.Constant;
import com.wangtian.common.utils.PageUtils;
import com.wangtian.common.utils.R;
import com.wangtian.common.validator.Assert;
import com.wangtian.common.validator.ValidatorUtils;
import com.wangtian.common.validator.group.AddGroup;
import com.wangtian.common.validator.group.UpdateGroup;
import com.wangtian.modules.sys.entity.SysUserEntity;
import com.wangtian.modules.sys.form.PasswordForm;
import com.wangtian.modules.sys.service.SysUserService;
import com.wangtian.modules.sys.service.SysUserRoleService;
import org.apache.commons.lang.ArrayUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.apache.shiro.crypto.hash.Sha256Hash;
......
......@@ -6,10 +6,10 @@
* 版权所有,侵权必究!
*/
package io.wangtian.modules.sys.dao;
package com.wangtian.modules.sys.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.wangtian.modules.sys.entity.SysCaptchaEntity;
import com.wangtian.modules.sys.entity.SysCaptchaEntity;
import org.apache.ibatis.annotations.Mapper;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment