Commit 3afe526ef70cbf21a839f455678ff2ca8bffd5da
1 parent
40df4e10a8
Exists in
master
and in
1 other branch
提交婚检代码
Showing 1 changed file with 131 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java
View file @
3afe526
... | ... | @@ -23,9 +23,9 @@ |
23 | 23 | /** |
24 | 24 | * Created by Administrator on 2016/8/22 0022. |
25 | 25 | */ |
26 | -public class Test{ | |
26 | +public class Test { | |
27 | 27 | |
28 | - public static void main(String[] args){ | |
28 | + public static void main(String[] args) { | |
29 | 29 | // PatientsQuery patientsQuery1 = new PatientsQuery(); |
30 | 30 | // patientsQuery1.setHospitalId("221"); |
31 | 31 | // patientsQuery1.setYn(YnEnums.YES.getId()); |
32 | 32 | |
... | ... | @@ -45,10 +45,9 @@ |
45 | 45 | |
46 | 46 | |
47 | 47 | Date yuYueDate = DateUtil.addDay(new Date(), 2); |
48 | - if (yuYueDate != null) | |
49 | - { | |
48 | + if (yuYueDate != null) { | |
50 | 49 | //把时间格式化成 yyyy_MM_dd 的日期 |
51 | - yuYueDate = DateUtil.formatDate(yuYueDate); | |
50 | + yuYueDate = DateUtil.formatDate(yuYueDate); | |
52 | 51 | } |
53 | 52 | AntExChuQuery antExChuQuery = new AntExChuQuery(); |
54 | 53 | antExChuQuery.setYn(YnEnums.YES.getId()); |
... | ... | @@ -57,6 +56,133 @@ |
57 | 56 | antExChuQuery.setHospitalId("242"); |
58 | 57 | |
59 | 58 | System.out.println(antExChuQuery.convertToQuery().convertToMongoQuery()); |
59 | + | |
60 | + | |
61 | + /* | |
62 | + | |
63 | + { | |
64 | + "username": "指间沙", | |
65 | + "sex": "c23779f1-cb6e-44d0-9fc8-0a990bf6184c", | |
66 | + "brithDay": "1989-11-03", | |
67 | + "countryId": "0da4334f-49e7-4180-b690-5cea668f75e9", | |
68 | + "nationId": "cc5e7b3f-0082-4df5-86c9-f84e2f732fa0", | |
69 | + "marriageId": "d049eaaa-7265-4cdb-879f-992ab6320a3a", | |
70 | + "certificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c", | |
71 | + "certificateNum": "123456", | |
72 | + "censusTypeId": "57624c090cf23d4631523e9f", | |
73 | + "liveTypeId": "57624c440cf23d4631523ea1", | |
74 | + "levelTypeId": "b4157251-2fbc-4d70-b32f-d78e1b4f9251", | |
75 | + "professionTypeId": "5570653c-693b-4ce2-bd91-650045c03c5a", | |
76 | + "hospitalId": "216", | |
77 | + "age": "27", | |
78 | + "phone": "13611111111", | |
79 | + "workUnit": "龙源美生", | |
80 | + "provinceId": "51aa", | |
81 | + "cityId": "5110aa", | |
82 | + "areaId": "511028", | |
83 | + "streetId": "1193", | |
84 | + "address": "东苑区", | |
85 | + "vcCardNo": "3838438", | |
86 | + "buildDoctor": "罗伊斯", | |
87 | + "buildDay": "2016-11-29" | |
88 | + } | |
89 | + */ | |
90 | + | |
91 | + /* | |
92 | + | |
93 | + | |
94 | + { | |
95 | + "parentId": "583cf77146a722843933530f", | |
96 | + "premaritalUpTime": "2016-11-30", | |
97 | + "hospitalId": 138, | |
98 | + "certificateNum": "123456", | |
99 | + "certificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c", | |
100 | + "vcCardNo": "3838438", | |
101 | + | |
102 | + "spouseName": "依韵", | |
103 | + "spouseCertificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c", | |
104 | + "spouseCertificateNum": "789456", | |
105 | + "isBloodshed": "1", | |
106 | + "bloodshed": "兄妹", | |
107 | + "deliverStatus": "1", | |
108 | + | |
109 | + "menarcheAge": "20", | |
110 | + "menstrualCycle": "10", | |
111 | + "menstrualAmount": "600cc", | |
112 | + "lastMenses": "2016-01-11", | |
113 | + "menorrhalgia": "1", | |
114 | + "renLiu": "0", | |
115 | + | |
116 | + "maritalHistory": "1", | |
117 | + "sangOu": "1", | |
118 | + "liYi": "2", | |
119 | + "childrenNum": "0", | |
120 | + "nextOfKin": "1", | |
121 | + "parents": "1", | |
122 | + "grandparent": "2", | |
123 | + "maternalGrandparents": "2", | |
124 | + | |
125 | + "jingShenZhuangTai": "1", | |
126 | + "jingShenZhuangTaiDetails": "毛病", | |
127 | + "yuYanNengLi": "2", | |
128 | + "teShuMianRong": "1", | |
129 | + "teShuMianRongDetails": "没有", | |
130 | + "teShuTiTai": "1", | |
131 | + "teShuTiTaiDetails": "Cbei", | |
132 | + "height": "170", | |
133 | + "weight": "89", | |
134 | + "bp": "50", | |
135 | + "piFu": "2", | |
136 | + "maoFa": "2", | |
137 | + "siZhi": "2", | |
138 | + "jiZhu": "2", | |
139 | + "shiLiZuo": "4.5", | |
140 | + "shiLiYou": "4.9", | |
141 | + "tingLiZuo": "5M", | |
142 | + "tingLiYou": "5M", | |
143 | + "bianSe": "2", | |
144 | + "jiaZhuangXian": "2", | |
145 | + "xiongKuo": "2", | |
146 | + "fei": "2", | |
147 | + "heartRate": "100", | |
148 | + "heartRhythm": "70", | |
149 | + "zaYin": "2", | |
150 | + "gan": "正常", | |
151 | + "pi": "正常", | |
152 | + | |
153 | + "tiTai": "2", | |
154 | + "ruFangFaYu": "2", | |
155 | + "yinMao": "1", | |
156 | + | |
157 | + "gcWaiYin": "正常", | |
158 | + "gcFenMiWu": "无", | |
159 | + "gcZiGong": "正常", | |
160 | + "gcFuJian": "无", | |
161 | + "waiYin": "正常", | |
162 | + "yinDao": "正常", | |
163 | + "gongJing": "正常", | |
164 | + "ziGong": "正常", | |
165 | + "fuJian": "无", | |
166 | + | |
167 | + "xueHongDanBai": "200", | |
168 | + "baiXiBao": "180", | |
169 | + "xueXiaoBan": "60", | |
170 | + | |
171 | + "niaoDanBai": "63", | |
172 | + "niaoTang": "120", | |
173 | + "niaoTongTi": "199", | |
174 | + "xueXing": "B", | |
175 | + "rhXueXing": "减", | |
176 | + "xueTang": "147", | |
177 | + | |
178 | + "jianChaJieGuo": "2", | |
179 | + | |
180 | + "yiXueYiJian": "1", | |
181 | + "hunJianDoctor": "张医生", | |
182 | + } | |
183 | + | |
184 | + */ | |
185 | + | |
60 | 186 | |
61 | 187 | } |
62 | 188 | } |