Bladeren bron

Merge branch 'dev' of http://192.168.1.220:10080/jiwei/wlyy2.0 into dev

huangzhiyong 6 jaren geleden
bovenliggende
commit
a27857f035

+ 1 - 2
svr/svr-healthy-house/src/main/java/com/yihu/jw/healthyhouse/controller/user/FacilityUsedRecordController.java

@ -201,8 +201,7 @@ public class FacilityUsedRecordController extends EnvelopRestEndpoint {
            //根据设施编码获取关联服务的名称
            //根据设施编码获取关联服务的名称
            String facilityCode = record.getFacilitieCode();
            String facilityCode = record.getFacilitieCode();
            List<FacilityServerRelation> facilityServerRelations = facilityServerRelationService.findByField("facilitieCode", facilityCode);
            List<FacilityServerRelation> facilityServerRelations = facilityServerRelationService.findByField("facilitieCode", facilityCode);
            List<String> services = facilityServerRelations.stream().map(FacilityServerRelation::getServiceName).collect(Collectors.toList());
            String servicesValue = Joiner.on("、").join(services);
            String servicesValue = facilityServerRelations.stream().map(FacilityServerRelation::getServiceName).collect(Collectors.joining("、"));
            record.setFacilityRelationServiceName(servicesValue);
            record.setFacilityRelationServiceName(servicesValue);
            //根据记录获取评价记录
            //根据记录获取评价记录
            NavigationServiceEvaluation comment = navigationServiceEvaluationService.findByUseRecordId(record.getId());
            NavigationServiceEvaluation comment = navigationServiceEvaluationService.findByUseRecordId(record.getId());