|
|
@ -26,6 +26,7 @@ import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
|
import com.epmet.commons.tools.constant.FieldConstant; |
|
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
|
import com.epmet.constant.StatsConstant; |
|
|
|
import com.epmet.dao.stats.DimCustomerPartymemberDao; |
|
|
|
import com.epmet.dto.stats.DimCustomerPartymemberDTO; |
|
|
|
import com.epmet.dto.stats.form.CustomerIdAndDateIdFormDTO; |
|
|
@ -127,7 +128,7 @@ public class DimCustomerPartymemberServiceImpl extends BaseServiceImpl<DimCustom |
|
|
|
String dateId = customerIdAndDateIdFormDTO.getDateId(); |
|
|
|
List<DimCustomerPartyMemberFormDTO> partyMemberList = partyMemberService.selectPartyMemberInfo(customerId, dateId); |
|
|
|
if (CollectionUtils.isEmpty(partyMemberList)){ |
|
|
|
throw new RenException("hahah"); |
|
|
|
throw new RenException(StatsConstant.PARTY_INFO_LIST); |
|
|
|
} |
|
|
|
List<String> gridIds = partyMemberList.stream().map(party -> party.getGridId()).distinct().collect(Collectors.toList()); |
|
|
|
List<GridBelongAgencyResultDTO> agencyInfos = dimGridService.selectGridBelongAgencyInfo(gridIds); |
|
|
|