From be701d8cf6461b6393203ed64a9e89e37260bd54 Mon Sep 17 00:00:00 2001 From: MSuMshk <2039814060@qq.com> Date: Wed, 18 Feb 2026 08:44:14 +0800 Subject: [PATCH] fix(store): default new store business status to resting --- .../App/Stores/Handlers/CreateStoreCommandHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/TakeoutSaaS.Application/App/Stores/Handlers/CreateStoreCommandHandler.cs b/src/Application/TakeoutSaaS.Application/App/Stores/Handlers/CreateStoreCommandHandler.cs index 6052feb..8afeb33 100644 --- a/src/Application/TakeoutSaaS.Application/App/Stores/Handlers/CreateStoreCommandHandler.cs +++ b/src/Application/TakeoutSaaS.Application/App/Stores/Handlers/CreateStoreCommandHandler.cs @@ -55,7 +55,7 @@ public sealed class CreateStoreCommandHandler( SignboardImageUrl = request.CoverImage?.Trim(), OwnershipType = StoreOwnershipType.SameEntity, AuditStatus = StoreAuditStatus.Draft, - BusinessStatus = request.BusinessStatus ?? StoreBusinessStatus.Open, + BusinessStatus = StoreBusinessStatus.Resting, Status = StoreStatus.Operating }; StoreListMapping.ApplyServiceTypes(store, serviceTypes);