1:为原始日志查询添加运营商查询条件
2:注意如果需要为某个接口添加运营商搜索条件,需要在实体类中新增 protected String searchIspCode;// 运营商 protected String ispNum; 两个字段
This commit is contained in:
@@ -13,7 +13,6 @@ import com.wordnik.swagger.annotations.ApiModelProperty;
|
||||
* @version V1.0
|
||||
*/
|
||||
public class NtcConnRecordLog extends LogEntity<NtcConnRecordLog> {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -29,7 +28,7 @@ public class NtcConnRecordLog extends LogEntity<NtcConnRecordLog> {
|
||||
protected String c2sByteNum;
|
||||
@ApiModelProperty(value = "", required = true)
|
||||
protected String s2cByteNum;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "", required = true)
|
||||
protected Long protoId;
|
||||
@ApiModelProperty(value = "", required = true)
|
||||
@@ -37,13 +36,17 @@ public class NtcConnRecordLog extends LogEntity<NtcConnRecordLog> {
|
||||
@ApiModelProperty(value = "", required = true)
|
||||
protected Long webId;
|
||||
|
||||
|
||||
protected String searchAppId;//app
|
||||
protected String searchWebId;//web
|
||||
protected String searchProtoId;//proto
|
||||
//protected String searchServerLocate;//serverLocate
|
||||
//protected String searchClientLocate;//clientLocate
|
||||
|
||||
@ApiModelProperty(value = "运营商标识,entrance_id,device_id", required = true)
|
||||
protected String ispNum;
|
||||
|
||||
protected String searchAppId;// app
|
||||
protected String searchWebId;// web
|
||||
protected String searchProtoId;// proto
|
||||
protected String searchIspCode;// 运营商
|
||||
|
||||
// protected String searchServerLocate;//serverLocate
|
||||
// protected String searchClientLocate;//clientLocate
|
||||
|
||||
@JsonIgnore
|
||||
public String getAppLabel() {
|
||||
return appLabel;
|
||||
@@ -135,7 +138,23 @@ public class NtcConnRecordLog extends LogEntity<NtcConnRecordLog> {
|
||||
public void setSearchProtoId(String searchProtoId) {
|
||||
this.searchProtoId = searchProtoId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@JsonIgnore
|
||||
public String getSearchIspCode() {
|
||||
return searchIspCode;
|
||||
}
|
||||
|
||||
public void setSearchIspCode(String searchIspCode) {
|
||||
this.searchIspCode = searchIspCode;
|
||||
}
|
||||
|
||||
public String getIspNum() {
|
||||
return ispNum;
|
||||
}
|
||||
|
||||
public void setIspNum(String ispNum) {
|
||||
this.ispNum = ispNum;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -23,11 +23,12 @@ public class NtcMailLog extends LogEntity{
|
||||
protected String emlKey;
|
||||
@ApiModelProperty(value="EML文件转储路径", required=true)
|
||||
protected String emlFile;
|
||||
|
||||
@ApiModelProperty(value = "运营商标识,entrance_id,device_id", required = true)
|
||||
protected String ispNum;
|
||||
protected String searchMailFrom; //发件人
|
||||
protected String searchMailTo; //收件人
|
||||
protected String searchSubject; //主题
|
||||
|
||||
protected String searchIspCode;// 运营商
|
||||
protected String flag;//泛收的标志
|
||||
|
||||
@JsonIgnore
|
||||
@@ -114,4 +115,24 @@ public class NtcMailLog extends LogEntity{
|
||||
public String getSearchSubject() {
|
||||
return searchSubject;
|
||||
}
|
||||
|
||||
public String getIspNum() {
|
||||
return ispNum;
|
||||
}
|
||||
|
||||
public void setIspNum(String ispNum) {
|
||||
this.ispNum = ispNum;
|
||||
}
|
||||
@JsonIgnore
|
||||
public String getSearchIspCode() {
|
||||
return searchIspCode;
|
||||
}
|
||||
|
||||
public void setSearchIspCode(String searchIspCode) {
|
||||
this.searchIspCode = searchIspCode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user