Commit cb4fda97b5e4e3aa14e7ce2f64d3ce72d9da9c67

Authored by 王富生
1 parent 7f72c75b

提交处理sql自动拼接业务线逻辑

urbanops-framework/urbanops-spring-boot-starter-mybatis/src/main/java/com/zteits/urbanops/framework/annotation/ProcessBusinessLine.java 0 → 100644
  1 +package com.zteits.urbanops.framework.annotation;
  2 +
  3 +
  4 +import java.lang.annotation.*;
  5 +
  6 +/**
  7 + * 自定义注解:标记Mapper方法有该注解则拼接业务线字段
  8 + */
  9 +@Target({ElementType.TYPE, ElementType.METHOD}) // 仅作用于方法
  10 +@Retention(RetentionPolicy.RUNTIME) // 运行时保留,支持反射
  11 +@Documented
  12 +public @interface ProcessBusinessLine {
  13 +}
... ...