From 9c9ffe92c377cbb2f26e18e51620523315ef61de Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 06 九月 2023 18:09:58 +0800 Subject: [PATCH] 解决数简服务的url更新时没有变更 --- src/main/java/com/moon/server/entity/ctrl/PubEntity.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/moon/server/entity/ctrl/PubEntity.java b/src/main/java/com/moon/server/entity/ctrl/PubEntity.java index 644aac5..baae5a9 100644 --- a/src/main/java/com/moon/server/entity/ctrl/PubEntity.java +++ b/src/main/java/com/moon/server/entity/ctrl/PubEntity.java @@ -26,6 +26,27 @@ } /** + * 璁剧疆榛樿鍊� + */ + public void setDefault() { + if (null == min) { + min = 0; + } + if (null == max) { + max = 18; + } + if (null == epsg || epsg == 0) { + epsg = 104903; + } + if (StringHelper.isEmpty(uuid)) { + uuid = StringHelper.getGuid(); + } + if (StringHelper.isEmpty(time)) { + time = StringHelper.YMDHMS2_FORMAT.format(new Date()); + } + } + + /** * 鍙戝竷ID */ private Integer pubid; -- Gitblit v1.9.3