fix:单向流查询运营商增加

This commit is contained in:
doufenghu
2019-02-21 21:11:52 +06:00
parent ed6ef2de13
commit 5d6fa137ba
2 changed files with 4 additions and 3 deletions

View File

@@ -711,8 +711,8 @@ public class NtcLogSearchController extends BaseRestController {
AuditLogThread auditLogThread = super.saveRequestLog(servicesRequestLogService, Constants.OPACTION_GET, request,
null);
try {
if (StringUtil.isEmpty(ntcConnRecordPercent.getSearchFoundStartTime())
&& StringUtil.isEmpty(ntcConnRecordPercent.getSearchFoundEndTime())) {
if (StringUtil.isBlank(ntcConnRecordPercent.getSearchFoundStartTime())
&& StringUtil.isBlank(ntcConnRecordPercent.getSearchFoundEndTime())) {
Map<String, String> map = DateUtils.getLocalTime(null, null, Constants.LOG_LOCAL_TIME, "minute");
ntcConnRecordPercent.setSearchFoundStartTime(map.get("startTime"));
ntcConnRecordPercent.setSearchFoundEndTime(map.get("endTime"));