From 263393c484988b853a595b1499b91f7df78b7b7d Mon Sep 17 00:00:00 2001 From: pikaqiudeshujia Date: Fri, 22 Nov 2024 12:28:00 +0800 Subject: [PATCH] =?UTF-8?q?release-=20=E5=88=9B=E5=BB=BA=E9=97=A8=E5=BA=97?= =?UTF-8?q?=E6=97=B6=E5=88=9D=E5=A7=8B=E8=AE=BF=E9=97=AE=E6=AC=A1=E6=95=B0?= =?UTF-8?q?=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/luoo/user/service/StoreService.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/luoo_user/src/main/java/com/luoo/user/service/StoreService.java b/luoo_user/src/main/java/com/luoo/user/service/StoreService.java index ebaa594..cb783a0 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/StoreService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/StoreService.java @@ -6,7 +6,10 @@ import com.luoo.user.dao.StoreDao; import com.luoo.user.dto.store.StoreSearchDto; import com.luoo.user.dto.store.StoreUpdateDto; import com.luoo.user.mapper.StoreMapper; -import com.luoo.user.pojo.*; +import com.luoo.user.pojo.QStore; +import com.luoo.user.pojo.QUserInfo; +import com.luoo.user.pojo.Region; +import com.luoo.user.pojo.Store; import com.luoo.user.vo.store.StoreAppVO; import com.luoo.user.vo.store.StorePCVO; import com.querydsl.core.BooleanBuilder; @@ -27,7 +30,6 @@ import org.springframework.transaction.annotation.Transactional; import util.PropertyUtils; import java.util.List; -import java.util.UUID; /** * @program: luoo_parent @@ -68,6 +70,7 @@ public class StoreService { @Transactional(rollbackFor = Exception.class) public void add(Store store) { + store.setVisitCount(0); store.setStatus(StoreEnums.STORE_STATUS_COOPERATION.getCode()); storeDao.save(store); }