fix
This commit is contained in:
@@ -13,6 +13,7 @@ import com.cool.store.service.LabelService;
|
||||
import com.cool.store.vo.LabelGroupVO;
|
||||
import com.cool.store.vo.LabelListVo;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.common.collect.Maps;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections4.CollectionUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
@@ -162,6 +163,9 @@ public class LabelServiceImpl implements LabelService {
|
||||
|
||||
@Override
|
||||
public Map<Long,String> getUserPortraitMap(List<String> userPortraitStrList){
|
||||
if(CollectionUtils.isEmpty(userPortraitStrList)){
|
||||
return Maps.newHashMap();
|
||||
}
|
||||
Set<Long> userPortraitIdList = new HashSet<>();
|
||||
for (String userPortrait:userPortraitStrList) {
|
||||
String[] parts = userPortrait.split(",");
|
||||
|
||||
@@ -126,7 +126,7 @@ public class PointController {
|
||||
return ResponseResult.success(pointService.getLinePage(request));
|
||||
}
|
||||
|
||||
@ApiOperation("获取我负责的加盟商列表")
|
||||
@ApiOperation("获取单个加盟商选址数据")
|
||||
@GetMapping("/getLineInfo")
|
||||
public ResponseResult<LinePointBaseInfoVO> getLineInfo(@RequestParam("lineId") Long lineId) {
|
||||
return ResponseResult.success(pointService.getLineInfo(lineId));
|
||||
|
||||
Reference in New Issue
Block a user