|
@@ -1,6 +1,7 @@
|
|
package com.fdkankan.manage.httpClient.vo;
|
|
package com.fdkankan.manage.httpClient.vo;
|
|
|
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
@Data
|
|
@Data
|
|
public class OverallParam {
|
|
public class OverallParam {
|
|
@@ -8,4 +9,22 @@ public class OverallParam {
|
|
private Long pageNum = 1L;
|
|
private Long pageNum = 1L;
|
|
private Long pageSize = 10L;
|
|
private Long pageSize = 10L;
|
|
private String searchKey;
|
|
private String searchKey;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ private String sceneName;
|
|
|
|
+ private String userName;
|
|
|
|
+
|
|
|
|
+ public String getSearchKey() {
|
|
|
|
+ if(StringUtils.isNotBlank(sceneName) && StringUtils.isNotBlank(userName)){
|
|
|
|
+ return sceneName + userName;
|
|
|
|
+ }
|
|
|
|
+ if(StringUtils.isNotBlank(sceneName)){
|
|
|
|
+ return sceneName;
|
|
|
|
+ }
|
|
|
|
+ if(StringUtils.isNotBlank(userName)){
|
|
|
|
+ return userName;
|
|
|
|
+ }
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|