소스 검색

fix:结算单

CAYK\miaosen.zhao 3 일 전
부모
커밋
882218939f
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/main/java/com/inkasso/factoring/settlement/service/Impl/SettlementManagementServiceImpl.java

+ 1 - 3
src/main/java/com/inkasso/factoring/settlement/service/Impl/SettlementManagementServiceImpl.java

@@ -69,7 +69,6 @@ import com.inkasso.factoring.tradingPlatform.entity.Platform;
 import com.inkasso.factoring.tradingPlatform.service.ITradingPlatformService;
 import jodd.util.StringUtil;
 import org.apache.commons.codec.binary.Base64;
-import org.apache.commons.math3.dfp.DfpField;
 import org.apache.poi.xwpf.usermodel.XWPFTable;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
@@ -81,7 +80,6 @@ import org.springframework.web.client.RestTemplate;
 import org.springframework.web.multipart.MultipartFile;
 
 import javax.servlet.ServletOutputStream;
-import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import java.io.*;
 import java.math.BigDecimal;
@@ -924,7 +922,7 @@ public class SettlementManagementServiceImpl extends ServiceImpl<SettlementBasic
                     num = num.add(settlementGoodsInfo.getGoodsQuantity());
                 }
                 dataMap.put("num", num);
-                dataMap.put("amountSum", amountSum.setScale(2, RoundingMode.ROUND_HALF_UP));
+                dataMap.put("amountSum", amountSum.setScale(2, RoundingMode.HALF_UP));
             }
             dataMap.put("dealGoodsList", dealGoodsList);
             File docxFile = null;