| Line 122... |
Line 122... |
| 122 |
if (escalationType == EscalationType.L3) {
|
122 |
if (escalationType == EscalationType.L3) {
|
| 123 |
positions = positionRepository.selectPositionbyCategoryIdAndEscalationType(0, escalationType, 0);
|
123 |
positions = positionRepository.selectPositionbyCategoryIdAndEscalationType(0, escalationType, 0);
|
| 124 |
} else {
|
124 |
} else {
|
| 125 |
List<PartnerRegion> regions = partnerRegionRepository.selectByfofoId(fofoId);
|
125 |
List<PartnerRegion> regions = partnerRegionRepository.selectByfofoId(fofoId);
|
| 126 |
LOGGER.info("regions=" + regions);
|
126 |
LOGGER.info("regions=" + regions);
|
| - |
|
127 |
if(regions.size()==0)
|
| - |
|
128 |
{
|
| - |
|
129 |
regions=partnerRegionRepository.selectByfofoId(0);
|
| - |
|
130 |
LOGGER.info("regions=" + regions);
|
| - |
|
131 |
}
|
| 127 |
for (PartnerRegion region : regions) {
|
132 |
for (PartnerRegion region : regions) {
|
| 128 |
positions = positionRepository.selectPositionbyCategoryIdAndEscalationType(categoryId, escalationType,
|
133 |
positions = positionRepository.selectPositionbyCategoryIdAndEscalationType(categoryId, escalationType,
|
| 129 |
region.getRegionId());
|
134 |
region.getRegionId());
|
| 130 |
LOGGER.info("positions:-" + positions);
|
135 |
LOGGER.info("positions:-" + positions);
|
| 131 |
if (positions != null) {
|
136 |
if (positions != null) {
|