Commit bf56f56c0e4fe0d7b21a9243482a419829d405ef

Authored by liquanyu
1 parent 14d7d0abd3

体成分分析

Showing 4 changed files with 1114 additions and 7 deletions

platform-dal/src/main/java/com/lyms/platform/pojo/VolumeComponentAnalysisModel.java View file @ bf56f56
Diff suppressed. Click to show
1 1 package com.lyms.platform.pojo;
2 2  
  3 +import org.codehaus.jackson.annotate.JsonProperty;
3 4 import com.lyms.platform.beans.SerialIdEnum;
4 5 import com.lyms.platform.common.result.BaseModel;
5 6 import org.springframework.data.mongodb.core.mapping.Document;
6 7  
7 8  
8 9  
9 10  
10 11  
11 12  
12 13  
13 14  
14 15  
15 16  
16 17  
17 18  
18 19  
19 20  
20 21  
21 22  
22 23  
23 24  
24 25  
25 26  
26 27  
27 28  
28 29  
29 30  
30 31  
31 32  
32 33  
33 34  
34 35  
35 36  
36 37  
37 38  
38 39  
39 40  
40 41  
41 42  
42 43  
43 44  
44 45  
45 46  
46 47  
47 48  
48 49  
49 50  
50 51  
51 52  
52 53  
53 54  
54 55  
55 56  
56 57  
57 58  
58 59  
59 60  
60 61  
61 62  
62 63  
63 64  
64 65  
65 66  
66 67  
67 68  
68 69  
69 70  
70 71  
71 72  
72 73  
73 74  
74 75  
75 76  
76 77  
... ... @@ -34,82 +35,1132 @@
34 35 private Integer yn;
35 36 //前囟 单胎/双胎/多胎
36 37 private String bregmatic;
37   -
38   -
39 38 private String parentId;
  39 +
  40 + @JsonProperty("UUID")
40 41 private String uuId;//  ABC-001;,    //单位代码
41   - private String deviceID;// 16ART1B0007;       //仪器编号
  42 + @JsonProperty("deviceType")
42 43 private String deviceType;// BCA-1D;,              //仪器型号
  44 + private String deviceID;
  45 +
  46 + @JsonProperty("memberId")
43 47 private String memberId; // 13902345678;,       //测试者编号
  48 + @JsonProperty("testID")
44 49 private String testID; // ;201704281014;,         //测试序号
  50 + @JsonProperty("testDate")
45 51 private String testDate; // 20170428;,            //测试日期
  52 +
46 53 private String name;// 张三;,               //姓名(UTF-8编码)
47 54 private String sex;// 1;,                    //性别 (男1,女2)
  55 +
48 56 private String height;// 178.5;,              //身高
49 57 private String birthYear;// 1985;,            //出生年份
  58 +
  59 + @JsonProperty("Weight")
50 60 private String weight; // 72.5;,              //体重(当前体重)
  61 +
  62 + @JsonProperty("Fat")
51 63 private String fat;// 23.1;,                 //脂肪
  64 + @JsonProperty("Bone")
52 65 private String bone;// 3.8;,                //骨质
  66 + @JsonProperty("Protein")
53 67 private String protein;// 18.6;,             //蛋白质
  68 + @JsonProperty("Water")
54 69 private String water;// 33.5;,              //水分
  70 + @JsonProperty("Muscle")
55 71 private String muscle;// 40.1;,             //肌肉
  72 + @JsonProperty("SMM")
56 73 private String smm;// 18.5;,              //骨骼肌
  74 + @JsonProperty("PBF")
57 75 private String pbf;// 22.1;,               //体脂百分比
  76 + @JsonProperty("BMI")
58 77 private String bmi;// 22.4;,              //体质指数
  78 + @JsonProperty("BMR")
59 79 private String bmr;// 1665.0;,           //基础代谢
  80 + @JsonProperty("WHR")
60 81 private String whr;// 0.89;,            //腰臀比(2位小数)
  82 + @JsonProperty("Edema")
61 83 private String edema;// 0.33;,           //水肿系数(2位小数)
  84 +
  85 + @JsonProperty("LA_edema")
  86 + private String LA_edema;
  87 +
  88 + @JsonProperty("LL_edema")
  89 + private String LL_edema;
  90 +
  91 + @JsonProperty("VFI")
62 92 private String vfi;// 12.0;,             //内脏脂肪指数
  93 + @JsonProperty("BodyAge")
63 94 private String bodyAge;// 23;,          //身体年龄
  95 + @JsonProperty("Score")
64 96 private String score;//78.0;,            //健康评分
  97 + @JsonProperty("BodyType")
65 98 private String bodyType;// 4;,          //体型判定
  99 + @JsonProperty("LBM")
66 100 private String lbm;// 50.1;,            //瘦体重(去脂体重)
  101 +
  102 + @JsonProperty("LA_LBM")
  103 + private String LA_LBM;//
  104 + @JsonProperty("OH")
  105 + private String OH;//
  106 +
  107 + @JsonProperty("RA100")
  108 + private String RA100;
  109 + @JsonProperty("RA250")
  110 + private String RA250;
  111 + @JsonProperty("RA5")
  112 + private String RA5;
  113 + @JsonProperty("RA50")
  114 + private String RA50;
  115 + @JsonProperty("RA500")
  116 + private String RA500;
  117 +
  118 +
  119 + @JsonProperty("RL100")
  120 + private String RL100;
  121 + @JsonProperty("RL250")
  122 + private String RL250;
  123 + @JsonProperty("RL5")
  124 + private String RL5;
  125 + @JsonProperty("RL50")
  126 + private String RL50;
  127 + @JsonProperty("RL500")
  128 + private String RL500;
  129 +
  130 + @JsonProperty("LA100")
  131 + private String LA100;
  132 + @JsonProperty("LA250")
  133 + private String LA250;
  134 + @JsonProperty("LA5")
  135 + private String LA5;
  136 + @JsonProperty("LA50")
  137 + private String LA50;
  138 + @JsonProperty("LA500")
  139 + private String LA500;
  140 +
  141 + @JsonProperty("ICW")
67 142 private String icw;// 23.0;,            //细胞内液
  143 +
  144 +
  145 + @JsonProperty("LL100")
  146 + private String LL100;
  147 + @JsonProperty("LL250")
  148 + private String LL250;
  149 + @JsonProperty("LL5")
  150 + private String LL5;
  151 + @JsonProperty("LL50")
  152 + private String LL50;
  153 + @JsonProperty("LL500")
  154 + private String LL500;
  155 +
  156 + @JsonProperty("ICWMax")
  157 + private String ICWMax;//
  158 +
  159 + @JsonProperty("ICWMin")
  160 + private String ICWMin;//
  161 +
  162 +
  163 + @JsonProperty("ECW")
68 164 private String ecw;// 10.5;,           //细胞外液
  165 + @JsonProperty("StandardWeight")
69 166 private String standardWeight;// 70.5;,   //目标体重
  167 + @JsonProperty("WeightControl")
70 168 private String weightControl;// 2.0;,   //体重控制
  169 + @JsonProperty("FatControl")
71 170 private String fatControl;// 1.3;,      //脂肪控制量
  171 + @JsonProperty("MuscleControl")
72 172 private String muscleControl;// 0.7;,  //肌肉控制量
  173 + @JsonProperty("LiverRisk")
73 174 private String liverRisk;// 65;        //脂肪肝风险系数
  175 + @JsonProperty("TR_fat")
74 176 private String trFat;// 14.5;,        //躯干脂肪量
  177 +
  178 + @JsonProperty("LA_ECW")
  179 + private String LA_ECW;
  180 + @JsonProperty("LA_ICW")
  181 + private String LA_ICW;
  182 +
  183 +
  184 + @JsonProperty("TR_ECW")
  185 + private String TR_ECW;
  186 + @JsonProperty("TR_ICW")
  187 + private String TR_ICW;
  188 +
  189 + @JsonProperty("TR_LBM")
  190 + private String TR_LBM;
  191 +
  192 + @JsonProperty("RL_ECW")
  193 + private String RL_ECW;
  194 + @JsonProperty("RL_ICW")
  195 + private String RL_ICW;
  196 +
  197 + @JsonProperty("LA_fat")
75 198 private String laFat;// 2.1;,         //左上肢脂肪
  199 + @JsonProperty("RA_fat")
76 200 private String raFat;// 2.1;,         //右上肢脂肪
  201 + @JsonProperty("LL_fat")
77 202 private String llFat;// 5.2;,         //左下肢脂肪
  203 + @JsonProperty("RL_fat")
78 204 private String rlFat;// 5.2;,         //右下肢脂肪
  205 + @JsonProperty("TR_water")
79 206 private String trWater;// 17.9;,     //躯干水分量
  207 + @JsonProperty("LA_water")
80 208 private String laWater;// 2.6;,      //左上肢水分
  209 + @JsonProperty("RA_water")
81 210 private String raWater;// 2.9;,      //右上肢水分
  211 + @JsonProperty("LL_water")
82 212 private String llWater;// 4.2;,      //左下肢水分
  213 + @JsonProperty("RL_water")
83 214 private String rlWater;// 4.3;,      //右下肢水分
  215 + @JsonProperty("TR_muscle")
84 216 private String trMuscle;// 23.9;,     //躯干肌肉量
  217 + @JsonProperty("LA_muscle")
85 218 private String laMuscle;// 6.6;,      //左上肢肌肉
  219 + @JsonProperty("RA_muscle")
86 220 private String raMuscle;// 6.9;,      //右上肢肌肉
  221 + @JsonProperty("LL_muscle")
87 222 private String llMuscle;// 14.2;,      //左下肢肌肉
  223 + @JsonProperty("RL_muscle")
88 224 private String rlMuscle;// 14.3;      //右下肢肌肉
  225 + @JsonProperty("WeightMax")
89 226 private String weightMax; // 84.5;,    //体重正常范围的高值
  227 + @JsonProperty("WeightMin")
90 228 private String weightMin; // 69.5;,    //体重正常范围的低值
  229 + @JsonProperty("FatMax")
91 230 private String fatMax; // 22.5;,      //脂肪正常范围的高值
  231 + @JsonProperty("FatMin")
92 232 private String fatMin; // 13.6;,      //脂肪正常范围的低值
  233 + @JsonProperty("BoneMax")
93 234 private String boneMax; // 3.7;,    //骨质正常范围的高值
  235 + @JsonProperty("BoneMin")
94 236 private String boneMin; // 3.1;,    //骨质正常范围的低值
  237 + @JsonProperty("ProteinMax")
95 238 private String proteinMax; // 22.5;,    //蛋白质正常范围的高值
  239 + @JsonProperty("ProteinMin")
96 240 private String proteinMin; // 17.5;,    //蛋白质正常范围的低值
  241 + @JsonProperty("WaterMax")
97 242 private String waterMax; // 43.6;,    //水分正常范围的高值
  243 + @JsonProperty("WaterMin")
98 244 private String waterMin; // 32.5;,    //水分正常范围的低值
  245 + @JsonProperty("MuscleMax")
99 246 private String muscleMax; // 54.5;,    //肌肉正常范围的高值
  247 + @JsonProperty("MuscleMin")
100 248 private String muscleMin; // 36.5;,    //肌肉正常范围的低值
  249 + @JsonProperty("SMMMax")
101 250 private String smmMax; // 32.5;,    //骨骼肌正常范围的高值
  251 + @JsonProperty("SMMMin")
102 252 private String smmMin; // 24.1;,    //骨骼肌正常范围的低值
  253 + @JsonProperty("PBFMax")
103 254 private String pbfMax; // 10.0;,    //体脂率正常范围的高值
  255 + @JsonProperty("PBFMin")
104 256 private String pbfMin; // 20.0;,    //体脂率正常范围的低值
  257 + @JsonProperty("BMIMax")
105 258 private String bmiMax; // 18.5;,    //体质指数正常范围的高值
  259 + @JsonProperty("BMIMin")
106 260 private String bmiMin; // 23.9;,    //体质指数正常范围的低值
  261 + @JsonProperty("WHRMax")
107 262 private String whrMax; // 0.7;,    //腰臀比正常范围的高值
  263 + @JsonProperty("WHRMin")
108 264 private String whrMin; // 0.8;,    //腰臀比正常范围的低值
  265 + @JsonProperty("EdemaMax")
109 266 private String edemaMax; // 0.3;,    //水肿系数正常范围的高值
  267 + @JsonProperty("EdemaMin")
110 268 private String edemaMin; // 0.35;,    //水肿系数正常范围的低值
  269 + @JsonProperty("VFIMax")
111 270 private String vfiMax; // 5;,    //内脏脂肪指数正常范围的高值
  271 + @JsonProperty("VFIMin")
112 272 private String vfiMin; // 10;    //内脏脂肪指数正常范围的低值
  273 +
  274 + @JsonProperty("ArmGrade")
  275 + private String ArmGrade;
  276 + @JsonProperty("LA_bone")
  277 + private String LA_bone;
  278 + @JsonProperty("LL_bone")
  279 + private String LL_bone;
  280 + @JsonProperty("LegGrade")
  281 + private String LegGrade;
  282 + @JsonProperty("MuscleBalance")
  283 + private String MuscleBalance;
  284 + @JsonProperty("RA_bone")
  285 + private String RA_bone;
  286 + @JsonProperty("RL_bone")
  287 + private String RL_bone;
  288 + @JsonProperty("TR_bone")
  289 + private String TR_bone;
  290 + @JsonProperty("UID")
  291 + private String UID;
  292 + @JsonProperty("WaterPercentMax")
  293 + private String WaterPercentMax;
  294 + @JsonProperty("WaterPercentMin")
  295 + private String WaterPercentMin;
  296 +
  297 + @JsonProperty("ASMI")
  298 + private String ASMI;
  299 + @JsonProperty("DW")
  300 + private String DW;
  301 + @JsonProperty("ECWMax")
  302 + private String ECWMax;
  303 + @JsonProperty("Doctor")
  304 + private String Doctor;
  305 +
  306 + @JsonProperty("ECWMin")
  307 + private String ECWMin;
  308 + private String image_name;
  309 + private String message;
  310 +
  311 +
  312 +
  313 + @JsonProperty("LL_ECW")
  314 + private String LL_ECW;
  315 + @JsonProperty("LL_ICW")
  316 + private String LL_ICW;
  317 + @JsonProperty("LL_LBM")
  318 + private String LL_LBM;
  319 +
  320 + @JsonProperty("T100KCH1")
  321 + private String T100KCH1;
  322 + @JsonProperty("T100KCH2")
  323 + private String T100KCH2;
  324 + @JsonProperty("T100KCH3")
  325 + private String T100KCH3;
  326 + @JsonProperty("T100KCH4")
  327 + private String T100KCH4;
  328 + @JsonProperty("T100KCH5")
  329 + private String T100KCH5;
  330 + @JsonProperty("T100KCH6")
  331 + private String T100KCH6;
  332 + @JsonProperty("T250KCH1")
  333 + private String T250KCH1;
  334 + @JsonProperty("T250KCH2")
  335 + private String T250KCH2;
  336 + @JsonProperty("T250KCH3")
  337 + private String T250KCH3;
  338 + @JsonProperty("T250KCH4")
  339 + private String T250KCH4;
  340 + @JsonProperty("T250KCH5")
  341 + private String T250KCH5;
  342 + @JsonProperty("T250KCH6")
  343 + private String T250KCH6;
  344 + @JsonProperty("T500KCH1")
  345 + private String T500KCH1;
  346 + @JsonProperty("T500KCH2")
  347 + private String T500KCH2;
  348 + @JsonProperty("T500KCH3")
  349 + private String T500KCH3;
  350 + @JsonProperty("T500KCH4")
  351 + private String T500KCH4;
  352 + @JsonProperty("T500KCH5")
  353 + private String T500KCH5;
  354 + @JsonProperty("T500KCH6")
  355 + private String T500KCH6;
  356 + @JsonProperty("T50KCH1")
  357 + private String T50KCH1;
  358 + @JsonProperty("T50KCH2")
  359 + private String T50KCH2;
  360 + @JsonProperty("T50KCH3")
  361 + private String T50KCH3;
  362 + @JsonProperty("T50KCH4")
  363 + private String T50KCH4;
  364 + @JsonProperty("T50KCH5")
  365 + private String T50KCH5;
  366 + @JsonProperty("T50KCH6")
  367 + private String T50KCH6;
  368 + @JsonProperty("T5KCH1")
  369 + private String T5KCH1;
  370 + @JsonProperty("T5KCH2")
  371 + private String T5KCH2;
  372 + @JsonProperty("T5KCH3")
  373 + private String T5KCH3;
  374 + @JsonProperty("T5KCH4")
  375 + private String T5KCH4;
  376 + @JsonProperty("T5KCH5")
  377 + private String T5KCH5;
  378 + @JsonProperty("T5KCH6")
  379 + private String T5KCH6;
  380 + @JsonProperty("TR100")
  381 + private String TR100;
  382 + @JsonProperty("TR250")
  383 + private String TR250;
  384 + @JsonProperty("TR5")
  385 + private String TR5;
  386 + @JsonProperty("TR50")
  387 + private String TR50;
  388 + @JsonProperty("TR500")
  389 + private String TR500;
  390 +
  391 + @JsonProperty("RA_ECW")
  392 + private String RA_ECW;
  393 + @JsonProperty("RA_ICW")
  394 + private String RA_ICW;
  395 + @JsonProperty("RA_LBM")
  396 + private String RA_LBM;
  397 + @JsonProperty("RA_edema")
  398 + private String RA_edema;
  399 + @JsonProperty("RL_edema")
  400 + private String RL_edema;
  401 + @JsonProperty("TR_edema")
  402 + private String TR_edema;
  403 +
  404 +
  405 + public String getTR_edema() {
  406 + return TR_edema;
  407 + }
  408 +
  409 + public void setTR_edema(String TR_edema) {
  410 + this.TR_edema = TR_edema;
  411 + }
  412 +
  413 + public String getRL_edema() {
  414 + return RL_edema;
  415 + }
  416 +
  417 + public void setRL_edema(String RL_edema) {
  418 + this.RL_edema = RL_edema;
  419 + }
  420 +
  421 + public String getRA_edema() {
  422 + return RA_edema;
  423 + }
  424 +
  425 + public void setRA_edema(String RA_edema) {
  426 + this.RA_edema = RA_edema;
  427 + }
  428 +
  429 + public String getRA_ECW() {
  430 + return RA_ECW;
  431 + }
  432 +
  433 + public void setRA_ECW(String RA_ECW) {
  434 + this.RA_ECW = RA_ECW;
  435 + }
  436 +
  437 + public String getRA_ICW() {
  438 + return RA_ICW;
  439 + }
  440 +
  441 + public void setRA_ICW(String RA_ICW) {
  442 + this.RA_ICW = RA_ICW;
  443 + }
  444 +
  445 + public String getRA_LBM() {
  446 + return RA_LBM;
  447 + }
  448 +
  449 + public void setRA_LBM(String RA_LBM) {
  450 + this.RA_LBM = RA_LBM;
  451 + }
  452 +
  453 + public String getLL_ECW() {
  454 + return LL_ECW;
  455 + }
  456 +
  457 + public void setLL_ECW(String LL_ECW) {
  458 + this.LL_ECW = LL_ECW;
  459 + }
  460 +
  461 + public String getLL_ICW() {
  462 + return LL_ICW;
  463 + }
  464 +
  465 + public void setLL_ICW(String LL_ICW) {
  466 + this.LL_ICW = LL_ICW;
  467 + }
  468 +
  469 + public String getLL_LBM() {
  470 + return LL_LBM;
  471 + }
  472 +
  473 + public void setLL_LBM(String LL_LBM) {
  474 + this.LL_LBM = LL_LBM;
  475 + }
  476 +
  477 + public String getLA100() {
  478 + return LA100;
  479 + }
  480 +
  481 + public void setLA100(String LA100) {
  482 + this.LA100 = LA100;
  483 + }
  484 +
  485 + public String getLA250() {
  486 + return LA250;
  487 + }
  488 +
  489 + public void setLA250(String LA250) {
  490 + this.LA250 = LA250;
  491 + }
  492 +
  493 + public String getLA5() {
  494 + return LA5;
  495 + }
  496 +
  497 + public void setLA5(String LA5) {
  498 + this.LA5 = LA5;
  499 + }
  500 +
  501 + public String getLA50() {
  502 + return LA50;
  503 + }
  504 +
  505 + public void setLA50(String LA50) {
  506 + this.LA50 = LA50;
  507 + }
  508 +
  509 + public String getLA500() {
  510 + return LA500;
  511 + }
  512 +
  513 + public void setLA500(String LA500) {
  514 + this.LA500 = LA500;
  515 + }
  516 +
  517 + public String getLL_edema() {
  518 + return LL_edema;
  519 + }
  520 +
  521 + public void setLL_edema(String LL_edema) {
  522 + this.LL_edema = LL_edema;
  523 + }
  524 +
  525 + public String getTR_LBM() {
  526 + return TR_LBM;
  527 + }
  528 +
  529 + public void setTR_LBM(String TR_LBM) {
  530 + this.TR_LBM = TR_LBM;
  531 + }
  532 +
  533 + public String getTR_ICW() {
  534 + return TR_ICW;
  535 + }
  536 +
  537 + public void setTR_ICW(String TR_ICW) {
  538 + this.TR_ICW = TR_ICW;
  539 + }
  540 +
  541 + public String getTR_ECW() {
  542 + return TR_ECW;
  543 + }
  544 +
  545 + public void setTR_ECW(String TR_ECW) {
  546 + this.TR_ECW = TR_ECW;
  547 + }
  548 +
  549 + public String getLA_edema() {
  550 + return LA_edema;
  551 + }
  552 +
  553 + public void setLA_edema(String LA_edema) {
  554 + this.LA_edema = LA_edema;
  555 + }
  556 +
  557 + public String getLA_LBM() {
  558 + return LA_LBM;
  559 + }
  560 +
  561 + public void setLA_LBM(String LA_LBM) {
  562 + this.LA_LBM = LA_LBM;
  563 + }
  564 +
  565 + public String getOH() {
  566 + return OH;
  567 + }
  568 +
  569 + public void setOH(String OH) {
  570 + this.OH = OH;
  571 + }
  572 +
  573 + public String getRA100() {
  574 + return RA100;
  575 + }
  576 +
  577 + public void setRA100(String RA100) {
  578 + this.RA100 = RA100;
  579 + }
  580 +
  581 + public String getRA250() {
  582 + return RA250;
  583 + }
  584 +
  585 + public void setRA250(String RA250) {
  586 + this.RA250 = RA250;
  587 + }
  588 +
  589 + public String getRA5() {
  590 + return RA5;
  591 + }
  592 +
  593 + public void setRA5(String RA5) {
  594 + this.RA5 = RA5;
  595 + }
  596 +
  597 + public String getRA50() {
  598 + return RA50;
  599 + }
  600 +
  601 + public void setRA50(String RA50) {
  602 + this.RA50 = RA50;
  603 + }
  604 +
  605 + public String getRA500() {
  606 + return RA500;
  607 + }
  608 +
  609 + public void setRA500(String RA500) {
  610 + this.RA500 = RA500;
  611 + }
  612 +
  613 + public String getRL100() {
  614 + return RL100;
  615 + }
  616 +
  617 + public void setRL100(String RL100) {
  618 + this.RL100 = RL100;
  619 + }
  620 +
  621 + public String getRL250() {
  622 + return RL250;
  623 + }
  624 +
  625 + public void setRL250(String RL250) {
  626 + this.RL250 = RL250;
  627 + }
  628 +
  629 + public String getRL5() {
  630 + return RL5;
  631 + }
  632 +
  633 + public void setRL5(String RL5) {
  634 + this.RL5 = RL5;
  635 + }
  636 +
  637 + public String getRL50() {
  638 + return RL50;
  639 + }
  640 +
  641 + public void setRL50(String RL50) {
  642 + this.RL50 = RL50;
  643 + }
  644 +
  645 + public String getRL500() {
  646 + return RL500;
  647 + }
  648 +
  649 + public void setRL500(String RL500) {
  650 + this.RL500 = RL500;
  651 + }
  652 +
  653 + public String getLL100() {
  654 + return LL100;
  655 + }
  656 +
  657 + public void setLL100(String LL100) {
  658 + this.LL100 = LL100;
  659 + }
  660 +
  661 + public String getLL250() {
  662 + return LL250;
  663 + }
  664 +
  665 + public void setLL250(String LL250) {
  666 + this.LL250 = LL250;
  667 + }
  668 +
  669 + public String getLL5() {
  670 + return LL5;
  671 + }
  672 +
  673 + public void setLL5(String LL5) {
  674 + this.LL5 = LL5;
  675 + }
  676 +
  677 + public String getLL50() {
  678 + return LL50;
  679 + }
  680 +
  681 + public void setLL50(String LL50) {
  682 + this.LL50 = LL50;
  683 + }
  684 +
  685 + public String getLL500() {
  686 + return LL500;
  687 + }
  688 +
  689 + public void setLL500(String LL500) {
  690 + this.LL500 = LL500;
  691 + }
  692 +
  693 + public String getICWMax() {
  694 + return ICWMax;
  695 + }
  696 +
  697 + public void setICWMax(String ICWMax) {
  698 + this.ICWMax = ICWMax;
  699 + }
  700 +
  701 + public String getICWMin() {
  702 + return ICWMin;
  703 + }
  704 +
  705 + public void setICWMin(String ICWMin) {
  706 + this.ICWMin = ICWMin;
  707 + }
  708 +
  709 + public String getLA_ECW() {
  710 + return LA_ECW;
  711 + }
  712 +
  713 + public void setLA_ECW(String LA_ECW) {
  714 + this.LA_ECW = LA_ECW;
  715 + }
  716 +
  717 + public String getLA_ICW() {
  718 + return LA_ICW;
  719 + }
  720 +
  721 + public void setLA_ICW(String LA_ICW) {
  722 + this.LA_ICW = LA_ICW;
  723 + }
  724 +
  725 + public String getRL_ECW() {
  726 + return RL_ECW;
  727 + }
  728 +
  729 + public void setRL_ECW(String RL_ECW) {
  730 + this.RL_ECW = RL_ECW;
  731 + }
  732 +
  733 + public String getRL_ICW() {
  734 + return RL_ICW;
  735 + }
  736 +
  737 + public void setRL_ICW(String RL_ICW) {
  738 + this.RL_ICW = RL_ICW;
  739 + }
  740 +
  741 + public String getT100KCH1() {
  742 + return T100KCH1;
  743 + }
  744 +
  745 + public void setT100KCH1(String t100KCH1) {
  746 + T100KCH1 = t100KCH1;
  747 + }
  748 +
  749 + public String getT100KCH2() {
  750 + return T100KCH2;
  751 + }
  752 +
  753 + public void setT100KCH2(String t100KCH2) {
  754 + T100KCH2 = t100KCH2;
  755 + }
  756 +
  757 + public String getT100KCH3() {
  758 + return T100KCH3;
  759 + }
  760 +
  761 + public void setT100KCH3(String t100KCH3) {
  762 + T100KCH3 = t100KCH3;
  763 + }
  764 +
  765 + public String getT100KCH4() {
  766 + return T100KCH4;
  767 + }
  768 +
  769 + public void setT100KCH4(String t100KCH4) {
  770 + T100KCH4 = t100KCH4;
  771 + }
  772 +
  773 + public String getT100KCH5() {
  774 + return T100KCH5;
  775 + }
  776 +
  777 + public void setT100KCH5(String t100KCH5) {
  778 + T100KCH5 = t100KCH5;
  779 + }
  780 +
  781 + public String getT100KCH6() {
  782 + return T100KCH6;
  783 + }
  784 +
  785 + public void setT100KCH6(String t100KCH6) {
  786 + T100KCH6 = t100KCH6;
  787 + }
  788 +
  789 + public String getT250KCH1() {
  790 + return T250KCH1;
  791 + }
  792 +
  793 + public void setT250KCH1(String t250KCH1) {
  794 + T250KCH1 = t250KCH1;
  795 + }
  796 +
  797 + public String getT250KCH2() {
  798 + return T250KCH2;
  799 + }
  800 +
  801 + public void setT250KCH2(String t250KCH2) {
  802 + T250KCH2 = t250KCH2;
  803 + }
  804 +
  805 + public String getT250KCH3() {
  806 + return T250KCH3;
  807 + }
  808 +
  809 + public void setT250KCH3(String t250KCH3) {
  810 + T250KCH3 = t250KCH3;
  811 + }
  812 +
  813 + public String getT250KCH4() {
  814 + return T250KCH4;
  815 + }
  816 +
  817 + public void setT250KCH4(String t250KCH4) {
  818 + T250KCH4 = t250KCH4;
  819 + }
  820 +
  821 + public String getT250KCH5() {
  822 + return T250KCH5;
  823 + }
  824 +
  825 + public void setT250KCH5(String t250KCH5) {
  826 + T250KCH5 = t250KCH5;
  827 + }
  828 +
  829 + public String getT250KCH6() {
  830 + return T250KCH6;
  831 + }
  832 +
  833 + public void setT250KCH6(String t250KCH6) {
  834 + T250KCH6 = t250KCH6;
  835 + }
  836 +
  837 + public String getT500KCH1() {
  838 + return T500KCH1;
  839 + }
  840 +
  841 + public void setT500KCH1(String t500KCH1) {
  842 + T500KCH1 = t500KCH1;
  843 + }
  844 +
  845 + public String getT500KCH2() {
  846 + return T500KCH2;
  847 + }
  848 +
  849 + public void setT500KCH2(String t500KCH2) {
  850 + T500KCH2 = t500KCH2;
  851 + }
  852 +
  853 + public String getT500KCH3() {
  854 + return T500KCH3;
  855 + }
  856 +
  857 + public void setT500KCH3(String t500KCH3) {
  858 + T500KCH3 = t500KCH3;
  859 + }
  860 +
  861 + public String getT500KCH4() {
  862 + return T500KCH4;
  863 + }
  864 +
  865 + public void setT500KCH4(String t500KCH4) {
  866 + T500KCH4 = t500KCH4;
  867 + }
  868 +
  869 + public String getT500KCH5() {
  870 + return T500KCH5;
  871 + }
  872 +
  873 + public void setT500KCH5(String t500KCH5) {
  874 + T500KCH5 = t500KCH5;
  875 + }
  876 +
  877 + public String getT500KCH6() {
  878 + return T500KCH6;
  879 + }
  880 +
  881 + public void setT500KCH6(String t500KCH6) {
  882 + T500KCH6 = t500KCH6;
  883 + }
  884 +
  885 + public String getT50KCH1() {
  886 + return T50KCH1;
  887 + }
  888 +
  889 + public void setT50KCH1(String t50KCH1) {
  890 + T50KCH1 = t50KCH1;
  891 + }
  892 +
  893 + public String getT50KCH2() {
  894 + return T50KCH2;
  895 + }
  896 +
  897 + public void setT50KCH2(String t50KCH2) {
  898 + T50KCH2 = t50KCH2;
  899 + }
  900 +
  901 + public String getT50KCH3() {
  902 + return T50KCH3;
  903 + }
  904 +
  905 + public void setT50KCH3(String t50KCH3) {
  906 + T50KCH3 = t50KCH3;
  907 + }
  908 +
  909 + public String getT50KCH4() {
  910 + return T50KCH4;
  911 + }
  912 +
  913 + public void setT50KCH4(String t50KCH4) {
  914 + T50KCH4 = t50KCH4;
  915 + }
  916 +
  917 + public String getT50KCH5() {
  918 + return T50KCH5;
  919 + }
  920 +
  921 + public void setT50KCH5(String t50KCH5) {
  922 + T50KCH5 = t50KCH5;
  923 + }
  924 +
  925 + public String getT50KCH6() {
  926 + return T50KCH6;
  927 + }
  928 +
  929 + public void setT50KCH6(String t50KCH6) {
  930 + T50KCH6 = t50KCH6;
  931 + }
  932 +
  933 + public String getT5KCH1() {
  934 + return T5KCH1;
  935 + }
  936 +
  937 + public void setT5KCH1(String t5KCH1) {
  938 + T5KCH1 = t5KCH1;
  939 + }
  940 +
  941 + public String getT5KCH2() {
  942 + return T5KCH2;
  943 + }
  944 +
  945 + public void setT5KCH2(String t5KCH2) {
  946 + T5KCH2 = t5KCH2;
  947 + }
  948 +
  949 + public String getT5KCH3() {
  950 + return T5KCH3;
  951 + }
  952 +
  953 + public void setT5KCH3(String t5KCH3) {
  954 + T5KCH3 = t5KCH3;
  955 + }
  956 +
  957 + public String getT5KCH4() {
  958 + return T5KCH4;
  959 + }
  960 +
  961 + public void setT5KCH4(String t5KCH4) {
  962 + T5KCH4 = t5KCH4;
  963 + }
  964 +
  965 + public String getT5KCH5() {
  966 + return T5KCH5;
  967 + }
  968 +
  969 + public void setT5KCH5(String t5KCH5) {
  970 + T5KCH5 = t5KCH5;
  971 + }
  972 +
  973 + public String getT5KCH6() {
  974 + return T5KCH6;
  975 + }
  976 +
  977 + public void setT5KCH6(String t5KCH6) {
  978 + T5KCH6 = t5KCH6;
  979 + }
  980 +
  981 + public String getTR100() {
  982 + return TR100;
  983 + }
  984 +
  985 + public void setTR100(String TR100) {
  986 + this.TR100 = TR100;
  987 + }
  988 +
  989 + public String getTR250() {
  990 + return TR250;
  991 + }
  992 +
  993 + public void setTR250(String TR250) {
  994 + this.TR250 = TR250;
  995 + }
  996 +
  997 + public String getTR5() {
  998 + return TR5;
  999 + }
  1000 +
  1001 + public void setTR5(String TR5) {
  1002 + this.TR5 = TR5;
  1003 + }
  1004 +
  1005 + public String getTR50() {
  1006 + return TR50;
  1007 + }
  1008 +
  1009 + public void setTR50(String TR50) {
  1010 + this.TR50 = TR50;
  1011 + }
  1012 +
  1013 + public String getTR500() {
  1014 + return TR500;
  1015 + }
  1016 +
  1017 + public void setTR500(String TR500) {
  1018 + this.TR500 = TR500;
  1019 + }
  1020 +
  1021 + public String getECWMin() {
  1022 + return ECWMin;
  1023 + }
  1024 +
  1025 + public void setECWMin(String ECWMin) {
  1026 + this.ECWMin = ECWMin;
  1027 + }
  1028 +
  1029 + public String getECWMax() {
  1030 + return ECWMax;
  1031 + }
  1032 +
  1033 + public void setECWMax(String ECWMax) {
  1034 + this.ECWMax = ECWMax;
  1035 + }
  1036 +
  1037 + public String getDoctor() {
  1038 + return Doctor;
  1039 + }
  1040 +
  1041 + public void setDoctor(String doctor) {
  1042 + Doctor = doctor;
  1043 + }
  1044 +
  1045 + public String getDW() {
  1046 + return DW;
  1047 + }
  1048 +
  1049 + public void setDW(String DW) {
  1050 + this.DW = DW;
  1051 + }
  1052 +
  1053 + public String getASMI() {
  1054 + return ASMI;
  1055 + }
  1056 +
  1057 + public void setASMI(String ASMI) {
  1058 + this.ASMI = ASMI;
  1059 + }
  1060 +
  1061 + public String getArmGrade() {
  1062 + return ArmGrade;
  1063 + }
  1064 +
  1065 + public void setArmGrade(String armGrade) {
  1066 + ArmGrade = armGrade;
  1067 + }
  1068 +
  1069 + public String getLA_bone() {
  1070 + return LA_bone;
  1071 + }
  1072 +
  1073 + public void setLA_bone(String LA_bone) {
  1074 + this.LA_bone = LA_bone;
  1075 + }
  1076 +
  1077 + public String getLL_bone() {
  1078 + return LL_bone;
  1079 + }
  1080 +
  1081 + public void setLL_bone(String LL_bone) {
  1082 + this.LL_bone = LL_bone;
  1083 + }
  1084 +
  1085 + public String getLegGrade() {
  1086 + return LegGrade;
  1087 + }
  1088 +
  1089 + public void setLegGrade(String legGrade) {
  1090 + LegGrade = legGrade;
  1091 + }
  1092 +
  1093 + public String getMuscleBalance() {
  1094 + return MuscleBalance;
  1095 + }
  1096 +
  1097 + public void setMuscleBalance(String muscleBalance) {
  1098 + MuscleBalance = muscleBalance;
  1099 + }
  1100 +
  1101 + public String getRA_bone() {
  1102 + return RA_bone;
  1103 + }
  1104 +
  1105 + public void setRA_bone(String RA_bone) {
  1106 + this.RA_bone = RA_bone;
  1107 + }
  1108 +
  1109 + public String getRL_bone() {
  1110 + return RL_bone;
  1111 + }
  1112 +
  1113 + public void setRL_bone(String RL_bone) {
  1114 + this.RL_bone = RL_bone;
  1115 + }
  1116 +
  1117 + public String getTR_bone() {
  1118 + return TR_bone;
  1119 + }
  1120 +
  1121 + public void setTR_bone(String TR_bone) {
  1122 + this.TR_bone = TR_bone;
  1123 + }
  1124 +
  1125 + public String getUID() {
  1126 + return UID;
  1127 + }
  1128 +
  1129 + public void setUID(String UID) {
  1130 + this.UID = UID;
  1131 + }
  1132 +
  1133 + public String getWaterPercentMax() {
  1134 + return WaterPercentMax;
  1135 + }
  1136 +
  1137 + public void setWaterPercentMax(String waterPercentMax) {
  1138 + WaterPercentMax = waterPercentMax;
  1139 + }
  1140 +
  1141 + public String getWaterPercentMin() {
  1142 + return WaterPercentMin;
  1143 + }
  1144 +
  1145 + public void setWaterPercentMin(String waterPercentMin) {
  1146 + WaterPercentMin = waterPercentMin;
  1147 + }
  1148 +
  1149 + public String getImage_name() {
  1150 + return image_name;
  1151 + }
  1152 +
  1153 + public void setImage_name(String image_name) {
  1154 + this.image_name = image_name;
  1155 + }
  1156 +
  1157 + public String getMessage() {
  1158 + return message;
  1159 + }
  1160 +
  1161 + public void setMessage(String message) {
  1162 + this.message = message;
  1163 + }
113 1164  
114 1165 public String getBregmatic() {
115 1166 return bregmatic;
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/VolumeComponentAnalysisController.java View file @ bf56f56
... ... @@ -5,15 +5,18 @@
5 5 import com.lyms.platform.common.base.BaseController;
6 6 import com.lyms.platform.common.result.BaseObjectResponse;
7 7 import com.lyms.platform.common.result.BaseResponse;
  8 +import com.lyms.platform.common.utils.JsonUtil;
8 9 import com.lyms.platform.operate.web.facade.MeasureInfoFacade;
9 10 import com.lyms.platform.operate.web.facade.VolumeComponentAnalysisFacade;
10 11 import com.lyms.platform.pojo.VolumeComponentAnalysisModel;
  12 +import org.apache.commons.io.IOUtils;
11 13 import org.springframework.beans.factory.annotation.Autowired;
12 14 import org.springframework.stereotype.Controller;
13 15 import org.springframework.web.bind.annotation.*;
14 16  
15 17 import javax.servlet.http.HttpServletRequest;
16 18 import javax.validation.Valid;
  19 +import java.io.IOException;
17 20 import java.text.ParseException;
18 21  
19 22 /**
20 23  
... ... @@ -48,8 +51,17 @@
48 51 */
49 52 @RequestMapping(method = RequestMethod.POST, value = "/addComponentAnalysis")
50 53 @ResponseBody
51   - public BaseObjectResponse addComponentAnalysis(@RequestBody @Valid VolumeComponentAnalysisModel volume) {
  54 +// public BaseObjectResponse addComponentAnalysis(@RequestBody @Valid VolumeComponentAnalysisModel volume,HttpServletRequest request) {
  55 + public BaseObjectResponse addComponentAnalysis(HttpServletRequest request) {
52 56  
  57 + try {
  58 + String json = IOUtils.toString(request.getInputStream());
  59 + System.out.println(json);
  60 + } catch (IOException e) {
  61 + e.printStackTrace();
  62 + }
  63 + VolumeComponentAnalysisModel volume = null;
  64 + System.out.println(volume);
53 65 return volumeComponentAnalysisFacade.addComponentAnalysis(volume);
54 66  
55 67 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ bf56f56
... ... @@ -3371,7 +3371,7 @@
3371 3371 babyQuery.setQueryNo(request.getQueryNo());
3372 3372 //滦平、隆化-儿保管理-全部 加健康/高危筛选
3373 3373 babyQuery.setHealthHigh(null!=request.getHealthHigh()?request.getHealthHigh():null);
3374   -// System.out.println(babyQuery.convertToQuery().convertToMongoQuery().toString());
  3374 + System.out.println("========"+babyQuery.convertToQuery().convertToMongoQuery().toString());
3375 3375 List <BabyModel> models = babyBookbuildingService.queryBabyBuildByCond(babyQuery, "created", Sort.Direction.DESC);
3376 3376  
3377 3377 return models;
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/VolumeComponentAnalysisFacade.java View file @ bf56f56
1 1 package com.lyms.platform.operate.web.facade;
2 2  
3 3 import com.alibaba.druid.util.StringUtils;
  4 +import com.lyms.platform.biz.service.PatientWeightService2;
  5 +import com.lyms.platform.biz.service.PatientsService;
4 6 import com.lyms.platform.common.constants.ErrorCodeConstants;
5 7 import com.lyms.platform.common.enums.YnEnums;
6 8 import com.lyms.platform.common.result.BaseObjectResponse;
7 9  
... ... @@ -15,8 +17,11 @@
15 17 import com.lyms.platform.operate.web.service.impl.ComputeKulServiceManager;
16 18 import com.lyms.platform.operate.web.utils.ReportConfig;
17 19 import com.lyms.platform.pojo.BodyMassAnalysisModel;
  20 +import com.lyms.platform.pojo.PatientWeight;
18 21 import com.lyms.platform.pojo.Patients;
19 22 import com.lyms.platform.pojo.VolumeComponentAnalysisModel;
  23 +import com.lyms.platform.query.PatientsQuery;
  24 +import org.apache.commons.collections.CollectionUtils;
20 25 import org.springframework.beans.factory.annotation.Autowired;
21 26 import org.springframework.data.domain.Sort;
22 27 import org.springframework.data.mongodb.core.MongoTemplate;
23 28  
... ... @@ -50,8 +55,47 @@
50 55  
51 56 @Autowired
52 57 private HealthChargeFacade healthChargeFacade;
  58 + @Autowired
  59 + private PatientWeightService2 patientWeightService2;
  60 + @Autowired
  61 + private PatientsService patientsService;
53 62  
54 63 public BaseObjectResponse addComponentAnalysis(VolumeComponentAnalysisModel volume) {
  64 +
  65 + BaseObjectResponse objectResponse = new BaseObjectResponse();
  66 + PatientsQuery patientsQuery = new PatientsQuery();
  67 + patientsQuery.setType(1);
  68 + patientsQuery.setCardNo(volume.getMemberId());
  69 + patientsQuery.setYn(YnEnums.YES.getId());
  70 + List<Patients> patientses = patientsService.queryPatient(patientsQuery);
  71 + if (CollectionUtils.isEmpty(patientses)) {
  72 + objectResponse.setErrorcode(ErrorCodeConstants.NO_DATA);
  73 + objectResponse.setErrormsg("测量用户还未建档");
  74 + return objectResponse;
  75 + }
  76 +
  77 + Patients pat = patientses.get(0);
  78 + volume.setPid(pat.getPid());
  79 + volume.setPatientId(pat.getId());
  80 + volume.setCertNo(pat.getCardNo());
  81 + volume.setCertType(pat.getPcerteTypeId());
  82 + volume.setPhone(pat.getPhone());
  83 + volume.setVcCardNo(pat.getVcCardNo());
  84 +
  85 +
  86 + //查询当前测量体重记录
  87 + List<PatientWeight> patientWeights = patientWeightService2.queryPatientWeight(Query.query(Criteria.where("pid").is(pat.getPid())));
  88 + if (CollectionUtils.isNotEmpty(patientWeights)) {
  89 + PatientWeight patientWeight = patientWeights.get(0);
  90 + if (patientWeight != null)
  91 + {
  92 + volume.setBregmatic(patientWeight.getBregmatic());
  93 + volume.setBeforeWeight(patientWeight.getBeforeWeight());
  94 + }
  95 + }
  96 +
  97 +
  98 +
55 99 //20200204 李泉渝 @涛涛 同一天多次测量就是修改
56 100 VolumeComponentAnalysisModel vc= mongoTemplate.findOne(Query.query(Criteria.where("patientId").is(volume.getPatientId())
57 101 .and("certNo").is(volume.getCertNo())
... ... @@ -67,7 +111,7 @@
67 111 Update update = MongoConvertHelper.convertToNativeUpdate(ReflectionUtils.getUpdateField(volume));
68 112 mongoTemplate.updateFirst(Query.query(Criteria.where("id").is(vc.getId())), update, VolumeComponentAnalysisModel.class);
69 113 }
70   - BaseObjectResponse objectResponse = new BaseObjectResponse();
  114 +
71 115 objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
72 116 objectResponse.setErrormsg("成功");
73 117 return objectResponse;