diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java index 0a329cb..82f52ce 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java @@ -733,4 +733,21 @@ public class MatDeliverController extends BaseController { return matDeliverFacade.getLhWyFmManage(startTime,endTime, loginState.getId()); } + /** + * 科研导出 + * + * @param httpServletRequest + * @param childbirthManagerRequest + * @param httpServletResponse + */ + @TokenRequired + @RequestMapping(value = "childbirthManagerExcel2", method = RequestMethod.POST) + public void childbirthManagerExcel2(HttpServletRequest httpServletRequest, @RequestBody ChildbirthManagerRequest childbirthManagerRequest, HttpServletResponse httpServletResponse) { + try { + childbirthManagerRequest.setOperatorId(((LoginContext) httpServletRequest.getAttribute("loginContext")).getId()); + matDeliverFacade.childbirthManagerExcel2(childbirthManagerRequest, httpServletResponse); + } catch (Exception e) { + ExceptionUtils.catchException(e, "childbirthManagerExcel2异常"); + } + } } \ No newline at end of file diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java index e823da2..745e4b1 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java @@ -6,6 +6,7 @@ import com.lyms.hospitalapi.lcdcf.LcdcfHisService; import com.lyms.hospitalapi.pojo.WhfyHisModel; import com.lyms.hospitalapi.whfy.WhfyHisService; import com.lyms.platform.biz.service.*; +import com.lyms.platform.common.base.LoginContext; import com.lyms.platform.common.base.PageInfo; import com.lyms.platform.common.constants.ErrorCodeConstants; import com.lyms.platform.common.enums.*; @@ -3858,4 +3859,108 @@ public class MatDeliverFacade { objectResponse.setData(list); return objectResponse; } + + public void childbirthManagerExcel2(ChildbirthManagerRequest childbirthManagerRequest, HttpServletResponse httpServletResponse)throws Exception { + try { + Map query = childbirthManagerRequest.getInitQueryMapqhdky(); + String queryStr = ""; + for (String key : query.keySet()) { + queryStr += key + ","; + } + childbirthManagerRequest.setInitQuery(queryStr.substring(0, queryStr.length() - 1)); + childbirthManagerRequest.setExcel(true); + childbirthManagerRequest.setLimit(10000);//导出数量 + @SuppressWarnings("unchecked") + List> initQueryMapqhdkyList = childbirthManager2(childbirthManagerRequest).getData(); + Map header = childbirthManagerRequest.getInitQueryMapqhdky(); + + httpServletResponse.setContentType("application/force-download"); + httpServletResponse.setHeader("Content-Disposition", "attachment;filename=" + new String(("科研导出.xls").getBytes("UTF-8"), "ISO-8859-1")); + ExcelUtil.toExcel(httpServletResponse.getOutputStream(), initQueryMapqhdkyList, header); + } catch (Exception e) { + ExceptionUtils.catchException(e, "childbirthManagerExcel异常"); + } + } + + public ChildbirthManagerResult childbirthManager2(ChildbirthManagerRequest childbirthManagerRequest) { + ChildbirthManagerResult childbirthManagerResult = new ChildbirthManagerResult(); + PatientsQuery patientsQuery = new PatientsQuery(); + if (StringUtils.isNotEmpty(childbirthManagerRequest.getBirthDate())) { + try { + patientsQuery.setFmDateStart(DateUtil.getSNDate(childbirthManagerRequest.getBirthDate())[0]); + patientsQuery.setFmDateEnd(DateUtil.getSNDate(childbirthManagerRequest.getBirthDate())[1]); + } catch (Exception e) { + // 什么都不做,这里是数据传入错误了 + } + } + String hid = autoMatchFacade.getHospitalId(childbirthManagerRequest.getOperatorId()); + patientsQuery.setYn(YnEnums.YES.getId()); + patientsQuery.setIsAutoFm(YnEnums.NO.getId()); + patientsQuery.setType(3); + // 构造医院id集合 + List hospitalList = new ArrayList <>(); + hospitalList.add(hid); + patientsQuery.setQueryNo(StringUtils.isEmpty(childbirthManagerRequest.getQueryNo()) ? null : childbirthManagerRequest.getQueryNo()); + patientsQuery.setFmHospitalList(hospitalList); + patientsQuery.setDesc("fmDate"); + patientsQuery.setSort("fmDate"); + List patientsList = patientsService.queryPatient(patientsQuery); + List parentIdList = new ArrayList <>(); + if (CollectionUtils.isEmpty(patientsList)) { + // 没有查到,直接抛出 + childbirthManagerResult.setErrorcode(ErrorCodeConstants.SUCCESS); + childbirthManagerResult.setErrormsg(ErrorCodeConstants.SUCCESS_DESCRIPTION); + return childbirthManagerResult; + } + for (Patients patients : patientsList) { + parentIdList.add(patients.getId()); + } + + MatDeliverQuery matDeliverQuery = new MatDeliverQuery(); + matDeliverQuery.setLimit(childbirthManagerRequest.getLimit()); + matDeliverQuery.setParentIdList(parentIdList); + matDeliverQuery.setYn(YnEnums.YES.getId()); + matDeliverQuery.setHloseBloodType(childbirthManagerRequest.getHloseBloodType()); + String deliveryModeQueryJson = "fmfs\\\":\\\"" + childbirthManagerRequest.getDeliveryMode(); + matDeliverQuery.setDeliveryModeQueryJson(StringUtils.isEmpty(childbirthManagerRequest.getDeliveryMode()) ? null : deliveryModeQueryJson); + List maternalDeliverModelList = matDeliverService.pageQuery(matDeliverQuery); + Map patientsMap = new HashedMap(); + + for (Patients patients : patientsList) { + patientsMap.put(patients.getId(), patients); + } + + List date = new LinkedList<>(); + int batchSize = 3; + int end = 0; + List futures = new ArrayList <>(); + for (int i = 0; i < maternalDeliverModelList.size(); i += batchSize) { + end = (end + batchSize); + if (end > maternalDeliverModelList.size()) { + end = maternalDeliverModelList.size(); + } + List mlist = maternalDeliverModelList.subList(i, end); + Callable c = new MaterDeliverWorker2(recordService, babyService,antExService, + mlist, patientsMap,mongoTemplate); + Future f = commonThreadPool.submit(c); + if (f != null) { + futures.add(f); + } + } + + if (CollectionUtils.isNotEmpty(futures)) { + for (Future f : futures) { + try { + date.addAll((List ) f.get()); + } catch (Exception e) { + ExceptionUtils.catchException(e, "fm list error."); + } + } + } + + childbirthManagerResult.setData(date); + childbirthManagerResult.setErrorcode(ErrorCodeConstants.SUCCESS); + childbirthManagerResult.setErrormsg(ErrorCodeConstants.SUCCESS_DESCRIPTION); + return childbirthManagerResult; + } } diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/MaterDeliverWorker2.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/MaterDeliverWorker2.java new file mode 100644 index 0000000..949f590 --- /dev/null +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/MaterDeliverWorker2.java @@ -0,0 +1,326 @@ +package com.lyms.platform.operate.web.worker; + +import com.alibaba.druid.sql.visitor.functions.Substring; +import com.alibaba.fastjson.JSON; +import com.lyms.platform.biz.service.*; +import com.lyms.platform.common.enums.*; +import com.lyms.platform.common.utils.*; +import com.lyms.platform.operate.web.request.MatDeliverAddRequest; +import com.lyms.platform.operate.web.result.ChildbirthManagerQueryModel; +import com.lyms.platform.operate.web.utils.CommonsHelper; +import com.lyms.platform.operate.web.utils.UnitConstants; +import com.lyms.platform.permission.service.OrganizationService; +import com.lyms.platform.permission.service.UsersService; +import com.lyms.platform.pojo.*; +import com.lyms.platform.query.*; +import org.apache.commons.collections.CollectionUtils; +import org.apache.commons.collections.MapUtils; +import org.springframework.data.domain.Sort; +import org.springframework.data.mongodb.core.MongoTemplate; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.data.mongodb.core.query.Query; + +import java.text.SimpleDateFormat; +import java.util.*; +import java.util.concurrent.Callable; + +/** + * 秦皇岛分娩管理-科研导出 + * + */ +public class MaterDeliverWorker2 implements Callable> { + + + + private AntExRecordService recordService; + private BabyService babyService; + private AntenatalExaminationService antExService; + private List maternalDeliverModelList; + private Map patientsMap; + private MongoTemplate mongoTemplate; + + public MaterDeliverWorker2(AntExRecordService recordService, BabyService babyService, AntenatalExaminationService antExService, + List maternalDeliverModelList, Map patientsMap, + MongoTemplate mongoTemplate) { + this.maternalDeliverModelList = maternalDeliverModelList; + this.patientsMap = patientsMap; + this.recordService=recordService; + this.babyService = babyService; + this.antExService = antExService; + this.mongoTemplate = mongoTemplate; + } + + @Override + public List call() { + List date = new LinkedList<>(); + try { + for (MaternalDeliverModel maternalDeliverModel : maternalDeliverModelList) { + Map initQueryMapqhdky = new LinkedHashMap<>(); + Patients patients = patientsMap.get(maternalDeliverModel.getParentId()); + if (patients == null) + { + continue; + } + initQueryMapqhdky.put("name", StringUtils.isNotEmpty(patients.getUsername())?patients.getUsername():""); + initQueryMapqhdky.put("birth", null!=patients.getBirth()?DateUtil.getyyyy_MM_dd(patients.getBirth()):""); + initQueryMapqhdky.put("lastMens", null!=patients.getLastMenses()?DateUtil.getyyyy_MM_dd(patients.getLastMenses()):""); + if(StringUtils.isNotEmpty(patients.getId())){ + Criteria criteria= Criteria.where("parentId").is(patients.getId()); + AntExChuModel exChuModel = mongoTemplate.findOne(Query.query(criteria), AntExChuModel.class); + if(null!=exChuModel){ + initQueryMapqhdky.put("cc", null!=exChuModel.getProdTime()?0 map = JSON.parseObject(exChuModel.getBp(), HashMap.class); + initQueryMapqhdky.put("ssy", map.get("ssy")); + initQueryMapqhdky.put("szy", map.get("szy")); + }else { + initQueryMapqhdky.put("ssy", ""); + initQueryMapqhdky.put("szy", ""); + } + initQueryMapqhdky.put("heigh", StringUtils.isNotEmpty(exChuModel.getHeight())?exChuModel.getHeight():""); + initQueryMapqhdky.put("beforeWeight", StringUtils.isNotEmpty(exChuModel.getYqWeight())?exChuModel.getYqWeight():""); + }else { + initQueryMapqhdky.put("cc", ""); + initQueryMapqhdky.put("jc", ""); + initQueryMapqhdky.put("dt", ""); + initQueryMapqhdky.put("dantai",""); + initQueryMapqhdky.put("ssy", ""); + initQueryMapqhdky.put("szy", ""); + initQueryMapqhdky.put("heigh", ""); + initQueryMapqhdky.put("beforeWeight",""); + } + + //体重2kg(24-28周) + AntExRecordQuery antExRecordQuery=new AntExRecordQuery(); + antExRecordQuery.setParentId(patients.getId()); + antExRecordQuery.setcDueWeekStart(168); + antExRecordQuery.setcDueWeekEnd(196); + List antExRecordModels = recordService.queryAntExRecords(antExRecordQuery); + if(CollectionUtils.isNotEmpty(antExRecordModels)){ + AntExRecordModel antExRecordModel= antExRecordModels.get(0); + if(null!=antExRecordModel){ + if(2==antExRecordModel.getType()){ //初诊 + Criteria criteriaf= Criteria.where("id").is(antExRecordModel.getfId()); + AntExChuModel AntExChu = mongoTemplate.findOne(Query.query(criteriaf), AntExChuModel.class); + initQueryMapqhdky.put("mweight", null!=AntExChu.getWeight()?AntExChu.getWeight().toString():""); + }else { //复诊 + Criteria criteriaf= Criteria.where("id").is(antExRecordModel.getfId()); + AntenatalExaminationModel AntExFu = mongoTemplate.findOne(Query.query(criteriaf), AntenatalExaminationModel.class); + initQueryMapqhdky.put("mweight", null!=AntExFu.getWeight()?AntExFu.getWeight().toString():""); + } + }else { + initQueryMapqhdky.put("mweight",""); + } + }else { + initQueryMapqhdky.put("mweight", ""); + } + //体重3kg(最后一次检查) + AntExRecordQuery antExRecordQuery2=new AntExRecordQuery(); + antExRecordQuery2.setParentId(patients.getId()); + List antExRecordModels2 = recordService.queryAntExRecords(antExRecordQuery2); + if(CollectionUtils.isNotEmpty(antExRecordModels2)){ + AntExRecordModel antExRecordModel= antExRecordModels2.get(0); + if(null!=antExRecordModel){ + if(2==antExRecordModel.getType()){ //初诊 + Criteria criteriaf= Criteria.where("id").is(antExRecordModel.getfId()); + AntExChuModel AntExChu = mongoTemplate.findOne(Query.query(criteriaf), AntExChuModel.class); + initQueryMapqhdky.put("cweight", null!=AntExChu.getWeight()?AntExChu.getWeight().toString():""); + }else { //复诊 + Criteria criteriaf= Criteria.where("id").is(antExRecordModel.getfId()); + AntenatalExaminationModel AntExFu = mongoTemplate.findOne(Query.query(criteriaf), AntenatalExaminationModel.class); + initQueryMapqhdky.put("cweight", null!=AntExFu.getWeight()?AntExFu.getWeight().toString():""); + } + }else { + initQueryMapqhdky.put("cweight", ""); + } + }else { + initQueryMapqhdky.put("cweight", ""); + } + if(null!=exChuModel){ + initQueryMapqhdky.put("jw", StringUtils.isNotEmpty(exChuModel.getJw())?exChuModel.getJw():""); + initQueryMapqhdky.put("yw", StringUtils.isNotEmpty(exChuModel.getYw())?exChuModel.getYw():""); + if(StringUtils.isNotEmpty(exChuModel.getFamilyHistory())){ + Map map = JSON.parseObject(exChuModel.getFamilyHistory(), HashMap.class); + if(MapUtils.isNotEmpty(map)){ + if("no".equals(map.get("yesOrNo"))){ + initQueryMapqhdky.put("fpfq", ""); + initQueryMapqhdky.put("tnbfq", ""); + initQueryMapqhdky.put("gxyfq", ""); + initQueryMapqhdky.put("fpmq", ""); + initQueryMapqhdky.put("tnbmq", ""); + initQueryMapqhdky.put("gxymq", ""); + }else { + initQueryMapqhdky.put("fpfq", StringUtils.isNotEmpty(map.get("fpfq"))?"true".equals(map.get("fpfq"))?"是":"否":""); + initQueryMapqhdky.put("tnbfq", StringUtils.isNotEmpty(map.get("tnbfq"))?"true".equals(map.get("tnbfq"))?"是":"否":""); + initQueryMapqhdky.put("gxyfq", StringUtils.isNotEmpty(map.get("gxyfq"))?"true".equals(map.get("gxyfq"))?"是":"否":""); + initQueryMapqhdky.put("fpmq", StringUtils.isNotEmpty(map.get("fpmq"))?"true".equals(map.get("fpmq"))?"是":"否":""); + initQueryMapqhdky.put("tnbmq", StringUtils.isNotEmpty(map.get("tnbmq"))?"true".equals(map.get("tnbmq"))?"是":"否":""); + initQueryMapqhdky.put("gxymq", StringUtils.isNotEmpty(map.get("gxymq"))?"true".equals(map.get("gxymq"))?"是":"否":""); + } + }else { + initQueryMapqhdky.put("fpfq", ""); + initQueryMapqhdky.put("tnbfq", ""); + initQueryMapqhdky.put("gxyfq", ""); + initQueryMapqhdky.put("fpmq", ""); + initQueryMapqhdky.put("tnbmq", ""); + initQueryMapqhdky.put("gxymq", ""); + } + }else{ + initQueryMapqhdky.put("fpfq", ""); + initQueryMapqhdky.put("tnbfq", ""); + initQueryMapqhdky.put("gxyfq", ""); + initQueryMapqhdky.put("fpmq", ""); + initQueryMapqhdky.put("tnbmq", ""); + initQueryMapqhdky.put("gxymq", ""); + } + initQueryMapqhdky.put("tricer", StringUtils.isNotEmpty(exChuModel.getTricer())?exChuModel.getTricer():""); + initQueryMapqhdky.put("totalChol", StringUtils.isNotEmpty(exChuModel.getTotalChol())?exChuModel.getTotalChol():""); + initQueryMapqhdky.put("highDens", StringUtils.isNotEmpty(exChuModel.getHighDens())?exChuModel.getHighDens():""); + initQueryMapqhdky.put("lowDens",StringUtils.isNotEmpty(exChuModel.getLowDens())?exChuModel.getLowDens():""); + initQueryMapqhdky.put("bun", StringUtils.isNotEmpty(exChuModel.getBun())?exChuModel.getBun():""); + initQueryMapqhdky.put("cr", StringUtils.isNotEmpty(exChuModel.getCr())?exChuModel.getCr():""); + initQueryMapqhdky.put("ua", StringUtils.isNotEmpty(exChuModel.getUa())?exChuModel.getUa():""); + initQueryMapqhdky.put("rgaxa", StringUtils.isNotEmpty(exChuModel.getRgaxa())?exChuModel.getRgaxa():""); + initQueryMapqhdky.put("xqgczam", StringUtils.isNotEmpty(exChuModel.getXqgczam())?exChuModel.getXqgczam():""); + initQueryMapqhdky.put("xqgbzam", StringUtils.isNotEmpty(exChuModel.getXqgbzam())?exChuModel.getXqgbzam():""); + }else { + initQueryMapqhdky.put("jw", ""); + initQueryMapqhdky.put("yw", ""); + initQueryMapqhdky.put("fpfq", ""); + initQueryMapqhdky.put("tnbfq", ""); + initQueryMapqhdky.put("gxyfq", ""); + initQueryMapqhdky.put("fpmq", ""); + initQueryMapqhdky.put("tnbmq", ""); + initQueryMapqhdky.put("gxymq", ""); + initQueryMapqhdky.put("tricer", ""); + initQueryMapqhdky.put("totalChol",""); + initQueryMapqhdky.put("highDens",""); + initQueryMapqhdky.put("lowDens",""); + initQueryMapqhdky.put("bun",""); + initQueryMapqhdky.put("cr", ""); + initQueryMapqhdky.put("ua", ""); + initQueryMapqhdky.put("rgaxa", ""); + initQueryMapqhdky.put("xqgczam", ""); + initQueryMapqhdky.put("xqgbzam", ""); + } + //葡萄糖(空腹),葡萄糖(1h),葡萄糖(2h)复诊第一次:孕周24周-28周 + AntExRecordQuery antExRecordQuery3=new AntExRecordQuery(); + antExRecordQuery3.setParentId(patients.getId()); + antExRecordQuery3.setcDueWeekStart(168); + antExRecordQuery3.setcDueWeekEnd(196); + antExRecordQuery3.setType(1);//复诊 + List antExRecordModels3 = recordService.queryAntExRecords(antExRecordQuery3, Sort.Direction.ASC,"checkTime"); + if(CollectionUtils.isNotEmpty(antExRecordModels3)) { + AntExRecordModel antExRecordModel = antExRecordModels3.get(0); + Criteria criteriaf= Criteria.where("id").is(antExRecordModel.getfId()); + AntenatalExaminationModel AntExFu = mongoTemplate.findOne(Query.query(criteriaf), AntenatalExaminationModel.class); + if(null!=AntExFu){ + initQueryMapqhdky.put("bloodSugarKf", StringUtils.isNotEmpty(AntExFu.getBloodSugarKf())?AntExFu.getBloodSugarKf():""); + initQueryMapqhdky.put("bloodSugar1h", StringUtils.isNotEmpty(AntExFu.getBloodSugar1h())?AntExFu.getBloodSugar1h():""); + initQueryMapqhdky.put("bloodSugar2h", StringUtils.isNotEmpty(AntExFu.getBloodSugar2h())?AntExFu.getBloodSugar2h():""); + }else { + initQueryMapqhdky.put("bloodSugarKf", ""); + initQueryMapqhdky.put("bloodSugar1h", ""); + initQueryMapqhdky.put("bloodSugar2h", ""); + } + + }else { + initQueryMapqhdky.put("bloodSugarKf", ""); + initQueryMapqhdky.put("bloodSugar1h", ""); + initQueryMapqhdky.put("bloodSugar2h", ""); + } + if(null!=exChuModel){ + initQueryMapqhdky.put("tf3", StringUtils.isNotEmpty(exChuModel.getTf3())?exChuModel.getTf3():""); + initQueryMapqhdky.put("tf4", StringUtils.isNotEmpty(exChuModel.getTf4())?exChuModel.getTf4():""); + initQueryMapqhdky.put("ctsh", StringUtils.isNotEmpty(exChuModel.getCtsh())?exChuModel.getCtsh():""); + initQueryMapqhdky.put("ctgab", StringUtils.isNotEmpty(exChuModel.getCtgab())?exChuModel.getCtgab():""); + initQueryMapqhdky.put("ctpoab", StringUtils.isNotEmpty(exChuModel.getCtpoab())?exChuModel.getCtpoab():""); + }else { + initQueryMapqhdky.put("tf3", ""); + initQueryMapqhdky.put("tf4", ""); + initQueryMapqhdky.put("ctsh", ""); + initQueryMapqhdky.put("ctgab", ""); + initQueryMapqhdky.put("ctpoab", ""); + } + //分娩记录 + Criteria criteriaFm= Criteria.where("parentId").is(patients.getId()); + MaternalDeliverModel deliverModel = mongoTemplate.findOne(Query.query(criteriaFm), MaternalDeliverModel.class); + if(CollectionUtils.isNotEmpty(deliverModel.getBaby())){ + String weight=""; + String apgarScore = ""; + for (MaternalDeliverModel.Baby baby : deliverModel.getBaby()) { + if(StringUtils.isNotEmpty(baby.getBabyWeight())){ + weight+=baby.getBabyWeight()+"/"; + } + if(StringUtils.isNotEmpty(baby.getApgarScore())){ + Map map = JsonUtil.getMap(baby.getApgarScore()); + if (MapUtils.isNotEmpty(map)) { + String apgarScorePf1 = StringUtils.isNotEmpty(map.get("pf1"))? map.get("pf1") : ""; + String apgarScorePf5 = StringUtils.isNotEmpty(map.get("pf1"))? map.get("pf1") : ""; + String apgarScorePf10 = StringUtils.isNotEmpty(map.get("pf1"))? map.get("pf1") : ""; + apgarScore += apgarScorePf1 + UnitConstants.FEN + " - " + apgarScorePf5 + UnitConstants.FEN + " - " + apgarScorePf10 + UnitConstants.FEN+"/"; + } + } + } + initQueryMapqhdky.put("babyWeight", StringUtils.isNotEmpty(weight)?weight.substring(0,weight.length()-1):weight); + initQueryMapqhdky.put("", ""); + initQueryMapqhdky.put("apgarScore", StringUtils.isNotEmpty(apgarScore)?apgarScore.substring(0,apgarScore.length()-1):apgarScore); + }else { + initQueryMapqhdky.put("babyWeight", ""); + initQueryMapqhdky.put("", ""); + initQueryMapqhdky.put("apgarScore", ""); + } + + }else { + initQueryMapqhdky.put("cc", ""); + initQueryMapqhdky.put("jc", ""); + initQueryMapqhdky.put("dt", ""); + initQueryMapqhdky.put("dantai", ""); + initQueryMapqhdky.put("ssy", ""); + initQueryMapqhdky.put("szy", ""); + initQueryMapqhdky.put("heigh", ""); + initQueryMapqhdky.put("beforeWeight", ""); + initQueryMapqhdky.put("mweight", ""); + initQueryMapqhdky.put("cweight", ""); + initQueryMapqhdky.put("jw", ""); + initQueryMapqhdky.put("yw", ""); + initQueryMapqhdky.put("fpfq", ""); + initQueryMapqhdky.put("tnbfq", ""); + initQueryMapqhdky.put("gxyfq", ""); + initQueryMapqhdky.put("fpmq", ""); + initQueryMapqhdky.put("tnbmq", ""); + initQueryMapqhdky.put("gxymq", ""); + initQueryMapqhdky.put("tricer", ""); + initQueryMapqhdky.put("totalChol", ""); + initQueryMapqhdky.put("highDens", ""); + initQueryMapqhdky.put("lowDens", ""); + initQueryMapqhdky.put("bun", ""); + initQueryMapqhdky.put("cr", ""); + initQueryMapqhdky.put("ua", ""); + initQueryMapqhdky.put("rgaxa", ""); + initQueryMapqhdky.put("xqgczam", ""); + initQueryMapqhdky.put("xqgbzam", ""); + initQueryMapqhdky.put("bloodSugarKf", ""); + initQueryMapqhdky.put("bloodSugar1h", ""); + initQueryMapqhdky.put("bloodSugar2h", ""); + initQueryMapqhdky.put("tf3", ""); + initQueryMapqhdky.put("tf4", ""); + initQueryMapqhdky.put("ctsh", ""); + initQueryMapqhdky.put("ctgab", ""); + initQueryMapqhdky.put("ctpoab", ""); + initQueryMapqhdky.put("babyWeight", ""); + initQueryMapqhdky.put("", ""); + initQueryMapqhdky.put("apgarScore", ""); + } + date.add(initQueryMapqhdky); + } + }catch (Exception e) { + e.printStackTrace(); + } + return date; + } + +}