admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/service/impl/order/OrderRepairServiceImpl.java
@@ -352,7 +352,7 @@
   }
   private CommonOrderGoods getCommonOrderGoods(Long auctionId) {
   private CommonOrderGoods getCommonOrderGoods(String auctionId) {
      List<CommonOrderGoods> commonGoodsList = commonOrderGoodsMapper.listByGoodsIdAndGoodsType(auctionId + "",
            Constant.SOURCE_TYPE_TAOBAO);
      CommonOrderGoods cog = null;
@@ -600,7 +600,7 @@
   }
   @Transactional(rollbackFor = Exception.class)
   public void addOrder(CommonOrder commonOrder, int type, Long firstUid, Long secondUid) throws Exception {
   public void addOrder(CommonOrder commonOrder, int type, Long firstUid, Long secondUid) throws HongBaoException {
      // 增加commonOrder
      commonOrder.setCreateTime(commonOrder.getThirdCreateTime());
      // 不存在就插入,存在就不管
@@ -657,7 +657,7 @@
                  try {
                     if (userSystemCouponService.updateCouponRecordUsed(commonOrder.getUserInfo().getId(),
                           commonOrder.getOrderNo(), payMent, Long.parseLong(goods.getGoodsId()),commonOrder.getSourceType()))
                           commonOrder.getOrderNo(), payMent, goods.getGoodsId(),commonOrder.getSourceType()))
                        mianDanMoney = payMent;
                  } catch (NumberFormatException e) {
                     throw new HongBaoException(10, "免单商品处理出错");
@@ -699,7 +699,7 @@
            hongBao.setState(HongBaoV2.STATE_SHIXIAO);
            hongBao.setMoney(new BigDecimal(0));
         } else {
            throw new HongBaoException(3, "维权订单不能创建红包");
            throw new HongBaoException(HongBaoException.CODE_ORDER_WEIQUAN, "维权订单不能创建红包");
         }
         if (mianDanMoney != null)
@@ -896,7 +896,7 @@
         }
      } else
         throw new HongBaoException(2, "type错误");
         throw new HongBaoException(HongBaoException.CODE_TYPE_ERROR, "type错误");
      // 添加