|
@@ -16,6 +16,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
16
|
16
|
import org.springframework.beans.factory.annotation.Autowired;
|
17
|
17
|
import org.springframework.stereotype.Service;
|
18
|
18
|
|
|
19
|
+import java.math.BigDecimal;
|
19
|
20
|
import java.util.Map;
|
20
|
21
|
|
21
|
22
|
/**
|
|
@@ -59,7 +60,7 @@ public class TaRedPacketMoneyServiceImpl extends ServiceImpl<TaRedPacketMoneyMap
|
59
|
60
|
}
|
60
|
61
|
Map<String, Object> result = taOrgOrderMapper.getRedPacketSendInfo(CommConstant.RED_PACKET, activityId, orgId);
|
61
|
62
|
taRedPacketMoney.setSendNum((Long) result.get("sendNum"));
|
62
|
|
- taRedPacketMoney.setSendTotalAmount((Long) result.get("sendTotalAmount"));
|
|
63
|
+ taRedPacketMoney.setSendTotalAmount(((BigDecimal)result.get("sendTotalAmount")).longValue());
|
63
|
64
|
|
64
|
65
|
QueryWrapper<TaOrgAccount> orgAccountQueryWrapper = new QueryWrapper<>();
|
65
|
66
|
orgAccountQueryWrapper.eq("org_id", orgId);
|