소스 검색

小数点处理

zhoutg 4 년 전
부모
커밋
c77dbd5297
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);