fanli/src/main/java/com/yeshi/fanli/service/impl/order/HongBaoV2ServiceImpl.java
@@ -145,6 +145,7 @@ return hongBaoV2Mapper.selectByPrimaryKey(id); } @Transactional @Override public int addHongBao(List<CommonOrder> commonOrderList, int type) throws HongBaoException { @@ -449,6 +450,9 @@ } else if (hongBao.getState() == HongBaoV2.STATE_BUKELINGQU) { firstHongbao.setMoney( MoneyBigDecimalUtil.mul(hongBao.getMoney(), firstRate.divide(new BigDecimal(100)))); }else if(hongBao.getState() == HongBaoV2.STATE_SHIXIAO) { firstHongbao.setMoney(new BigDecimal(0)); } hongBaoV2Mapper.insertSelective(firstHongbao); // 用户通知