|
@@ -1,6 +1,8 @@
|
|
|
package com.lantone.qc.kernel.util;
|
|
|
|
|
|
import com.lantone.qc.kernel.catalogue.QCCatalogue;
|
|
|
+import com.lantone.qc.pub.model.InputInfo;
|
|
|
+import com.lantone.qc.pub.util.StringUtil;
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
import org.springframework.core.annotation.Order;
|
|
@@ -19,4 +21,9 @@ import java.util.Map;
|
|
|
@Setter
|
|
|
public class CatalogueUtil {
|
|
|
public static Map<String, QCCatalogue> qcCatalogueMap = new HashMap<>();
|
|
|
+
|
|
|
+
|
|
|
+ public static boolean isEmpty(String content) {
|
|
|
+ return StringUtil.isBlank(content.replaceAll("[\r\n|/r/n|\n|/n|/t]", ""));
|
|
|
+ }
|
|
|
}
|