浏览代码

统一枚举类型

zhoutg 4 年之前
父节点
当前提交
8aec866df2

+ 0 - 51
src/main/java/com/diagbot/facade/CriticalFacade.java

@@ -1,21 +1,11 @@
 package com.diagbot.facade;
 
-import com.diagbot.biz.push.entity.Lis;
-import com.diagbot.biz.push.entity.Pacs;
 import com.diagbot.dto.IndicationDTO;
 import com.diagbot.dto.WordCrfDTO;
-import com.diagbot.enums.LexiconEnum;
-import com.diagbot.enums.RuleTypeEnum;
-import com.diagbot.enums.TypeEnum;
 import com.diagbot.process.CriticalProcess;
-import com.diagbot.util.StringUtil;
-import com.diagbot.vo.RuleVO;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
-import java.util.ArrayList;
-import java.util.List;
-
 /**
  * @Description: 危急值facade
  * @author: zhoutg
@@ -44,45 +34,4 @@ public class CriticalFacade {
         // 结果去重处理
         commonFacade.dealMsg(res.getCriticalValList());
     }
-
-
-
-    /**
-     * 获取危急值入参
-     *
-     * @param wordCrfDTO
-     * @return
-     */
-    public List<RuleVO> getRuleVO(WordCrfDTO wordCrfDTO) {
-        List<RuleVO> ruleVOList = new ArrayList<>();
-        // 化验数值
-        List<Lis> lisList = wordCrfDTO.getLis();
-        for (Lis lis : lisList) {
-            if (StringUtil.isNotBlank(lis.getUniqueName())) {
-                RuleVO ruleVO = new RuleVO();
-                ruleVO.setInputName(lis.getName());
-                ruleVO.setLibName(lis.getUniqueName());
-                ruleVO.setLibType(LexiconEnum.LisName.getKey());
-                ruleVO.setLibTypeName(TypeEnum.lis.getName());
-                ruleVO.setDateValue(lis.getDateValue());
-                ruleVO.setSuffix(String.valueOf(RuleTypeEnum.critical.getKey()));
-                ruleVOList.add(ruleVO);
-            }
-        }
-
-        // 辅检
-        List<Pacs> pacsList = wordCrfDTO.getPacs();
-        for (Pacs pacs : pacsList) {
-            if (StringUtil.isNotBlank(pacs.getUniqueName())) {
-                RuleVO ruleVO = new RuleVO();
-                ruleVO.setInputName(pacs.getName());
-                ruleVO.setLibName(pacs.getUniqueName());
-                ruleVO.setLibType(LexiconEnum.PacsName.getKey());
-                ruleVO.setLibTypeName(TypeEnum.pacs.getName());
-                ruleVO.setDateValue(pacs.getDateValue());
-                ruleVOList.add(ruleVO);
-            }
-        }
-        return ruleVOList;
-    }
 }

+ 0 - 1
src/main/java/com/diagbot/facade/TestFacade.java

@@ -217,7 +217,6 @@ public class TestFacade {
                             continue;
                         }
                         if (testLineVO.isGetOne()) { // 随机取一条
-                            System.out.println("当前执行" + bean.getIdNum());
                             pastStr.append("对“").append(drugAll.get(getRandomNum(drugAll.size()))).append("”过敏。");
                             indicationPushVO.setPasts(pastStr.toString());
                         } else { // 遍历

+ 0 - 215
src/main/java/com/diagbot/process/BillProcess.java

@@ -209,219 +209,4 @@ public class BillProcess {
         // 24小时重复开单项
         commonRule.repeat24Bill(wordCrfDTO, billMsgList);
     }
-
-    // public void process(List<BillNeoDTO> billNeoDTOList, WordCrfDTO wordCrfDTO, IndicationDTO res) {
-    //     // 合并图谱数据到同一个对象中
-    //     List<BillNeoMaxDTO> billNeoMaxDTOList = new ArrayList<>();
-    //     for (BillNeoDTO billNeoDTO : billNeoDTOList) {
-    //         BillNeoMaxDTO billNeoMaxDTO = new BillNeoMaxDTO();
-    //         if (billNeoDTO.getDrugBillNeoDTO() != null) {
-    //             BeanUtil.copyProperties(billNeoDTO.getDrugBillNeoDTO(), billNeoMaxDTO);
-    //             billNeoMaxDTO.setType(TypeEnum.drug.getName());
-    //         } else if (billNeoDTO.getLisBillNeoDTO() != null) {
-    //             BeanUtil.copyProperties(billNeoDTO.getLisBillNeoDTO(), billNeoMaxDTO);
-    //             billNeoMaxDTO.setType(TypeEnum.lis.getName());
-    //         } else if (billNeoDTO.getPacsBillNeoDTO() != null) {
-    //             BeanUtil.copyProperties(billNeoDTO.getPacsBillNeoDTO(), billNeoMaxDTO);
-    //             billNeoMaxDTO.setType(TypeEnum.pacs.getName());
-    //         } else if (billNeoDTO.getOperationBillNeoDTO() != null) {
-    //             BeanUtil.copyProperties(billNeoDTO.getOperationBillNeoDTO(), billNeoMaxDTO);
-    //             if (ListUtil.isNotEmpty(billNeoDTO.getOperationBillNeoDTO().getMedallegen())) {
-    //                 billNeoMaxDTO.getAllergicmeds().addAll(billNeoDTO.getOperationBillNeoDTO().getMedallegen());
-    //             }
-    //             billNeoMaxDTO.setType(TypeEnum.operation.getName());
-    //         } else if (billNeoDTO.getTransfusionBillNeoDTO() != null) {
-    //             BeanUtil.copyProperties(billNeoDTO.getTransfusionBillNeoDTO(), billNeoMaxDTO);
-    //             billNeoMaxDTO.setType(TypeEnum.transfusion.getName());
-    //         }
-    //         billNeoMaxDTO.setOrderName(billNeoDTO.getName()); // 开单名称
-    //         billNeoMaxDTO.setOrderStandName(billNeoDTO.getStandname()); // 开单标准名称
-    //         // // TODO 测试数据开始
-    //         // if (billNeoDTO.getStandname().equals("胸部CT")) {
-    //         //     NodeNeoDTO nodeNeoDTO = new NodeNeoDTO();
-    //         //     nodeNeoDTO.setName("幼儿");
-    //         //     billNeoMaxDTO.getGroup().add(nodeNeoDTO);
-    //         // }
-    //         // if (billNeoDTO.getStandname().equals("胸部CT")) {
-    //         //     NodeNeoDTO nodeNeoDTO = new NodeNeoDTO();
-    //         //     nodeNeoDTO.setName("心电图");
-    //         //     billNeoMaxDTO.getPacsOrder().add(nodeNeoDTO);
-    //         // }
-    //         // if (billNeoDTO.getStandname().equals("心电图")) {
-    //         //     NodeNeoDTO nodeNeoDTO = new NodeNeoDTO();
-    //         //     nodeNeoDTO.setName("胸部CT");
-    //         //     billNeoMaxDTO.getPacsOrder().add(nodeNeoDTO);
-    //         // }
-    //         // if (billNeoDTO.getName().equals("普通胃镜检查")) {
-    //         //     NodeNeoDTO sexNeo = new NodeNeoDTO();
-    //         //     sexNeo.setName("男");
-    //         //     billNeoMaxDTO.setGender(sexNeo);
-    //         //
-    //         //     NodeNeoDTO nodeNeoDTO = new NodeNeoDTO();
-    //         //     nodeNeoDTO.setName("红细胞压积");
-    //         //     nodeNeoDTO.setVal("阳性");
-    //         //     billNeoDTO.getPacsBillNeoDTO().getLis().add(nodeNeoDTO);
-    //         //
-    //         //     NodeNeoDTO nodepacsDTO = new NodeNeoDTO();
-    //         //     nodepacsDTO.setName("上腹部平扫");
-    //         //     billNeoDTO.getPacsBillNeoDTO().getPacs().add(nodepacsDTO);
-    //         //
-    //         //     NodeNeoDTO opereat = new NodeNeoDTO();
-    //         //     opereat.setName("胸腔镜下左下肺叶切除术");
-    //         //     billNeoDTO.getPacsBillNeoDTO().getOperations().add(opereat);
-    //         //     NodeNeoDTO opereat2 = new NodeNeoDTO();
-    //         //     opereat2.setName("区域淋巴结清扫术");
-    //         //     billNeoDTO.getPacsBillNeoDTO().getOperations().add(opereat2);
-    //         //
-    //         //     NodeNeoDTO drug = new NodeNeoDTO();
-    //         //     drug.setName("青霉素类");
-    //         //     billNeoDTO.getPacsBillNeoDTO().getAllergicmeds().add(drug);
-    //         //
-    //         //     NodeNeoDTO drug3 = new NodeNeoDTO();
-    //         //     drug3.setName("泰舒达类");
-    //         //     billNeoDTO.getPacsBillNeoDTO().getOralmeds().add(drug3);
-    //         //
-    //         //     // NodeNeoDTO vital = new NodeNeoDTO();
-    //         //     // vital.setName("体温");
-    //         //     // vital.setMax(new BigDecimal("39.1"));
-    //         //     // vital.setMin(new BigDecimal("35.1"));
-    //         //     // vital.setValType(1);
-    //         //     // billNeoDTO.getPacsBillNeoDTO().getVitals().add(vital);
-    //         //
-    //         //     NodeNeoDTO vitalBp = new NodeNeoDTO();
-    //         //     vitalBp.setName("舒张压");
-    //         //     vitalBp.setMax(new BigDecimal("120"));
-    //         //     vitalBp.setMin(new BigDecimal("100"));
-    //         //     vitalBp.setValType(1);
-    //         //     billNeoDTO.getPacsBillNeoDTO().getVitals().add(vitalBp);
-    //         //
-    //         //     NodeNeoDTO vitalBp2 = new NodeNeoDTO();
-    //         //     vitalBp2.setName("收缩压");
-    //         //     vitalBp2.setMax(new BigDecimal("120"));
-    //         //     vitalBp2.setMin(new BigDecimal("100"));
-    //         //     vitalBp2.setValType(1);
-    //         //     billNeoDTO.getPacsBillNeoDTO().getVitals().add(vitalBp2);
-    //         // }
-    //         // 测试数据结束
-    //
-    //         System.out.println(billNeoMaxDTO);
-    //         billNeoMaxDTOList.add(billNeoMaxDTO);
-    //     }
-    //
-    //     // 辅检开单项时间赋值,用于规则【无需重复开单项】
-    //     // 由于mark之前返回的billNeoDTOList没有时间字段,就用辅检开单的原始数据name和uniqueName两个字段相同时
-    //     // 进行赋值。可能会存在多个相同的开单项,时间需要分别赋值:处理方式是时间只用一次,刚好可以对上
-    //     if (ListUtil.isNotEmpty(billNeoMaxDTOList) && ListUtil.isNotEmpty(wordCrfDTO.getPacsOrder())) {
-    //         List<Integer> useList = new ArrayList<>();
-    //         for (int i = 0; i < billNeoMaxDTOList.size(); i++) {
-    //             BillNeoMaxDTO billNeoMaxDTO = billNeoMaxDTOList.get(i);
-    //             for (int j = 0; j < wordCrfDTO.getPacsOrder().size(); j++) {
-    //                 Pacs pacs = wordCrfDTO.getPacsOrder().get(j);
-    //                 if (StringUtil.isNotBlank(pacs.getName()) && StringUtil.isNotBlank(pacs.getUniqueName())
-    //                         && pacs.getName().equals(billNeoMaxDTO.getOrderName())
-    //                         && pacs.getUniqueName().equals(billNeoMaxDTO.getOrderStandName())) {
-    //                     if (!useList.contains(j)) { // 判断使用标识
-    //                         billNeoMaxDTO.setDateValue(pacs.getDateValue());
-    //                         useList.add(j);
-    //                         break;
-    //                     }
-    //                 }
-    //             }
-    //         }
-    //     }
-    //     processRule(billNeoMaxDTOList, wordCrfDTO, res);
-    // }
-    //
-    // // 规则处理
-    // public void processRule(List<BillNeoMaxDTO> billNeoMaxDTOList, WordCrfDTO wordCrfDTO, IndicationDTO indicationDTO) {
-    //     ChiefLabel chiefLabel = wordCrfDTO.getChiefLabel();
-    //     PresentLabel presentLabel = wordCrfDTO.getPresentLabel();
-    //     PastLabel pastLabel = wordCrfDTO.getPastLabel();
-    //
-    //     // 【过敏药品数据来源】
-    //     List<Item> allergyMedicines = commonRule.getDrugAllergySource(wordCrfDTO);
-    //
-    //     // 【药品数据来源】(主诉、现病史、既往史、结构化药品)
-    //     List<Item> medicineAll = wordCrfDTO.getDrugSource();
-    //
-    //     // 【诊断数据来源】
-    //     List<Item> diags = wordCrfDTO.getDiagSource();
-    //
-    //     // 【辅检结果数据来源】
-    //     PacsLabel pacsLabel = wordCrfDTO.getPacsLabel();
-    //     List<Item> pacsDescList = pacsLabel.getRes();
-    //
-    //     // 【手术数据来源】
-    //     List<Operation> operations_all = new ArrayList<>();
-    //     List<Item> operation = wordCrfDTO.getOperation();
-    //     List<Operation> operationsItem = new ArrayList<>();
-    //     for (Item item : operation) {
-    //         Operation operaData = new Operation();
-    //         operaData.setName(item.getName());
-    //         operaData.setStandName(item.getUniqueName());
-    //         operationsItem.add(operaData);
-    //     }
-    //     CoreUtil.addList(operations_all, chiefLabel.getOperations()); // 主诉手术
-    //     CoreUtil.addList(operations_all, presentLabel.getOperations()); // 现病史手术
-    //     CoreUtil.addList(operations_all, pastLabel.getOperations()); // 既往史手术
-    //     CoreUtil.addList(operations_all, operationsItem); // 结构化手术
-    //
-    //     // 【临床表现数据来源】(主诉、现病史)
-    //     List<Clinical> clinicals = new ArrayList<>();
-    //     CoreUtil.addList(clinicals, chiefLabel.getClinicals()); // 主诉临床表现
-    //     CoreUtil.addList(clinicals, presentLabel.getClinicals()); // 现病史临床表现
-    //
-    //     List<BillMsg> billMsgList = new ArrayList<>();
-    //     for (BillNeoMaxDTO bill : billNeoMaxDTOList) {
-    //         // 性别
-    //         // sexRule.bill(wordCrfDTO, bill, billMsgList, NeoEnum.gender.getName());
-    //
-    //         // 年龄
-    //         // ageRule.bill(wordCrfDTO, bill, billMsgList, NeoEnum.ageNeoDTO.getName());
-    //
-    //         // 诊断
-    //         // commonRule.compareItemWithBill(bill.getDisease(), diags, bill, billMsgList, NeoEnum.disease.getName());
-    //         //
-    //         // // 化验
-    //         // lisRule.bill(wordCrfDTO.getLis(), bill, billMsgList, NeoEnum.lis.getName());
-    //
-    //         // 体征
-    //         // vitalRule.bill(wordCrfDTO.getVitalLabel(), bill, billMsgList, NeoEnum.vitals.getName());
-    //         //
-    //         // // 辅检
-    //         // pacsRule.bill(bill.getPacs(), wordCrfDTO.getPacs(), bill, billMsgList, NeoEnum.pacs.getName());
-    //         //
-    //         // // 临床表现
-    //         // commonRule.compareNameWithBill(bill.getClinicfindings(), clinicals, bill, billMsgList, NeoEnum.clinicfindings.getName());
-    //         //
-    //         // // 手术(既往史、现病史、医嘱手术)
-    //         // commonRule.compareNameWithBill(bill.getOperations(), operations_all, bill, billMsgList, NeoEnum.operations.getName());
-    //         //
-    //         // // 禁忌过敏药品(既往史)
-    //         // drugRule.bill(bill.getAllergicmeds(), allergyMedicines, bill, billMsgList, NeoEnum.allergicmeds.getName());
-    //         //
-    //         // // 服用药品(主诉、现病史、既往史、结构化药品)
-    //         // drugRule.bill(bill.getOralmeds(), medicineAll, bill, billMsgList, NeoEnum.oralmeds.getName());
-    //         //
-    //         // // 禁忌人群
-    //         // groupRule.bill(wordCrfDTO, bill, billMsgList, NeoEnum.group.getName());
-    //         //
-    //         // // 禁用辅助检查描述
-    //         // commonRule.compareItemWithBill(bill.getPacsDesc(), pacsDescList, bill, billMsgList, NeoEnum.pacsDesc.getName());
-    //         //
-    //         // // 禁忌医疗器械及物品
-    //         // medEquRule.bill(wordCrfDTO, bill, billMsgList, NeoEnum.medEqu.getName());
-    //         //
-    //         // // 无需重复开单项
-    //         // commonRule.needlessRepeatOrder(wordCrfDTO, bill, billMsgList);
-    //     }
-    //
-    //     // 24小时重复开单项
-    //     commonRule.repeat24Bill(wordCrfDTO, billMsgList);
-    //
-    //     // 互斥开单项
-    //     commonRule.exclusionBill(billNeoMaxDTOList, wordCrfDTO, billMsgList);
-    //     indicationDTO.setBillMsgList(billMsgList);
-    // }
-
 }

+ 0 - 217
src/main/java/com/diagbot/util/CoreUtil.java

@@ -267,30 +267,6 @@ public class CoreUtil {
         }
     }
 
-    /**
-     * 比较name是否一样
-     *
-     * @param nodeNeoDTO
-     * @param item
-     * @return
-     */
-    public static Map compareNameWithNode(NodeNeoDTO nodeNeoDTO, List<? extends Item> item) {
-        Map<String, Object> map = new LinkedHashMap<>();
-        boolean flag = false;
-        List<String> msgList = new ArrayList<>();
-        if (ListUtil.isNotEmpty(item) && nodeNeoDTO != null) {
-            for (Item it : item) {
-                if (it.getUniqueName().equals(nodeNeoDTO.getName())) {
-                    flag = true;
-                    msgList.add(it.getName());
-                }
-            }
-        }
-        map.put("flag", flag);
-        map.put("msg", msgList);
-        return map;
-    }
-
     /**
      * 比较化验是否匹配
      *
@@ -330,47 +306,6 @@ public class CoreUtil {
         return map;
     }
 
-    /**
-     * 比较化验是否匹配
-     *
-     * @param nodeNeoDTO
-     * @param lis
-     * @return
-     */
-    public static Map<String, Object> compareLis(NodeNeoDTO nodeNeoDTO, Lis lis) {
-        Map<String, Object> map = new LinkedHashMap<>();
-        boolean flag = false;
-        if (nodeNeoDTO == null || lis == null) {
-            map.put("flag", flag);
-            return map;
-        }
-        if (StringUtil.isNotBlank(lis.getOtherValue())) {
-            if (lis.getOtherValue().equals(nodeNeoDTO.getVal())) {
-                // 套餐和明细一样,提示语只取其中一个
-                if (lis.getName() == null || lis.getDetailName() == null
-                        || !lis.getName().equals(lis.getDetailName())) {
-                    map.put("msg", lis.getName() + lis.getDetailName() + lis.getOtherValue());
-                } else {
-                    map.put("msg", lis.getDetailName() + lis.getOtherValue());
-                }
-                flag = true;
-            }
-        } else if (lis.getValue() != null) {
-            double value = lis.getValue();
-            flag = compareNum(nodeNeoDTO, value);
-            if (flag) {
-                if (lis.getName() == null || lis.getDetailName() == null
-                        || !lis.getName().equals(lis.getDetailName())) {
-                    map.put("msg", lis.getName() + lis.getDetailName() + subZeroAndDot(String.valueOf(lis.getValue())));
-                } else {
-                    map.put("msg", lis.getDetailName() + subZeroAndDot(String.valueOf(lis.getValue())));
-                }
-            }
-        }
-        map.put("flag", flag);
-        return map;
-    }
-
     /**
      * 比较查体是否匹配
      *
@@ -425,60 +360,6 @@ public class CoreUtil {
         return map;
     }
 
-    /**
-     * 比较查体是否匹配
-     *
-     * @param nodeNeoDTO
-     * @param vitalLabel
-     * @return
-     */
-    public static Map<String, Object> compareVital(NodeNeoDTO nodeNeoDTO, VitalLabel vitalLabel) {
-        Map<String, Object> map = new LinkedHashMap<>();
-        List<Vital> vitalList = vitalLabel.getVitals(); // 体征数据
-        List<Clinical> clinicals = vitalLabel.getClinicals(); // 体征临床表现
-        boolean flag = false;
-        if (nodeNeoDTO == null) {
-            map.put("flag", flag);
-            return map;
-        }
-        if (nodeNeoDTO.getMax() == null && nodeNeoDTO.getMin() == null) {
-            // 体征名称比较(例如:喉头水肿)
-            for (Clinical clinical : clinicals) {
-                if (nodeNeoDTO.getName().contains(clinical.getStandName())) {
-                    map.put("msg", clinical.getName());
-                    flag = true;
-                    break;
-                }
-            }
-        } else {
-            // 体征数值比较(例如:体温,血压)
-            for (Vital vital : vitalList) {
-                List<Usual> usualList = vital.getUsualList();
-                if (nodeNeoDTO.getName().equals(vital.getStandName()) && vital.getPd() != null
-                        && StringUtil.isNotBlank(vital.getPd().getValue())) {
-                    flag = compareNum(nodeNeoDTO, Double.parseDouble(vital.getPd().getValue()));
-                    if (flag) {
-                        map.put("msg", vital.getName() + subZeroAndDot(String.valueOf(vital.getPd().getValue())));
-                        break;
-                    }
-                } else if (ListUtil.isNotEmpty(usualList)) {
-                    for (Usual usual : usualList) {
-                        if (nodeNeoDTO.getName().equals(usual.getStandName())) {
-                            flag = compareNum(nodeNeoDTO, Double.parseDouble(usual.getValue()));
-                            if (flag) {
-                                map.put("msg", vital.getName() + subZeroAndDot(String.valueOf(vital.getPd().getValue())));
-                                break;
-                            }
-                        }
-                    }
-                }
-            }
-        }
-
-        map.put("flag", flag);
-        return map;
-    }
-
     /**
      * 比较数值大小(double)
      *
@@ -542,88 +423,6 @@ public class CoreUtil {
         return flag;
     }
 
-    /**
-     * 比较数值大小(double)
-     *
-     * @param nodeNeoDTO
-     * @param value
-     * @return
-     */
-    public static boolean compareNum(NodeNeoDTO nodeNeoDTO, double value) {
-        boolean flag = false;
-        BigDecimal min = nodeNeoDTO.getMin();
-        BigDecimal max = nodeNeoDTO.getMax();
-
-        // 取区间
-        if (nodeNeoDTO.getValType() == 0) {
-            if (min != null && max != null) {
-                double minNeo = min.doubleValue();
-                double maxNeo = max.doubleValue();
-                if (minNeo <= value && value <= maxNeo) {
-                    flag = true;
-                }
-            } else if (min != null && max == null) {
-                double minNeo = min.doubleValue();
-                if (minNeo <= value) {
-                    flag = true;
-                }
-            } else if (min == null && max != null) {
-                double maxNeo = max.doubleValue();
-                if (value <= maxNeo) {
-                    flag = true;
-                }
-            }
-        } else {
-            // 取两头
-            if (min != null) {
-                double minNeo = min.doubleValue();
-                if (value <= minNeo) {
-                    flag = true;
-                }
-            }
-            // 取两头
-            if (max != null) {
-                double maxNeo = max.doubleValue();
-                if (value >= maxNeo) {
-                    flag = true;
-                }
-            }
-        }
-        return flag;
-    }
-
-    /**
-     * 获取提示信息(double)
-     *
-     * @param nodeNeoDTO
-     * @param value
-     * @return
-     */
-    public static String getNumMsg(NodeNeoDTO nodeNeoDTO, String name, double value, String unit) {
-        if (nodeNeoDTO == null) {
-            return "";
-        }
-        StringBuffer sb = new StringBuffer();
-        sb.append(name);
-        sb.append(subZeroAndDot(String.valueOf(value))); // 去掉小数点后的0
-        if (StringUtil.isBlank(unit)) {
-            sb.append(unit);
-        }
-        sb.append("(禁忌范围[");
-        if (nodeNeoDTO.getMin() != null) {
-            sb.append(nodeNeoDTO.getMin());
-        }
-        sb.append(",");
-        if (nodeNeoDTO.getMax() != null) {
-            sb.append(nodeNeoDTO.getMax());
-        }
-        // if (nodeNeoDTO.getUnit() != null) {
-        //     sb.append(nodeNeoDTO.getUnit());
-        // }
-        sb.append("])");
-        return sb.toString();
-    }
-
     public static String subZeroAndDot(String s){
         if(s.indexOf(".") > 0){
             s = s.replaceAll("0+?$", "");//去掉多余的0
@@ -655,22 +454,6 @@ public class CoreUtil {
         return sb.toString();
     }
 
-    /**
-     * 获取提示信息(String)
-     *
-     * @param nodeNeoDTO
-     * @param value
-     * @return
-     */
-    public static String getStrMsg(NodeNeoDTO nodeNeoDTO, String name, String value) {
-        if (nodeNeoDTO == null) {
-            return "";
-        }
-        StringBuffer sb = new StringBuffer();
-        sb.append(name).append(value);
-        return sb.toString();
-    }
-
     /**
      * list 转 string
      * @param list