admin
2019-11-16 a6f34b99ee20e528b766c8ed5a61bd9c5aa0e7ae
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);
                  // 用户通知