v1.0.24
CI / build-deploy (pull_request) Successful in 24s
CI / notify-on-failure (pull_request) Skipped

This commit is contained in:
Timi
2026-08-22 17:55:54 +08:00
parent e2e0023d13
commit 8de739cbb7
2 changed files with 4 additions and 3 deletions
@@ -25,6 +25,7 @@ import com.imyeyu.spring.mapper.BaseMapper;
import com.imyeyu.spring.service.AbstractEntityService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.ObjectProvider;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -54,7 +55,7 @@ public class GaoStoreServiceImplement extends AbstractEntityService<GaoStore, St
private final GaoPointAccountService pointAccountService;
private final GaoPointRuleService pointRuleService;
private final GaoStoreBusinessDayService businessDayService;
private final GaoUserService gaoUserService;
private final ObjectProvider<GaoUserService> gaoUserServiceProvider;
private final TagService tagService;
private final GaoStoreMapper mapper;
@@ -190,7 +191,7 @@ public class GaoStoreServiceImplement extends AbstractEntityService<GaoStore, St
///
/// @param storeId 门店 ID
private void deleteGaoUsers(String storeId) {
gaoUserService.deleteByStoreId(storeId);
gaoUserServiceProvider.getObject().deleteByStoreId(storeId);
}
/// 清理门店下未被客户删除逻辑覆盖的积分账户