update DictDataMapper 注解标注过期 推荐使用 Translation 注解
parent
dbce65d262
commit
5a7d39a53b
|
|
@ -13,7 +13,9 @@ import java.lang.annotation.Target;
|
||||||
* 字典数据映射注解
|
* 字典数据映射注解
|
||||||
*
|
*
|
||||||
* @author itino
|
* @author itino
|
||||||
|
* @deprecated 建议使用通用翻译注解
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.FIELD, ElementType.METHOD})
|
@Target({ElementType.FIELD, ElementType.METHOD})
|
||||||
@JacksonAnnotationsInside
|
@JacksonAnnotationsInside
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@ import java.util.Objects;
|
||||||
* 字典数据json序列化工具
|
* 字典数据json序列化工具
|
||||||
*
|
*
|
||||||
* @author itino
|
* @author itino
|
||||||
|
* @deprecated 建议使用通用翻译注解
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class DictDataJsonSerializer extends JsonSerializer<String> implements ContextualSerializer {
|
public class DictDataJsonSerializer extends JsonSerializer<String> implements ContextualSerializer {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue