feat: 消息设置测试计划时间处理
This commit is contained in:
parent
c658df065e
commit
bc07ab7a98
|
@ -542,10 +542,14 @@ public class TestPlanService {
|
||||||
String eTime = String.valueOf(endTime);
|
String eTime = String.valueOf(endTime);
|
||||||
if (!sTime.equals("null")) {
|
if (!sTime.equals("null")) {
|
||||||
start = sdf.format(new Date(Long.parseLong(sTime)));
|
start = sdf.format(new Date(Long.parseLong(sTime)));
|
||||||
|
} else {
|
||||||
|
start = "";
|
||||||
}
|
}
|
||||||
String end = null;
|
String end = null;
|
||||||
if (!eTime.equals("null")) {
|
if (!eTime.equals("null")) {
|
||||||
end = sdf.format(new Date(Long.parseLong(eTime)));
|
end = sdf.format(new Date(Long.parseLong(eTime)));
|
||||||
|
} else {
|
||||||
|
end = "";
|
||||||
}
|
}
|
||||||
String context = "";
|
String context = "";
|
||||||
if (StringUtils.equals(NoticeConstants.CREATE, type)) {
|
if (StringUtils.equals(NoticeConstants.CREATE, type)) {
|
||||||
|
|
Loading…
Reference in New Issue