|
@@ -12,8 +12,10 @@ import thyyxxk.webserver.entity.ResultVo;
|
|
|
import thyyxxk.webserver.entity.examinations.covidexam.CovidExamResult;
|
|
|
import thyyxxk.webserver.entity.examinations.covidexam.QueryCovidExamParam;
|
|
|
import thyyxxk.webserver.utils.ResultVoUtil;
|
|
|
+import thyyxxk.webserver.utils.StringUtil;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
@@ -33,6 +35,13 @@ public class CovidExamService {
|
|
|
log.info("查询新冠检测结果:{}", JSON.toJSONString(param));
|
|
|
Map<String, Object> map = new HashMap<>(Capacity.TWO);
|
|
|
IPage<CovidExamResult> iPage = getCovidExamResultPage(param);
|
|
|
+ // TODO: 2022/4/8 查到混检的每个人
|
|
|
+// List<CovidExamResult> list = iPage.getRecords();
|
|
|
+// list.forEach(itm -> {
|
|
|
+// if (StringUtil.notBlank(itm.getPtntNo()) && itm.getPtntNo().endsWith("-J")) {
|
|
|
+//
|
|
|
+// }
|
|
|
+// });
|
|
|
map.put("totalSize", iPage.getTotal());
|
|
|
map.put("list", iPage.getRecords());
|
|
|
return ResultVoUtil.success(map);
|