Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_guodong
gjjs-bd-common
Commits
6eb4f756
Commit
6eb4f756
authored
Dec 05, 2022
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bd整合gjjs-mda (注解增强,com.brilliance.mda.runtime.annotation包迁移)
parent
e0c4b428
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
RelPath.java
...n/java/com/brilliance/mda/runtime/annotation/RelPath.java
+5
-7
Setters.java
...n/java/com/brilliance/mda/runtime/annotation/Setters.java
+1
-4
No files found.
gjjs-
bd-runtime
/src/main/java/com/brilliance/mda/runtime/annotation/RelPath.java
→
gjjs-
mda
/src/main/java/com/brilliance/mda/runtime/annotation/RelPath.java
View file @
6eb4f756
package
com
.
brilliance
.
mda
.
runtime
.
annotation
;
import
com.brilliance.mda.runtime.mda.DirType
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Target
;
import
static
java
.
lang
.
annotation
.
ElementType
.
FIELD
;
import
static
java
.
lang
.
annotation
.
ElementType
.
TYPE
;
import
static
java
.
lang
.
annotation
.
RetentionPolicy
.
RUNTIME
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Target
;
import
com.brilliance.mda.runtime.mda.DirType
;
/**
* 视图映射注解
* @author fukai
...
...
@@ -19,7 +17,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
@Retention
(
RUNTIME
)
@Target
({
TYPE
,
FIELD
})
public
@interface
RelPath
{
String
value
();
//路径
String
value
()
default
""
;
//路径
DirType
dir
()
default
DirType
.
BOTH
;
//输入输出方向
boolean
recursion
()
default
false
;
//是否递归关联
}
gjjs-
bd-runtime
/src/main/java/com/brilliance/mda/runtime/annotation/Setters.java
→
gjjs-
mda
/src/main/java/com/brilliance/mda/runtime/annotation/Setters.java
View file @
6eb4f756
package
com
.
brilliance
.
mda
.
runtime
.
annotation
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Target
;
import
java.lang.annotation.*
;
import
static
java
.
lang
.
annotation
.
RetentionPolicy
.
RUNTIME
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment