fix: 优化目录确认规则直接使用equals

厦门中医院联众-XiaMenZhongLianZhong
wyb 5 months ago
parent 6201f3c7a5
commit 1d15965dc9

@ -359,11 +359,11 @@ public class UpdateService {
comparePart = removeLeadingZeros(comparePart);
// gestno 或者 patno 进行 识别
if (StringUtils.hasText(gestno)) {
if (comparePart.contains(removeLeadingZeros(gestno)) && outDateFormat.equals(disDatePart)) {
if (comparePart.equals(removeLeadingZeros(gestno)) && outDateFormat.equals(disDatePart)) {
return lianZhongPatPicDir;
}
}
if (comparePart.contains(removeLeadingZeros(patno)) && outDateFormat.equals(disDatePart)) {
if (comparePart.equals(removeLeadingZeros(patno)) && outDateFormat.equals(disDatePart)) {
return lianZhongPatPicDir;
}
}

Loading…
Cancel
Save