fix
This commit is contained in:
@@ -124,6 +124,14 @@ public interface PointService {
|
||||
*/
|
||||
PageInfo<LinePointBaseInfoVO> getLinePage(PointLinePageRequest request);
|
||||
|
||||
|
||||
/**
|
||||
* 获取单个加盟商信息
|
||||
* @param lineId
|
||||
* @return
|
||||
*/
|
||||
LinePointBaseInfoVO getLineInfo(Long lineId);
|
||||
|
||||
/**
|
||||
* 获取我的数据
|
||||
* @param userId
|
||||
|
||||
@@ -492,6 +492,22 @@ public class PointServiceImpl implements PointService {
|
||||
return resultPage;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取单个加盟商信息
|
||||
* @param lineId
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public LinePointBaseInfoVO getLineInfo(Long lineId){
|
||||
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(lineId);
|
||||
Map<Long, Integer> recommendShopNumMap = pointRecommendDAO.getPushShopNumMap(Arrays.asList(lineId));
|
||||
HyOpenAreaInfoDO cityArea = hyOpenAreaInfoDAO.selectById(lineInfo.getWantShopAreaId());
|
||||
Map<Long, Integer> selectedShopNumMap = shopInfoDAO.getSelectedShopNumMap(Arrays.asList(lineId));
|
||||
String userName = enterpriseUserDAO.getUserName(lineInfo.getInvestmentManager());
|
||||
Map<Long, String> userPortraitMap = labelService.getUserPortraitMap(Arrays.asList(lineInfo.getUserPortrait()));
|
||||
return LinePointBaseInfoVO.convert(lineInfo, userName, userPortraitMap, cityArea, recommendShopNumMap, selectedShopNumMap);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PointHomePageDataVO getMyPointData(String userId) {
|
||||
return pointInfoDAO.getMyPointData(userId);
|
||||
|
||||
Reference in New Issue
Block a user