提交 5a0f3684 authored 作者: linzhenjie's avatar linzhenjie

修改一次的时候返回时间

上级 720747ab
......@@ -98,7 +98,8 @@ public class ShDeviceTimingController {
entity.setTime(entity.getTime().substring(11, 16));
}*/
if (entity.getRepeats() == 0) {
entity.setRepeatTime("一次");
entity.setTime(entity.getTime().split(" ")[1]);
entity.setRepeatTime("仅一次");
} else {
StringBuilder sb = new StringBuilder();
String[] repeatTimes = entity.getRepeatTime().split(",");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论