From 910c0d09275fc7ac411a0bcbe87bc7b5ead533ee Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 28 八月 2023 10:36:23 +0800 Subject: [PATCH] 修改redis的缓存策略 --- src/main/java/com/moon/server/entity/data/MetaEntity.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/moon/server/entity/data/MetaEntity.java b/src/main/java/com/moon/server/entity/data/MetaEntity.java index aade87b..3055809 100644 --- a/src/main/java/com/moon/server/entity/data/MetaEntity.java +++ b/src/main/java/com/moon/server/entity/data/MetaEntity.java @@ -52,7 +52,7 @@ private int ismeta; - private String sensortype; + private int sensortype; private Timestamp acqTime; @@ -66,7 +66,7 @@ private String hDatum; - private String mataType; + private int mataType; private String bands; @@ -261,11 +261,11 @@ this.ismeta = ismeta; } - public String getSensortype() { + public int getSensortype() { return sensortype; } - public void setSensortype(String sensortype) { + public void setSensortype(int sensortype) { this.sensortype = sensortype; } @@ -317,11 +317,11 @@ this.hDatum = hDatum; } - public String getMataType() { + public int getMataType() { return mataType; } - public void setMataType(String mataType) { + public void setMataType(int mataType) { this.mataType = mataType; } -- Gitblit v1.9.3