Showing
1 changed file
with
3 additions
and
12 deletions
@@ -162,20 +162,11 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | @@ -162,20 +162,11 @@ public class BuyerOrderPaymentService extends AbstractOrderPaymentService { | ||
162 | //记录状态信息 | 162 | //记录状态信息 |
163 | logger.info("in updateOrderStatusPaid record status change, orderCode {}, status: {}", | 163 | logger.info("in updateOrderStatusPaid record status change, orderCode {}, status: {}", |
164 | orderCode, orderStatusCode); | 164 | orderCode, orderStatusCode); |
165 | - | ||
166 | - //鉴定通过异步事件 | ||
167 | - switch (targetOrderStatus) { | ||
168 | - case DONE: | ||
169 | - case JUDGE_PASS: | ||
170 | - orderChangeListenerContainer.fireAsyncEvent(new BuyerOrderChangeEvent(buyerOrder, BuyerOrderChangeEvent.BizCase.APPRAISE_SUCCESS, targetOrderStatus)); | ||
171 | - break; | ||
172 | - default: | ||
173 | - break; | ||
174 | - } | ||
175 | - | ||
176 | orderStatusFlowService.addAsy(orderCode, orderStatusCode); | 165 | orderStatusFlowService.addAsy(orderCode, orderStatusCode); |
177 | //打货款, 物权转移 | 166 | //打货款, 物权转移 |
178 | - if (isDirectPass){ | 167 | + if (isDirectPass) { |
168 | + //鉴定通过异步事件 | ||
169 | + orderChangeListenerContainer.fireAsyncEvent(new BuyerOrderChangeEvent(buyerOrder, BuyerOrderChangeEvent.BizCase.APPRAISE_SUCCESS, targetOrderStatus)); | ||
179 | boolean isDepositRequired = isDepositWithQuickDeliverGoods; | 170 | boolean isDepositRequired = isDepositWithQuickDeliverGoods; |
180 | appraiseService.processQuickDeliverOrderAfterPaid(orderCode, uid, isDepositRequired); | 171 | appraiseService.processQuickDeliverOrderAfterPaid(orderCode, uid, isDepositRequired); |
181 | } | 172 | } |
-
Please register or login to post a comment