Commit 1d08f6ad by 宋祥

1.注解增加别名

parent 5d118308
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 "";
}
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment