fix: 测试环境没数据BUG

This commit is contained in:
2023-11-27 10:34:42 +08:00
parent f0277ac730
commit 7fb7fe9d67
@@ -1,6 +1,7 @@
package com.adc.da.slrs.sarMenuStandard.entity; package com.adc.da.slrs.sarMenuStandard.entity;
import cn.afterturn.easypoi.excel.annotation.Excel; import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.hutool.core.util.StrUtil;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
@@ -165,7 +166,7 @@ public class StandSystemDTO {
public void setStandSystemId(String standSystemId) { public void setStandSystemId(String standSystemId) {
this.standSystemId = standSystemId; this.standSystemId = standSystemId;
if (standSystemId != null) { if (StrUtil.isNotBlank(standSystemId)) {
this.standSystemIdList = java.util.Arrays.asList(standSystemId.split(",")); this.standSystemIdList = java.util.Arrays.asList(standSystemId.split(","));
} }
} }