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