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

@@ -25,7 +25,7 @@ public class NtcConnRecordPercent implements Serializable {
private String searchFoundStartTime;// 开始发现时间
private String searchFoundEndTime;// 结束发现时间
private String searchEntranceId;
protected String searchIspCode;// 运营商
private String searchIspCode;// 运营商
public String getBps() {
return bps;
@@ -84,6 +84,7 @@ public class NtcConnRecordPercent implements Serializable {
public void setSearchEntranceId(String searchEntranceId) {
this.searchEntranceId = searchEntranceId;
}
@JsonIgnore
public String getSearchIspCode() {
return searchIspCode;

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"));