|
|
|
@ -335,6 +335,10 @@ public class OrderApplicationService extends BaseApplicationService { |
|
|
|
if (MarriageBountyOrderVersion.V1.equals(marriageBountyOrder.getVersion())) { |
|
|
|
throw new BizException("该悬赏榜单暂不支持修改"); |
|
|
|
} |
|
|
|
//只有发榜人才能修改 |
|
|
|
if (!marriageBountyOrder.getUserId().equals(order.getUserId())) { |
|
|
|
throw new BizException("该悬赏榜单只有发榜人才能修改"); |
|
|
|
} |
|
|
|
List<MarriageBountyOrderReward> orderRewardList = marriageBountyOrder.getOrderRewardList(); |
|
|
|
List<OrderItem> orderItemList = new ArrayList<>(); |
|
|
|
for (Product product : productList) { |
|
|
|
|