|
@@ -232,7 +232,7 @@ public class WebsiteUserOrderService extends CrudService<WebsiteUserOrderDao, We
|
|
if (websiteUserOrder == null) {
|
|
if (websiteUserOrder == null) {
|
|
logger.error("payAsyncNotify error {}订单不存在未支付", out_trade_no);
|
|
logger.error("payAsyncNotify error {}订单不存在未支付", out_trade_no);
|
|
} else {
|
|
} else {
|
|
- if (!total_amount.equals(websiteUserOrder.getPayPrice().toString())) {
|
|
|
|
|
|
+ if (new BigDecimal(total_amount).compareTo(websiteUserOrder.getPayPrice()) != 0) {
|
|
logger.error("payAsyncNotify amount不相等 {} {}", total_amount, websiteUserOrder.getPayPrice().toString());
|
|
logger.error("payAsyncNotify amount不相等 {} {}", total_amount, websiteUserOrder.getPayPrice().toString());
|
|
return "failure";
|
|
return "failure";
|
|
}
|
|
}
|