Explorar o código

小数点处理

zhoutg %!s(int64=4) %!d(string=hai) anos
pai
achega
c77dbd5297
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);