Browse Source

注释

master
nelson 4 years ago
parent
commit
8622d04cc6
  1. 2
      build.gradle
  2. 4
      src/main/java/com/aiprose/mbp/aop/OperLogAspect.java
  3. 4
      src/main/java/com/aiprose/mbp/entity/ExceptionLog.java
  4. 4
      src/main/java/com/aiprose/mbp/entity/SysLog.java

2
build.gradle

@ -5,7 +5,7 @@ plugins {
}
group = 'com.aiprose'
version = '0.0.1-SNAPSHOT'
version = '0.0.1'
sourceCompatibility = '1.8'
repositories {

4
src/main/java/com/aiprose/mbp/aop/OperLogAspect.java

@ -24,6 +24,10 @@ import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
/**
* 日志切面
* @author nelson
*/
@Aspect
@Component
public class OperLogAspect {

4
src/main/java/com/aiprose/mbp/entity/ExceptionLog.java

@ -5,6 +5,10 @@ import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
/**
* 错误日志
* @author nelson
*/
@Data
@Table(name="mbp_exception_log")
@TableName("mbp_exception_log")

4
src/main/java/com/aiprose/mbp/entity/SysLog.java

@ -5,6 +5,10 @@ import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
/**
* 操作日志
* @author nelson
*/
@Data
@Table(name="mbp_syslog")
@TableName("mbp_syslog")

Loading…
Cancel
Save