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())){