Browse Source

三方商城导入

dev
汤建军 2 months ago
parent
commit
e5c04fbc3b
  1. 2
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTripartiteMallServiceImpl.java

2
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTripartiteMallServiceImpl.java

@ -276,7 +276,7 @@ public class BasicdataTripartiteMallServiceImpl extends BaseServiceImpl<Basicdat
List<BasicdataClientEntity> basicdataClientEntityList = basicdataClientService.list(Wrappers.<BasicdataClientEntity>query().lambda() List<BasicdataClientEntity> basicdataClientEntityList = basicdataClientService.list(Wrappers.<BasicdataClientEntity>query().lambda()
.in(BasicdataClientEntity::getClientName, clientNames) .in(BasicdataClientEntity::getClientName, clientNames)
); );
if (basicdataClientEntityList.isEmpty()) { if (!basicdataClientEntityList.isEmpty()) {
throw new ServiceException(clientNames+"查询客户信息错误"); throw new ServiceException(clientNames+"查询客户信息错误");
} }
Map<String, List<BasicdataClientEntity>> listMap = basicdataClientEntityList.stream().collect(Collectors.groupingBy(BasicdataClientEntity::getClientName)); Map<String, List<BasicdataClientEntity>> listMap = basicdataClientEntityList.stream().collect(Collectors.groupingBy(BasicdataClientEntity::getClientName));

Loading…
Cancel
Save