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); }