|
|
@@ -7,17 +7,15 @@ import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
import shop.alien.entity.second.vo.StoreImgDTO;
|
|
|
-import shop.alien.entity.store.*;
|
|
|
-import shop.alien.entity.store.vo.StoreImgVo;
|
|
|
-import shop.alien.entity.storePlatform.vo.StoreLicenseHistoryDto;
|
|
|
-import shop.alien.entity.storePlatform.vo.StoreLicenseHistoryVO;
|
|
|
+import shop.alien.entity.store.StoreImg;
|
|
|
+import shop.alien.entity.store.StoreInfo;
|
|
|
import shop.alien.entity.storePlatform.StoreLicenseHistory;
|
|
|
+import shop.alien.entity.storePlatform.vo.StoreLicenseHistoryDto;
|
|
|
import shop.alien.mapper.StoreImgMapper;
|
|
|
import shop.alien.mapper.StoreInfoMapper;
|
|
|
import shop.alien.mapper.storePlantform.StoreLicenseHistoryMapper;
|
|
|
import shop.alien.storeplatform.service.LicenseService;
|
|
|
|
|
|
-import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.*;
|
|
|
|
|
|
@@ -464,14 +462,14 @@ public class LicenseServiceImpl implements LicenseService {
|
|
|
StoreLicenseHistory licenseHistory = new StoreLicenseHistory();
|
|
|
licenseHistory.setStoreId(storeImg.getStoreId());
|
|
|
licenseHistory.setLicenseStatus(3);
|
|
|
- licenseHistory.setLicenseExecuteStatus(2);
|
|
|
+ licenseHistory.setLicenseExecuteStatus(1);
|
|
|
licenseHistory.setImgUrl(storeImg.getImgUrl());
|
|
|
licenseHistory.setDeleteFlag(0);
|
|
|
licenseHistoryMapper.insert(licenseHistory);
|
|
|
|
|
|
//更新店铺
|
|
|
StoreInfo storeInfo = new StoreInfo();
|
|
|
- storeInfo.setEntertainmentLicenceStatus(2);
|
|
|
+ storeInfo.setEntertainmentLicenceStatus(1);
|
|
|
storeInfo.setId(storeImg.getStoreId());
|
|
|
storeInfo.setUpdateEntertainmentLicenceTime(new Date());
|
|
|
return storeInfoMapper.updateById(storeInfo);
|