|
@@ -16,6 +16,7 @@
|
|
|
*/
|
|
|
package org.springblade.modules.api.controller;
|
|
|
|
|
|
+import cn.hutool.core.util.NumberUtil;
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.alipay.api.AlipayApiException;
|
|
@@ -210,7 +211,7 @@ public class Api05Controller extends BladeController {
|
|
|
if(num > 0){
|
|
|
consignListVO.setConsignConfigId(entry.getKey());
|
|
|
consignListVO.setOrderNum(num);
|
|
|
- consignListVO.setOrderPrice(new BigDecimal(entry.getValue().get(0).getConsignPrice()).setScale(2, BigDecimal.ROUND_HALF_DOWN));
|
|
|
+ consignListVO.setOrderPrice(new BigDecimal(entry.getValue().get(0).getConsignPrice()).setScale(2, BigDecimal.ROUND_DOWN));
|
|
|
consignListVOS.add(consignListVO);
|
|
|
}
|
|
|
}
|