|
|
@@ -13,8 +13,6 @@ import com.xunmei.system.api.domain.SafeCheckTaskRegisterBookVo;
|
|
|
import io.netty.util.internal.StringUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.io.FileUtils;
|
|
|
-import org.apache.commons.lang3.StringUtils;
|
|
|
-import org.apache.commons.text.StringEscapeUtils;
|
|
|
import org.springframework.context.ApplicationContext;
|
|
|
import org.springframework.core.io.Resource;
|
|
|
|
|
|
@@ -22,8 +20,8 @@ import java.io.File;
|
|
|
import java.io.FileInputStream;
|
|
|
import java.io.FileOutputStream;
|
|
|
import java.io.IOException;
|
|
|
-import java.util.*;
|
|
|
import java.util.List;
|
|
|
+import java.util.*;
|
|
|
|
|
|
@Slf4j
|
|
|
public class PdfUtil {
|
|
|
@@ -573,6 +571,9 @@ public class PdfUtil {
|
|
|
}
|
|
|
for (int i = 1; i <= data.getCheckDatas().size(); i++) {
|
|
|
final CheckDataVo checkDataVo = data.getCheckDatas().get(i - 1);
|
|
|
+ if (ObjectUtil.isEmpty(checkDataVo.getResRemark())) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
PdfUtil.createPDFCell(tableFont, table, String.valueOf(i), Element.ALIGN_MIDDLE, 2, 1);
|
|
|
PdfUtil.createPDFCell(tableFont, table, checkDataVo.getItemName(), Element.ALIGN_MIDDLE, 6, 1);
|
|
|
PdfUtil.createPDFCell(tableFont, table, checkDataVo.getResRemark(), Element.ALIGN_MIDDLE, 6, 1);
|