联调修改bug

This commit is contained in:
wulin 2023-11-15 19:15:19 +08:00
parent ee30856dd1
commit b42ed0826f

View File

@ -277,7 +277,7 @@ public class AlarmClockActionCommand extends ActionCommand implements IActionCom
String[] p = v.split(":");
actionResp.setHour(Integer.parseInt(p[0]));
actionResp.setMinute(Integer.parseInt(p[1]));
if(!alarm.getRepeat().equals(AlarmRepeatEnum.ONE.getCode())){
if(alarm.getRepeat().equals(AlarmRepeatEnum.ONE.getCode())){
df = new SimpleDateFormat("yyyy-MM-dd");
v = df.format(alarm.getTime());
p = v.split("-");