From 410e35612cd101e44d44ad63a9dbfc3d6e903656 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 05 三月 2019 16:44:52 +0800
Subject: [PATCH] 券激活日志

---
 fanli/src/main/java/com/yeshi/fanli/util/factory/HongBaoFactory.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/HongBaoFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/HongBaoFactory.java
index 2434fd1..b717f84 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/factory/HongBaoFactory.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/HongBaoFactory.java
@@ -92,7 +92,7 @@
 		hongBao.setId(hongBaoDTO.getId());
 		hongBao.setOrderId(hongBaoDTO.getOrderId());
 
-		if (hongBaoDTO.getSettlement() != null)
+		if (hongBaoDTO.getSettlement() != null&&hongBaoDTO.getSettlement().compareTo(new BigDecimal(0))>0)
 			hongBao.setPayMoney(hongBaoDTO.getSettlement());
 		else
 			hongBao.setPayMoney(hongBaoDTO.getPayMoney());

--
Gitblit v1.8.0