Commit 83dc7f8a authored by zhengjie's avatar zhengjie
Browse files

优化user列表中的岗位DTO,修改@author信息,新增验证码登录

parent c01435a0
...@@ -5,7 +5,7 @@ import javax.persistence.*; ...@@ -5,7 +5,7 @@ import javax.persistence.*;
/** /**
* 代码生成配置 * 代码生成配置
* @author jie * @author Zheng Jie
* @date 2019-01-03 * @date 2019-01-03
*/ */
@Data @Data
......
...@@ -6,7 +6,7 @@ import lombok.NoArgsConstructor; ...@@ -6,7 +6,7 @@ import lombok.NoArgsConstructor;
/** /**
* 列的数据信息 * 列的数据信息
* @author jie * @author Zheng Jie
* @date 2019-01-02 * @date 2019-01-02
*/ */
@Data @Data
......
...@@ -6,7 +6,7 @@ import lombok.NoArgsConstructor; ...@@ -6,7 +6,7 @@ import lombok.NoArgsConstructor;
/** /**
* 表的数据信息 * 表的数据信息
* @author jie * @author Zheng Jie
* @date 2019-01-02 * @date 2019-01-02
*/ */
@Data @Data
......
...@@ -4,7 +4,7 @@ import me.zhengjie.domain.GenConfig; ...@@ -4,7 +4,7 @@ import me.zhengjie.domain.GenConfig;
import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaRepository;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-01-14 * @date 2019-01-14
*/ */
public interface GenConfigRepository extends JpaRepository<GenConfig,Long> { public interface GenConfigRepository extends JpaRepository<GenConfig,Long> {
......
...@@ -9,7 +9,7 @@ import org.springframework.validation.annotation.Validated; ...@@ -9,7 +9,7 @@ import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-01-14 * @date 2019-01-14
*/ */
@RestController @RestController
......
...@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-01-02 * @date 2019-01-02
*/ */
@RestController @RestController
......
...@@ -7,7 +7,7 @@ import org.springframework.cache.annotation.CachePut; ...@@ -7,7 +7,7 @@ import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable; import org.springframework.cache.annotation.Cacheable;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-01-14 * @date 2019-01-14
*/ */
@CacheConfig(cacheNames = "genConfig") @CacheConfig(cacheNames = "genConfig")
......
...@@ -5,7 +5,7 @@ import me.zhengjie.domain.vo.ColumnInfo; ...@@ -5,7 +5,7 @@ import me.zhengjie.domain.vo.ColumnInfo;
import java.util.List; import java.util.List;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-01-02 * @date 2019-01-02
*/ */
public interface GeneratorService { public interface GeneratorService {
......
...@@ -8,7 +8,7 @@ import org.springframework.stereotype.Service; ...@@ -8,7 +8,7 @@ import org.springframework.stereotype.Service;
import java.util.Optional; import java.util.Optional;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-01-14 * @date 2019-01-14
*/ */
@Service @Service
......
...@@ -17,7 +17,7 @@ import java.util.ArrayList; ...@@ -17,7 +17,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-01-02 * @date 2019-01-02
*/ */
@Service @Service
......
...@@ -5,7 +5,7 @@ import org.apache.commons.configuration.*; ...@@ -5,7 +5,7 @@ import org.apache.commons.configuration.*;
/** /**
* sql字段转java * sql字段转java
* *
* @author jie * @author Zheng Jie
* @date 2019-01-03 * @date 2019-01-03
*/ */
public class ColUtil { public class ColUtil {
......
...@@ -18,7 +18,7 @@ import java.util.Map; ...@@ -18,7 +18,7 @@ import java.util.Map;
/** /**
* 代码生成 * 代码生成
* @author jie * @author Zheng Jie
* @date 2019-01-02 * @date 2019-01-02
*/ */
@Slf4j @Slf4j
......
...@@ -6,7 +6,7 @@ import java.lang.annotation.RetentionPolicy; ...@@ -6,7 +6,7 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
/** /**
* @author jie * @author Zheng Jie
* @date 2018-11-24 * @date 2018-11-24
*/ */
@Target(ElementType.METHOD) @Target(ElementType.METHOD)
......
...@@ -20,7 +20,7 @@ import org.springframework.stereotype.Component; ...@@ -20,7 +20,7 @@ import org.springframework.stereotype.Component;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
/** /**
* @author jie * @author Zheng Jie
* @date 2018-11-24 * @date 2018-11-24
*/ */
@Component @Component
...@@ -65,7 +65,7 @@ public class LogAspect { ...@@ -65,7 +65,7 @@ public class LogAspect {
@AfterThrowing(pointcut = "logPointcut()", throwing = "e") @AfterThrowing(pointcut = "logPointcut()", throwing = "e")
public void logAfterThrowing(JoinPoint joinPoint, Throwable e) { public void logAfterThrowing(JoinPoint joinPoint, Throwable e) {
Log log = new Log("ERROR",System.currentTimeMillis() - currentTime); Log log = new Log("ERROR",System.currentTimeMillis() - currentTime);
log.setExceptionDetail(ThrowableUtil.getStackTrace(e)); log.setExceptionDetail(ThrowableUtil.getStackTrace(e).getBytes());
logService.save(getUsername(), StringUtils.getIP(RequestHolder.getHttpServletRequest()), (ProceedingJoinPoint)joinPoint, log); logService.save(getUsername(), StringUtils.getIP(RequestHolder.getHttpServletRequest()), (ProceedingJoinPoint)joinPoint, log);
} }
......
...@@ -8,7 +8,7 @@ import java.io.Serializable; ...@@ -8,7 +8,7 @@ import java.io.Serializable;
import java.sql.Timestamp; import java.sql.Timestamp;
/** /**
* @author jie * @author Zheng Jie
* @date 2018-11-24 * @date 2018-11-24
*/ */
@Entity @Entity
...@@ -63,7 +63,7 @@ public class Log implements Serializable { ...@@ -63,7 +63,7 @@ public class Log implements Serializable {
* 异常详细 * 异常详细
*/ */
@Column(name = "exception_detail", columnDefinition = "text") @Column(name = "exception_detail", columnDefinition = "text")
private String exceptionDetail; private byte[] exceptionDetail;
/** /**
* 创建日期 * 创建日期
......
...@@ -7,7 +7,7 @@ import org.springframework.data.jpa.repository.Query; ...@@ -7,7 +7,7 @@ import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
* @author jie * @author Zheng Jie
* @date 2018-11-24 * @date 2018-11-24
*/ */
@Repository @Repository
......
...@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
/** /**
* @author jie * @author Zheng Jie
* @date 2018-11-24 * @date 2018-11-24
*/ */
@RestController @RestController
......
...@@ -7,7 +7,7 @@ import org.springframework.data.domain.Pageable; ...@@ -7,7 +7,7 @@ import org.springframework.data.domain.Pageable;
import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Async;
/** /**
* @author jie * @author Zheng Jie
* @date 2018-11-24 * @date 2018-11-24
*/ */
public interface LogService { public interface LogService {
......
...@@ -5,7 +5,7 @@ import java.io.Serializable; ...@@ -5,7 +5,7 @@ import java.io.Serializable;
import java.sql.Timestamp; import java.sql.Timestamp;
/** /**
* @author jie * @author Zheng Jie
* @date 2019-5-22 * @date 2019-5-22
*/ */
@Data @Data
......
...@@ -5,7 +5,7 @@ import me.zhengjie.annotation.Query; ...@@ -5,7 +5,7 @@ import me.zhengjie.annotation.Query;
/** /**
* 日志查询类 * 日志查询类
* @author jie * @author Zheng Jie
* @date 2019-6-4 09:23:07 * @date 2019-6-4 09:23:07
*/ */
@Data @Data
......
Supports Markdown
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