|
@@ -5,8 +5,10 @@ import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
+import org.springframework.util.ObjectUtils;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
|
+import java.util.Collections;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@Data
|
|
@Data
|
|
@@ -29,6 +31,14 @@ public class CrawlerPolicyPrintVo implements Serializable {
|
|
|
@JsonProperty("jyx_info_list")
|
|
@JsonProperty("jyx_info_list")
|
|
|
private List<JyxInfoListDTO> jyxInfoList;
|
|
private List<JyxInfoListDTO> jyxInfoList;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ public List<JyxInfoListDTO> getJyxInfoList() {
|
|
|
|
|
+ if(ObjectUtils.isEmpty(jyxInfoList)){
|
|
|
|
|
+ return Collections.emptyList();
|
|
|
|
|
+ }
|
|
|
|
|
+ return jyxInfoList;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@Data
|
|
@Data
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
public static class JyxInfoListDTO implements Serializable {
|
|
public static class JyxInfoListDTO implements Serializable {
|