fix:POS开通资料收集中转资料审核中条件修改
This commit is contained in:
@@ -95,6 +95,7 @@ public interface PreparationService {
|
||||
/**
|
||||
* POS 建店昨天完成
|
||||
* 选址与建店资料完成(加盟合同完成)
|
||||
* v20251024 选址与建店资料完成与营业执照完成
|
||||
* @param shopId
|
||||
* @return
|
||||
*/
|
||||
|
||||
@@ -142,6 +142,7 @@ public class ApplyLicenseServiceImpl implements ApplyLicenseService {
|
||||
preparationService.licenseCompleted(request.getShopId());
|
||||
preparationService.updateShopStatus(request.getShopId());
|
||||
preparationService.buildStoreAndDecorationComplete(request.getShopId());
|
||||
preparationService.selectSiteAndBuildStoreComplete(request.getShopId());
|
||||
}
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
|
||||
@@ -361,10 +361,12 @@ public class PreparationServiceImpl implements PreparationService {
|
||||
equals(shopStageInfoDOMap.get(ShopSubStageEnum.SHOP_STAGE_1.getShopSubStage()).getShopSubStageStatus());
|
||||
Boolean flag3 = ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_156.getShopSubStageStatus().
|
||||
equals(shopStageInfoDOMap.get(ShopSubStageEnum.SHOP_STAGE_15.getShopSubStage()).getShopSubStageStatus());
|
||||
Boolean flag4 = ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_33.getShopSubStageStatus().
|
||||
equals(shopStageInfoDOMap.get(ShopSubStageEnum.SHOP_STAGE_3.getShopSubStage()).getShopSubStageStatus());
|
||||
|
||||
log.info("selectSiteAndBuildStoreComplete flag2->{} flag3->{}",flag2,flag3);
|
||||
log.info("selectSiteAndBuildStoreComplete flag2->{} flag3->{} flag4->{}",flag2,flag3, flag4);
|
||||
//都完成了 状态修改
|
||||
if (flag2 && flag3) {
|
||||
if (flag2 && flag3 && flag4) {
|
||||
shopAccountDAO.updateStatusByShopIdAndSystemName(shopId, Arrays.asList(ShopAccountEnum.HUOMA.getSystemName()), OpenStatusEnum.OPENSTATUSENUM_2.getCode(),null,null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user