浏览代码

修复7.21上线后,销售列表没录入问题

river 4 年之前
父节点
当前提交
6abf30957c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-student/src/main/java/com/ym/mec/student/controller/StudentOrderController.java

+ 1 - 1
mec-student/src/main/java/com/ym/mec/student/controller/StudentOrderController.java

@@ -884,7 +884,7 @@ public class StudentOrderController extends BaseController {
     public HttpResponseResult<List<SellOrder>> fixSellOrder(String orderNo) {
         StudentPaymentOrder order = studentPaymentOrderService.findOrderByOrderNo(orderNo);
         List<SellOrder> sellOrders = new ArrayList<>();
-        if (order == null || !order.getType().equals(OrderTypeEnum.APPLY)) {
+        if (order == null || !order.getStatus().equals(DealStatusEnum.SUCCESS) || !order.getType().equals(OrderTypeEnum.APPLY)) {
             return succeed(sellOrders);
         }