|
@@ -44,13 +44,6 @@ public class BEH0039 extends QCCatalogue {
|
|
|
|| StringUtil.isBlank(allergy.getAllergyFood().getName())) {
|
|
|
continue;
|
|
|
}
|
|
|
- if (StringUtil.isNotBlank(allergy.getAllergyFood().getName())) {
|
|
|
- int index = pastText.indexOf(allergy.getAllergyFood().getName());
|
|
|
- pastText = pastText.substring(Math.max(index - 5, 0), index);
|
|
|
- if (pastText.contains("有")) {
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
if ((allergy.getNegative() == null || StringUtil.isBlank(allergy.getNegative().getName()))
|
|
|
&& (allergy.getAllergyFood().getPd() == null || StringUtil.isBlank(allergy.getAllergyFood().getPd().getName()))
|
|
|
&& (allergy.getAllergyFood().getDegree() == null || StringUtil.isBlank(allergy.getAllergyFood().getDegree().getName()))
|