|
@@ -17,6 +17,7 @@ import com.ym.mec.biz.dal.page.MusicGroupPaymentCalenderQueryInfo;
|
|
|
import com.ym.mec.biz.event.source.GroupEventSource;
|
|
|
import com.ym.mec.biz.event.source.SendSeoMessageSource;
|
|
|
import com.ym.mec.biz.service.*;
|
|
|
+import com.ym.mec.common.api.CommonResult;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
|
import com.ym.mec.common.dto.OrderCreate;
|
|
@@ -1096,9 +1097,9 @@ public class MusicGroupPaymentCalenderServiceImpl extends BaseServiceImpl<Long,
|
|
|
}
|
|
|
}
|
|
|
orderCreate.setOrderItemList(orderItems);
|
|
|
- boolean b = mallFeignService.productOrderCreate(orderCreate);
|
|
|
- if (!b) {
|
|
|
- throw new BizException("同步商城订单失败");
|
|
|
+ CommonResult<Boolean> result = mallFeignService.productOrderCreate(orderCreate);
|
|
|
+ if (result.getCode() != 200) {
|
|
|
+ throw new BizException("同步商城订单失败",result.getMessage());
|
|
|
}
|
|
|
}
|
|
|
for (MusicGroupPaymentCalender musicGroupPaymentCalender : musicGroupPaymentCalenders) {
|