Commit 51e16f9415275583cd54a02b3a664c969bf849a7

Authored by Administrator
1 parent 17b7ff35c9

update

Showing 2 changed files with 6 additions and 6 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java View file @ 51e16f9
... ... @@ -430,11 +430,11 @@
430 430 public BaseResponse inputWxData(
431 431 @RequestParam(value = "fuh", required = false) String fuh,
432 432 @RequestParam(value = "abdominalGirth", required = false) String abdominalGirth,
433   - @RequestParam(value = "fhr") String fhr,
  433 + @RequestParam(value = "fhr", required = false) String fhr,
434 434 @RequestParam(value = "pid") String pid,
435 435 @RequestParam(value = "hospitalId") String hospitalId,
436   - @RequestParam(value = "nextTime") String nextTime,
437   - @RequestParam(value = "doctorId") String doctorId) {
  436 + @RequestParam(value = "nextTime", required = false) String nextTime,
  437 + @RequestParam(value = "doctorId", required = false) String doctorId) {
438 438 return antExRecordFacade.inputWxData(fuh, abdominalGirth, fhr, pid, hospitalId, nextTime, doctorId);
439 439 }
440 440  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/TrackDownFacade.java View file @ 51e16f9
... ... @@ -1155,7 +1155,7 @@
1155 1155 query.setHistory(true);
1156 1156 List<ResidentsArchiveModel> archiveModels = residentsArchiveService.queryResident(query);
1157 1157 if (CollectionUtils.isNotEmpty(archiveModels)) {
1158   - int batchSize = 5;
  1158 + int batchSize = 20;
1159 1159 int ends = 0;
1160 1160 List<Future> futures = new ArrayList<>();
1161 1161 for (int i = 0; i < archiveModels.size(); i += batchSize) {
... ... @@ -1184,7 +1184,7 @@
1184 1184 patients.setHistory(true);
1185 1185 List<Patients> patientsList = patientsService.queryPatient(patients);
1186 1186 if (CollectionUtils.isNotEmpty(patientsList)) {
1187   - int batchSize = 5;
  1187 + int batchSize = 20;
1188 1188 int ends = 0;
1189 1189 List<Future> futures = new ArrayList<>();
1190 1190 for (int i = 0; i < patientsList.size(); i += batchSize) {
... ... @@ -1213,7 +1213,7 @@
1213 1213 trackDownRecordQuery.setHistory(true);
1214 1214 List<TrackDownRecord> trackDownRecords = trackDownRecordService.queryTrackDown(trackDownRecordQuery);
1215 1215 if (CollectionUtils.isNotEmpty(trackDownRecords)) {
1216   - int batchSize = 5;
  1216 + int batchSize = 20;
1217 1217 int ends = 0;
1218 1218 List<Future> futures = new ArrayList<>();
1219 1219 for (int i = 0; i < trackDownRecords.size(); i += batchSize) {