feat: 消息设置测试计划时间处理

This commit is contained in:
wenyann 2020-10-23 18:30:37 +08:00
parent c658df065e
commit bc07ab7a98
1 changed files with 4 additions and 0 deletions

View File

@ -542,10 +542,14 @@ public class TestPlanService {
String eTime = String.valueOf(endTime);
if (!sTime.equals("null")) {
start = sdf.format(new Date(Long.parseLong(sTime)));
} else {
start = "";
}
String end = null;
if (!eTime.equals("null")) {
end = sdf.format(new Date(Long.parseLong(eTime)));
} else {
end = "";
}
String context = "";
if (StringUtils.equals(NoticeConstants.CREATE, type)) {