Bläddra i källkod

小数点处理

zhoutg 4 år sedan
förälder
incheckning
c77dbd5297
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/main/java/com/diagbot/process/OtherTipProcess.java

+ 1 - 1
src/main/java/com/diagbot/process/OtherTipProcess.java

@@ -53,7 +53,7 @@ public class OtherTipProcess {
                         if (StringUtil.isNotBlank(otherTipNeoDTO.getOtherValue())) {
                             content += otherTipNeoDTO.getOtherValue();
                         } else {
-                            content += otherTipNeoDTO.getValue();
+                            content += CoreUtil.subZeroAndDot(otherTipNeoDTO.getValue().toString());
                         }
                         BillMsg billMsg = MsgUtil.getCommonOtherTipLisMsg(content, nodeNeoDTO.getName(), nodeNeoDTO.getTermtype());
                         res.getOtherList().add(billMsg);