Explorar el Código

fix:结算单

CAYK\miaosen.zhao hace 3 días
padre
commit
882218939f

+ 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;