YPZ 2 týždňov pred
rodič
commit
54ca818b80

+ 1 - 1
java/storlead-sasa/storlead-trade/src/main/java/com/storlead/trade/task/CustomerSyncTask.java

@@ -89,7 +89,7 @@ public class CustomerSyncTask {
         List<Long> newCustomerIdList = customerTradeService.list(new LambdaQueryWrapper<CustomerEntity>()
                 .select(CustomerEntity::getId)
                 .eq(CustomerEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
-                .ne(CustomerEntity::getId, customerIdList))
+                .notIn(CustomerEntity::getId, customerIdList))
                 .stream()
                 .map(CustomerEntity::getId)
                 .collect(Collectors.toList());