Forráskód Böngészése

子账号解除条件

liangpeile 1 éve
szülő
commit
f272f7a64d

+ 1 - 1
crmeb-admin/src/main/java/com/zbkj/admin/controller/platform/NewPlatformApi.java

@@ -279,7 +279,7 @@ public class NewPlatformApi {
             queryWrapper.in(Order::getStatus, 0, 1, 3, 4);
             queryWrapper.in(Order::getRefundStatus, 0, 1, 2);
             queryWrapper.eq(Order::getIsDel, false);
-            queryWrapper.eq(Order::getIsEnterpriseUser, 2);
+            queryWrapper.in(Order::getIsEnterpriseUser, 2,3);
             queryWrapper.eq(Order::getUid, byId.getUserId());
             List<Order> orderList = orderService.list(queryWrapper);
             if (null != orderList && orderList.size() > 0) {