时间返回增加类型
This commit is contained in:
parent
f3d66a7879
commit
a5f11c1bde
@ -4,6 +4,10 @@ import lombok.Data;
|
|||||||
|
|
||||||
@Data
|
@Data
|
||||||
public class DateTimeResp {
|
public class DateTimeResp {
|
||||||
|
/**
|
||||||
|
* 时间类型
|
||||||
|
*/
|
||||||
|
Integer type;
|
||||||
/**
|
/**
|
||||||
* 年
|
* 年
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -61,7 +61,7 @@ public class TimeActionCommand extends ActionCommand implements IActionCommand{
|
|||||||
dateTimeResp.setMinute(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getMinute()));
|
dateTimeResp.setMinute(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getMinute()));
|
||||||
dateTimeResp.setSecond(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getSecond()));
|
dateTimeResp.setSecond(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getSecond()));
|
||||||
dateTimeResp.setWeak(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getDayOfWeek().getValue()));
|
dateTimeResp.setWeak(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getDayOfWeek().getValue()));
|
||||||
|
dateTimeResp.setType(action.getSystemTalkAnswerConfigEntity().getActionStatus());
|
||||||
BoxMessageResp resp = new BoxMessageResp();
|
BoxMessageResp resp = new BoxMessageResp();
|
||||||
resp.setType(action.getSystemTalkAnswerConfigEntity().getAnswerType());
|
resp.setType(action.getSystemTalkAnswerConfigEntity().getAnswerType());
|
||||||
if(baseSession.getLanguage().equals(LanguageEnum.CHINESE.getCode())){
|
if(baseSession.getLanguage().equals(LanguageEnum.CHINESE.getCode())){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user