From a5f11c1bdec1ad55ee219d401f4dd6c0132e0720 Mon Sep 17 00:00:00 2001 From: wulin Date: Mon, 20 Nov 2023 09:24:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=B6=E9=97=B4=E8=BF=94=E5=9B=9E=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/qiuguo/iot/data/domain/box/resp/DateTimeResp.java | 4 ++++ .../java/com/qiuguo/iot/third/command/TimeActionCommand.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/domain/box/resp/DateTimeResp.java b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/domain/box/resp/DateTimeResp.java index 7405805..60e32f9 100644 --- a/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/domain/box/resp/DateTimeResp.java +++ b/iot-common/iot-data/src/main/java/com/qiuguo/iot/data/domain/box/resp/DateTimeResp.java @@ -4,6 +4,10 @@ import lombok.Data; @Data public class DateTimeResp { + /** + * 时间类型 + */ + Integer type; /** * 年 */ diff --git a/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/command/TimeActionCommand.java b/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/command/TimeActionCommand.java index 9a90089..3f8a1e1 100644 --- a/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/command/TimeActionCommand.java +++ b/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/command/TimeActionCommand.java @@ -61,7 +61,7 @@ public class TimeActionCommand extends ActionCommand implements IActionCommand{ dateTimeResp.setMinute(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getMinute())); dateTimeResp.setSecond(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getSecond())); dateTimeResp.setWeak(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getDayOfWeek().getValue())); - + dateTimeResp.setType(action.getSystemTalkAnswerConfigEntity().getActionStatus()); BoxMessageResp resp = new BoxMessageResp(); resp.setType(action.getSystemTalkAnswerConfigEntity().getAnswerType()); if(baseSession.getLanguage().equals(LanguageEnum.CHINESE.getCode())){