Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
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
platform
hg-smart
Commits
1d08f6ad
Commit
1d08f6ad
authored
Sep 02, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.注解增加别名
parent
5d118308
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
AliasNameAnon.java
...ht/hggp/core/extapp/decheng/annotation/AliasNameAnon.java
+11
-0
HGSC001.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC001.xml
+1
-1
No files found.
src/main/java/com/baosight/hggp/core/extapp/decheng/annotation/AliasNameAnon.java
View file @
1d08f6ad
package
com
.
baosight
.
hggp
.
core
.
extapp
.
decheng
.
annotation
;
import
org.springframework.core.annotation.AliasFor
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
...
...
@@ -11,10 +13,19 @@ import java.lang.annotation.RetentionPolicy;
public
@interface
AliasNameAnon
{
/**
* 值
*
* @return
*/
@AliasFor
(
"name"
)
String
value
()
default
""
;
/**
* 名称
*
* @return
*/
@AliasFor
(
"value"
)
String
name
()
default
""
;
}
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC001.xml
View file @
1d08f6ad
...
...
@@ -133,7 +133,7 @@
SELECT
<include
refid=
"column"
/>
FROM ${hggpSchema}.HGSC001
WHERE PROJ_CODE = #projCode
WHERE PROJ_CODE = #projCode
#
</select>
<select
id=
"query"
resultClass=
"com.baosight.hggp.hg.sc.domain.HGSC001"
>
...
...
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