fix 意向加盟阶段完成对门店阶段的处理
This commit is contained in:
@@ -407,7 +407,11 @@ public class ShopStageInfoDAO {
|
|||||||
Example example = new Example(ShopStageInfoDO.class);
|
Example example = new Example(ShopStageInfoDO.class);
|
||||||
example.createCriteria().andEqualTo("lineId", lineId).andEqualTo("shopSubStage", ShopSubStageEnum.SHOP_STAGE_1.getShopSubStage())
|
example.createCriteria().andEqualTo("lineId", lineId).andEqualTo("shopSubStage", ShopSubStageEnum.SHOP_STAGE_1.getShopSubStage())
|
||||||
.andEqualTo("shopSubStageStatus", ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_00.getShopSubStageStatus());
|
.andEqualTo("shopSubStageStatus", ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_00.getShopSubStageStatus());
|
||||||
return shopStageInfoMapper.selectByExample(example);
|
List<ShopStageInfoDO> shopStageInfos = shopStageInfoMapper.selectByExample(example);
|
||||||
|
if (CollectionUtils.isEmpty(shopStageInfos)){
|
||||||
|
return new ArrayList<>();
|
||||||
|
}
|
||||||
|
return shopStageInfos;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user