Browse Source

添加注释

Gaokun Wang 1 month ago
parent
commit
24ca9fad5d

+ 0 - 0
eco-common/com-core/src/main/java/org/eco/vip/orm/utils/ReflectUtils.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/annotation/FieldMapper.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/annotation/FieldMapperType.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/config/FieldMapperConfig.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/constant/MapperConstant.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/handler/FieldMapperBeanSerializerModifier.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/handler/FieldMapperHandler.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/service/IFieldMapperInterface.java


+ 0 - 0
eco-common/com-mapper/src/main/java/org/eco/vip/mapper/service/UserNameMapper.java


+ 0 - 9
eco-common/com-mapper/src/main/resources/META-INF/maven/archetype.xml

@@ -1,9 +0,0 @@
-<archetype>
-  <id>com-mapper</id>
-  <sources>
-    <source>src/main/java/App.java</source>
-  </sources>
-  <testSources>
-    <source>src/test/java/AppTest.java</source>
-  </testSources>
-</archetype>

+ 1 - 0
eco-common/com-mapper/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

@@ -0,0 +1 @@
+org.eco.vip.mapper.config.FieldMapperConfig

+ 0 - 15
eco-common/com-mapper/src/main/resources/archetype-resources/pom.xml

@@ -1,15 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>$org.eco.vip</groupId>
-  <artifactId>$com-mapper</artifactId>
-  <version>$1.0.0</version>
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>

+ 0 - 13
eco-common/com-mapper/src/main/resources/archetype-resources/src/main/java/App.java

@@ -1,13 +0,0 @@
-package $org.eco.vip;
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}

+ 0 - 38
eco-common/com-mapper/src/main/resources/archetype-resources/src/test/java/AppTest.java

@@ -1,38 +0,0 @@
-package $org.eco.vip;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest 
-    extends TestCase
-{
-    /**
-     * Create the test case
-     *
-     * @param testName name of the test case
-     */
-    public AppTest( String testName )
-    {
-        super( testName );
-    }
-
-    /**
-     * @return the suite of tests being tested
-     */
-    public static Test suite()
-    {
-        return new TestSuite( AppTest.class );
-    }
-
-    /**
-     * Rigourous Test :-)
-     */
-    public void testApp()
-    {
-        assertTrue( true );
-    }
-}

+ 7 - 0
eco-common/com-security/src/main/java/org/eco/vip/security/annotation/PermissionsResource.java

@@ -10,6 +10,13 @@ import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
+
+/**
+ * @description PermissionsResource
+ *
+ * @author GaoKunW
+ * @date 2025/7/3 11:41
+ */
 @Target(ElementType.TYPE)
 @Retention(RetentionPolicy.RUNTIME)
 public @interface PermissionsResource {