From 3afe526ef70cbf21a839f455678ff2ca8bffd5da Mon Sep 17 00:00:00 2001 From: landong2015 Date: Wed, 30 Nov 2016 14:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=A9=9A=E6=A3=80=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/lyms/platform/operate/web/Test.java | 136 ++++++++++++++++++++- 1 file changed, 131 insertions(+), 5 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java index e00d462..583314e 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java @@ -23,9 +23,9 @@ import java.util.List; /** * Created by Administrator on 2016/8/22 0022. */ -public class Test{ +public class Test { - public static void main(String[] args){ + public static void main(String[] args) { // PatientsQuery patientsQuery1 = new PatientsQuery(); // patientsQuery1.setHospitalId("221"); // patientsQuery1.setYn(YnEnums.YES.getId()); @@ -45,10 +45,9 @@ public class Test{ Date yuYueDate = DateUtil.addDay(new Date(), 2); - if (yuYueDate != null) - { + if (yuYueDate != null) { //把时间格式化成 yyyy_MM_dd 的日期 - yuYueDate = DateUtil.formatDate(yuYueDate); + yuYueDate = DateUtil.formatDate(yuYueDate); } AntExChuQuery antExChuQuery = new AntExChuQuery(); antExChuQuery.setYn(YnEnums.YES.getId()); @@ -58,5 +57,132 @@ public class Test{ System.out.println(antExChuQuery.convertToQuery().convertToMongoQuery()); + + /* + + { + "username": "指间沙", + "sex": "c23779f1-cb6e-44d0-9fc8-0a990bf6184c", + "brithDay": "1989-11-03", + "countryId": "0da4334f-49e7-4180-b690-5cea668f75e9", + "nationId": "cc5e7b3f-0082-4df5-86c9-f84e2f732fa0", + "marriageId": "d049eaaa-7265-4cdb-879f-992ab6320a3a", + "certificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c", + "certificateNum": "123456", + "censusTypeId": "57624c090cf23d4631523e9f", + "liveTypeId": "57624c440cf23d4631523ea1", + "levelTypeId": "b4157251-2fbc-4d70-b32f-d78e1b4f9251", + "professionTypeId": "5570653c-693b-4ce2-bd91-650045c03c5a", + "hospitalId": "216", + "age": "27", + "phone": "13611111111", + "workUnit": "龙源美生", + "provinceId": "51aa", + "cityId": "5110aa", + "areaId": "511028", + "streetId": "1193", + "address": "东苑区", + "vcCardNo": "3838438", + "buildDoctor": "罗伊斯", + "buildDay": "2016-11-29" + } + */ + + /* + + + { + "parentId": "583cf77146a722843933530f", + "premaritalUpTime": "2016-11-30", + "hospitalId": 138, + "certificateNum": "123456", + "certificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c", + "vcCardNo": "3838438", + + "spouseName": "依韵", + "spouseCertificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c", + "spouseCertificateNum": "789456", + "isBloodshed": "1", + "bloodshed": "兄妹", + "deliverStatus": "1", + + "menarcheAge": "20", + "menstrualCycle": "10", + "menstrualAmount": "600cc", + "lastMenses": "2016-01-11", + "menorrhalgia": "1", + "renLiu": "0", + + "maritalHistory": "1", + "sangOu": "1", + "liYi": "2", + "childrenNum": "0", + "nextOfKin": "1", + "parents": "1", + "grandparent": "2", + "maternalGrandparents": "2", + + "jingShenZhuangTai": "1", + "jingShenZhuangTaiDetails": "毛病", + "yuYanNengLi": "2", + "teShuMianRong": "1", + "teShuMianRongDetails": "没有", + "teShuTiTai": "1", + "teShuTiTaiDetails": "Cbei", + "height": "170", + "weight": "89", + "bp": "50", + "piFu": "2", + "maoFa": "2", + "siZhi": "2", + "jiZhu": "2", + "shiLiZuo": "4.5", + "shiLiYou": "4.9", + "tingLiZuo": "5M", + "tingLiYou": "5M", + "bianSe": "2", + "jiaZhuangXian": "2", + "xiongKuo": "2", + "fei": "2", + "heartRate": "100", + "heartRhythm": "70", + "zaYin": "2", + "gan": "正常", + "pi": "正常", + + "tiTai": "2", + "ruFangFaYu": "2", + "yinMao": "1", + + "gcWaiYin": "正常", + "gcFenMiWu": "无", + "gcZiGong": "正常", + "gcFuJian": "无", + "waiYin": "正常", + "yinDao": "正常", + "gongJing": "正常", + "ziGong": "正常", + "fuJian": "无", + + "xueHongDanBai": "200", + "baiXiBao": "180", + "xueXiaoBan": "60", + + "niaoDanBai": "63", + "niaoTang": "120", + "niaoTongTi": "199", + "xueXing": "B", + "rhXueXing": "减", + "xueTang": "147", + + "jianChaJieGuo": "2", + + "yiXueYiJian": "1", + "hunJianDoctor": "张医生", + } + + */ + + } } \ No newline at end of file -- 1.8.3.1