1、pxy_http_log 字段web_site改为website;

2、修改NTC_STREAM_MEDIA_LOG表名改为NTC_STREAMING_MEDIA_LOG后未改部分;
This commit is contained in:
zhangdongxu
2018-10-16 12:00:45 +08:00
parent a37ea37b20
commit c026c6d54b
3 changed files with 8 additions and 8 deletions

View File

@@ -40,7 +40,7 @@ public class PxyHttpLog extends LogEntity<PxyHttpLog> {
@ApiModelProperty(value="原始应答体", required=true)
protected String respBody;
@ApiModelProperty(value="域名", required=true)
protected String webSite;
protected String website;
public String getUrl() {
return url;
@@ -120,11 +120,11 @@ public class PxyHttpLog extends LogEntity<PxyHttpLog> {
public void setRespBody(String respBody) {
this.respBody = respBody;
}
public String getWebSite() {
return webSite;
public String getWebsite() {
return website;
}
public void setWebSite(String webSite) {
this.webSite = webSite;
public void setWebsite(String website) {
this.website = website;
}
}

View File

@@ -1047,7 +1047,7 @@ public class NtcLogSearchController extends BaseRestController {
orderBy = "found_Time";
}
String sql = HiveSqlService.getSql(page, ntcStreamMediaLog,
getTableName(NtcStreamingMediaLog.class.getSimpleName() + "HiveTable", "NTC_STREAM_MEDIA_LOG"),
getTableName(NtcStreamingMediaLog.class.getSimpleName() + "HiveTable", "NTC_STREAMING_MEDIA_LOG"),
getCol2Col(), orderBy, null);
Map<String, List<Object>> tableMapping = new LogJDBCByDruid().tableMapping(page, null, sql, NtcStreamingMediaLog.class, "foundTime",
"recvTime");

View File

@@ -966,7 +966,7 @@
<result column="resp_header" jdbcType="VARCHAR" property="respHeader" />
<result column="req_body" jdbcType="VARCHAR" property="reqBody" />
<result column="resp_body" jdbcType="VARCHAR" property="respBody" />
<result column="web_site" jdbcType="VARCHAR" property="webSite" />
<result column="website" jdbcType="VARCHAR" property="website" />
</resultMap>
<resultMap id="NtcP2pLogMap" type="com.nis.domain.restful.NtcP2pLog">
<result column="cfg_id" jdbcType="BIGINT" property="cfgId" />
@@ -1165,7 +1165,7 @@
<result column="called_number" jdbcType="VARCHAR" property="calledNumber" />
</resultMap>
<resultMap id="NtcStreamMediaLogMap" type="com.nis.domain.restful.NtcStreamingMediaLog">
<resultMap id="NtcStreamingMediaLogMap" type="com.nis.domain.restful.NtcStreamingMediaLog">
<result column="cfg_id" jdbcType="BIGINT" property="cfgId" />
<result column="found_Time" jdbcType="TIMESTAMP" property="foundTime" />
<result column="recv_Time" jdbcType="TIMESTAMP" property="recvTime" />