Forráskód Böngészése

update 删除重复报警和提醒

A17404李放 3 éve
szülő
commit
6071f917e7

+ 1 - 1
nb-system/src/main/java/com/nb/bus/service/LocalBusPatientService.java

@@ -146,7 +146,6 @@ public class LocalBusPatientService extends BaseService<BusPatientMapper, BusPat
         PatientMonitorQuery patientMonitorQuery = new PatientMonitorQuery();
         patientMonitorQuery.setTenantId(tenantId);
         return CollUtil.size(this.baseMapper.selectMonitor(Page.of(0,500,false),patientMonitorQuery).getRecords());
-//        return this.baseMapper.monitorTotalCount(tenantId);
     }
 
     /**
@@ -158,6 +157,7 @@ public class LocalBusPatientService extends BaseService<BusPatientMapper, BusPat
         patientDeviceRepeats.forEach(deviceRepeat -> {
             PatientDeviceRepeatResult repeatResult = resultMap.computeIfAbsent(deviceRepeat.getCode() + deviceRepeat.getClinicId(), k ->
                     PatientDeviceRepeatResult.of(
+                            deviceRepeat.getPatientId(),
                             deviceRepeat.getName(),
                             deviceRepeat.getGender(),
                             deviceRepeat.getCode(),

+ 3 - 0
nb-system/src/main/java/com/nb/bus/service/dto/PatientDeviceRepeatResult.java

@@ -22,6 +22,9 @@ import java.util.*;
 @ApiModel("病人重复设备返回数据")
 @AllArgsConstructor(staticName = "of")
 public class PatientDeviceRepeatResult  implements Serializable {
+    @ApiModelProperty("病号id")
+    private String patientId;
+
     @ApiModelProperty("病患名称")
     private String name;