|
@@ -61,10 +61,17 @@ public class CommonRule {
|
|
|
}
|
|
|
if (old_stand.size() > 0) {
|
|
|
for (Map.Entry<String, String> d : old_stand.entrySet()) {
|
|
|
- BillMsg commonBillMsg = MsgUtil.getCommonSurgeryMsg(
|
|
|
- billNeoMaxDTO.getOrderName(), billNeoMaxDTO.getOrderStandName(),
|
|
|
- d.getKey(), type, billNeoMaxDTO.getType());
|
|
|
- billMsgList.add(commonBillMsg);
|
|
|
+ if ("禁忌手术".equals(type)) {
|
|
|
+ BillMsg commonBillMsg = MsgUtil.getCommonSurgeryMsg(
|
|
|
+ billNeoMaxDTO.getOrderName(), billNeoMaxDTO.getOrderStandName(),
|
|
|
+ d.getKey(), type, billNeoMaxDTO.getType());
|
|
|
+ billMsgList.add(commonBillMsg);
|
|
|
+ } else {
|
|
|
+ BillMsg commonBillMsg = MsgUtil.getCommonBillMsg(
|
|
|
+ billNeoMaxDTO.getOrderName(), billNeoMaxDTO.getOrderStandName(),
|
|
|
+ d.getKey(), type, billNeoMaxDTO.getType());
|
|
|
+ billMsgList.add(commonBillMsg);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -85,14 +92,8 @@ public class CommonRule {
|
|
|
String c = (String) CoreUtil.getFieldValue(d, "uniqueName");
|
|
|
String c_name = (String) CoreUtil.getFieldValue(d, "name");
|
|
|
for (NodeNeoDTO nodeNeoDTO : neoList) {
|
|
|
- if (nodeNeoDTO.getExactMatch() == 0) { // 精确匹配
|
|
|
- if (StringUtils.isNotBlank(c) && c.equals(nodeNeoDTO.getName())) {
|
|
|
- old_stand.put(c_name, c);
|
|
|
- }
|
|
|
- } else { // 模糊匹配
|
|
|
- if (StringUtils.isNotBlank(c) && c.contains(nodeNeoDTO.getName())) {
|
|
|
- old_stand.put(c_name, c);
|
|
|
- }
|
|
|
+ if (CoreUtil.compareNodeName(nodeNeoDTO, c)) {
|
|
|
+ old_stand.put(c_name, c);
|
|
|
}
|
|
|
}
|
|
|
}
|