Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datax-cloud
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
黄营
datax-cloud
Commits
77ce81f4
Commit
77ce81f4
authored
Apr 24, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0.0项目初始化
parent
411515c9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
pom.xml
datax-common/datax-common-dictionary/pom.xml
+1
-1
DictAop.java
...n/java/cn/datax/common/dictionary/annotation/DictAop.java
+1
-1
pom.xml
...-modules/system-service-parent/system-service-api/pom.xml
+6
-0
RoleVo.java
.../src/main/java/cn/datax/service/system/api/vo/RoleVo.java
+2
-0
No files found.
datax-common/datax-common-dictionary/pom.xml
View file @
77ce81f4
...
...
@@ -20,7 +20,7 @@
</dependency>
<dependency>
<groupId>
cn.datax
</groupId>
<artifactId>
system-service-api
</artifactId>
<artifactId>
datax-common-core
</artifactId>
<version>
2.0.0
</version>
</dependency>
<dependency>
...
...
datax-common/datax-common-dictionary/src/main/java/cn/datax/common/dictionary/annotation/DictAop.java
View file @
77ce81f4
...
...
@@ -2,7 +2,7 @@ package cn.datax.common.dictionary.annotation;
import
java.lang.annotation.*
;
@Target
({
ElementType
.
PARAMETER
,
ElementType
.
METHO
D
})
@Target
({
ElementType
.
FIEL
D
})
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
public
@interface
DictAop
{
...
...
datax-modules/system-service-parent/system-service-api/pom.xml
View file @
77ce81f4
...
...
@@ -41,6 +41,11 @@
<artifactId>
datax-common-core
</artifactId>
<version>
2.0.0
</version>
</dependency>
<dependency>
<groupId>
cn.datax
</groupId>
<artifactId>
datax-common-dictionary
</artifactId>
<version>
2.0.0
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
datax-modules/system-service-parent/system-service-api/src/main/java/cn/datax/service/system/api/vo/RoleVo.java
View file @
77ce81f4
package
cn
.
datax
.
service
.
system
.
api
.
vo
;
import
cn.datax.common.dictionary.annotation.DictAop
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
...
...
@@ -13,6 +14,7 @@ public class RoleVo implements Serializable {
private
static
final
long
serialVersionUID
=
1L
;
private
String
id
;
@DictAop
(
code
=
"status"
)
private
Integer
status
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
createTime
;
...
...
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