Commit f2f8c62f834f011834cbcb9761ed37a2d71b7381
1 parent
75c8a97539
Exists in
master
and in
6 other branches
产检节点统计
Showing 2 changed files with 11 additions and 11 deletions
platform-dal/src/main/java/com/lyms/platform/beans/SerialIdEnum.java
View file @
f2f8c62
... | ... | @@ -6,6 +6,7 @@ |
6 | 6 | public enum SerialIdEnum { |
7 | 7 | AntenatalExaminationModel("AntenatalExaminationModel", 97531000010L), |
8 | 8 | AntExChuModel("AntExChuModel", 97531000020L), |
9 | + OperateLogModel("OperateLogModel", 97531000121L), | |
9 | 10 | AntExRecordModel("AntExRecordModel", 97531000030L), |
10 | 11 | ArchiveData("ArchiveData", 97531000040L), |
11 | 12 | AssayConfig("AssayConfig", 97531000050L), |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
f2f8c62
... | ... | @@ -354,8 +354,8 @@ |
354 | 354 | */ |
355 | 355 | @RequestMapping(value = "/updateCheckRecord", method = RequestMethod.GET) |
356 | 356 | @ResponseBody |
357 | - public String updateCheckRecord(@RequestParam(required = false) String hospitalId | |
358 | - ) { | |
357 | + public String updateCheckRecord(@RequestParam(required = false) String hospitalId) | |
358 | + { | |
359 | 359 | |
360 | 360 | OrganizationQuery organizationQuery = new OrganizationQuery(); |
361 | 361 | organizationQuery.setYn(YnEnums.YES.getId()); |
362 | 362 | |
363 | 363 | |
364 | 364 | |
... | ... | @@ -422,21 +422,20 @@ |
422 | 422 | antExRecordQuery.setcDueWeekStart(37); |
423 | 423 | antExRecordQuery.setcDueWeekEnd((40 + 1) * 7 - 1); |
424 | 424 | } |
425 | + | |
426 | + List<AntExRecordModel> list = recordService.queryAntExRecords(antExRecordQuery); | |
427 | + if (CollectionUtils.isNotEmpty(list)) | |
428 | + { | |
429 | + AntExRecordModel m = list.get(list.size() - 1); | |
430 | + m.setIsFirst(1); | |
431 | + recordService.updateOne(m,m.getId()); | |
432 | + } | |
425 | 433 | } |
426 | - List<AntExRecordModel> list = recordService.queryAntExRecords(antExRecordQuery); | |
427 | - if (CollectionUtils.isNotEmpty(list)) | |
428 | - { | |
429 | - AntExRecordModel m = list.get(list.size() - 1); | |
430 | - m.setIsFirst(1); | |
431 | - recordService.updateOne(m,m.getId()); | |
432 | - } | |
433 | 434 | } |
434 | - | |
435 | 435 | } |
436 | 436 | } |
437 | 437 | } |
438 | 438 | }).start(); |
439 | - | |
440 | 439 | } |
441 | 440 | } |
442 | 441 | } |