Commit e9b661714335394c2a41271316cc058e3e33e8a0
1 parent
93cb4a4aca
Exists in
master
and in
7 other branches
修改产检删除
Showing 2 changed files with 250 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/AntExManagerResult.java
View file @
e9b6617
| 1 | +package com.lyms.platform.operate.web.result; | |
| 2 | + | |
| 3 | +import com.lyms.platform.common.base.IBasicResultConvert; | |
| 4 | +import com.lyms.platform.common.utils.DateUtil; | |
| 5 | +import com.lyms.platform.pojo.AntExChuModel; | |
| 6 | +import com.lyms.platform.pojo.AntExRecordModel; | |
| 7 | +import com.lyms.platform.pojo.AntenatalExaminationModel; | |
| 8 | +import com.lyms.platform.pojo.Patients; | |
| 9 | + | |
| 10 | +import java.util.List; | |
| 11 | + | |
| 12 | +/** | |
| 13 | + * 产检管理列表 | |
| 14 | + * | |
| 15 | + * Created by Administrator on 2016/12/19 0019. | |
| 16 | + */ | |
| 17 | +public class AntExManagerResult { | |
| 18 | + private String id; | |
| 19 | + private String parentId; | |
| 20 | + //产检日期 | |
| 21 | + private String checkTime; | |
| 22 | + //条形码 | |
| 23 | + private String barCode; | |
| 24 | + //姓名 | |
| 25 | + private String name; | |
| 26 | + //年龄 | |
| 27 | + private String age; | |
| 28 | + //产检孕周 | |
| 29 | + private String cDueWeek; | |
| 30 | + | |
| 31 | + //高危因素 | |
| 32 | + private List riskFactor; | |
| 33 | + //高危评分 | |
| 34 | + private String riskScore; | |
| 35 | + //本院产检次数 | |
| 36 | + private int chTimes; | |
| 37 | + | |
| 38 | + //总产检次数 | |
| 39 | + private int tTimes; | |
| 40 | + //预约产检日期 | |
| 41 | + private String nextCheckTime; | |
| 42 | + //预产期 | |
| 43 | + private String dueDate; | |
| 44 | + //产检医生 | |
| 45 | + private String checkDoctor; | |
| 46 | + //登记人 | |
| 47 | + private String lName; | |
| 48 | + //联系电话 | |
| 49 | + private String phone; | |
| 50 | + | |
| 51 | + public AntexListResult convertToResult(AntExRecordModel e) { | |
| 52 | + setParentId(e.getParentId()); | |
| 53 | + setId(e.getId()); | |
| 54 | + setCheckTime(DateUtil.getyyyy_MM_dd(e.getCheckTime())); | |
| 55 | + setName(e.getName()); | |
| 56 | + setAge(DateUtil.getAge(e.getBrith()) + ""); | |
| 57 | + setPhone(e.getPhone()); | |
| 58 | + int days=DateUtil.getDays(e.getCheckTime(),e.getLastMenses()); | |
| 59 | +// setcDueWeek(e.getCheckTime()); | |
| 60 | + return null; | |
| 61 | + } | |
| 62 | + | |
| 63 | + public String getId() { | |
| 64 | + return id; | |
| 65 | + } | |
| 66 | + | |
| 67 | + public void setId(String id) { | |
| 68 | + this.id = id; | |
| 69 | + } | |
| 70 | + | |
| 71 | + public String getParentId() { | |
| 72 | + return parentId; | |
| 73 | + } | |
| 74 | + | |
| 75 | + public void setParentId(String parentId) { | |
| 76 | + this.parentId = parentId; | |
| 77 | + } | |
| 78 | + | |
| 79 | + public String getCheckTime() { | |
| 80 | + return checkTime; | |
| 81 | + } | |
| 82 | + | |
| 83 | + public void setCheckTime(String checkTime) { | |
| 84 | + this.checkTime = checkTime; | |
| 85 | + } | |
| 86 | + | |
| 87 | + public String getBarCode() { | |
| 88 | + return barCode; | |
| 89 | + } | |
| 90 | + | |
| 91 | + public void setBarCode(String barCode) { | |
| 92 | + this.barCode = barCode; | |
| 93 | + } | |
| 94 | + | |
| 95 | + public String getName() { | |
| 96 | + return name; | |
| 97 | + } | |
| 98 | + | |
| 99 | + public void setName(String name) { | |
| 100 | + this.name = name; | |
| 101 | + } | |
| 102 | + | |
| 103 | + public String getAge() { | |
| 104 | + return age; | |
| 105 | + } | |
| 106 | + | |
| 107 | + public void setAge(String age) { | |
| 108 | + this.age = age; | |
| 109 | + } | |
| 110 | + | |
| 111 | + public String getcDueWeek() { | |
| 112 | + return cDueWeek; | |
| 113 | + } | |
| 114 | + | |
| 115 | + public void setcDueWeek(String cDueWeek) { | |
| 116 | + this.cDueWeek = cDueWeek; | |
| 117 | + } | |
| 118 | + | |
| 119 | + public List getRiskFactor() { | |
| 120 | + return riskFactor; | |
| 121 | + } | |
| 122 | + | |
| 123 | + public void setRiskFactor(List riskFactor) { | |
| 124 | + this.riskFactor = riskFactor; | |
| 125 | + } | |
| 126 | + | |
| 127 | + public String getRiskScore() { | |
| 128 | + return riskScore; | |
| 129 | + } | |
| 130 | + | |
| 131 | + public void setRiskScore(String riskScore) { | |
| 132 | + this.riskScore = riskScore; | |
| 133 | + } | |
| 134 | + | |
| 135 | + public int getChTimes() { | |
| 136 | + return chTimes; | |
| 137 | + } | |
| 138 | + | |
| 139 | + public void setChTimes(int chTimes) { | |
| 140 | + this.chTimes = chTimes; | |
| 141 | + } | |
| 142 | + | |
| 143 | + public int gettTimes() { | |
| 144 | + return tTimes; | |
| 145 | + } | |
| 146 | + | |
| 147 | + public void settTimes(int tTimes) { | |
| 148 | + this.tTimes = tTimes; | |
| 149 | + } | |
| 150 | + | |
| 151 | + public String getNextCheckTime() { | |
| 152 | + return nextCheckTime; | |
| 153 | + } | |
| 154 | + | |
| 155 | + public void setNextCheckTime(String nextCheckTime) { | |
| 156 | + this.nextCheckTime = nextCheckTime; | |
| 157 | + } | |
| 158 | + | |
| 159 | + public String getDueDate() { | |
| 160 | + return dueDate; | |
| 161 | + } | |
| 162 | + | |
| 163 | + public void setDueDate(String dueDate) { | |
| 164 | + this.dueDate = dueDate; | |
| 165 | + } | |
| 166 | + | |
| 167 | + public String getCheckDoctor() { | |
| 168 | + return checkDoctor; | |
| 169 | + } | |
| 170 | + | |
| 171 | + public void setCheckDoctor(String checkDoctor) { | |
| 172 | + this.checkDoctor = checkDoctor; | |
| 173 | + } | |
| 174 | + | |
| 175 | + public String getlName() { | |
| 176 | + return lName; | |
| 177 | + } | |
| 178 | + | |
| 179 | + public void setlName(String lName) { | |
| 180 | + this.lName = lName; | |
| 181 | + } | |
| 182 | + | |
| 183 | + public String getPhone() { | |
| 184 | + return phone; | |
| 185 | + } | |
| 186 | + | |
| 187 | + public void setPhone(String phone) { | |
| 188 | + this.phone = phone; | |
| 189 | + } | |
| 190 | +} |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/OrganizationGroupsResult.java
View file @
e9b6617
| 1 | +package com.lyms.platform.operate.web.result; | |
| 2 | + | |
| 3 | +import com.lyms.platform.common.enums.GroupEnums; | |
| 4 | +import com.lyms.platform.pojo.OrganizationGroups; | |
| 5 | +import com.lyms.platform.pojo.Patients; | |
| 6 | +import com.lyms.platform.pojo.PostReviewModel; | |
| 7 | + | |
| 8 | +import java.util.List; | |
| 9 | + | |
| 10 | +/** | |
| 11 | + * 机构组 | |
| 12 | + * Created by Administrator on 2016/12/22 0022. | |
| 13 | + */ | |
| 14 | +public class OrganizationGroupsResult { | |
| 15 | + | |
| 16 | + private String id; | |
| 17 | + private String groupName; | |
| 18 | + private int count; | |
| 19 | + //建档方式 | |
| 20 | + private String bType; | |
| 21 | + | |
| 22 | + public String getbType() { | |
| 23 | + return bType; | |
| 24 | + } | |
| 25 | + | |
| 26 | + public void setbType(String bType) { | |
| 27 | + this.bType = bType; | |
| 28 | + } | |
| 29 | + | |
| 30 | + public OrganizationGroupsResult convertToResult(OrganizationGroups groups) { | |
| 31 | + setId(groups.getId()); | |
| 32 | + setGroupName(groups.getGroupName()); | |
| 33 | + setbType(GroupEnums.BuildType.byTitle(groups.getbType())); | |
| 34 | + return this; | |
| 35 | + } | |
| 36 | + | |
| 37 | + public String getId() { | |
| 38 | + return id; | |
| 39 | + } | |
| 40 | + | |
| 41 | + public void setId(String id) { | |
| 42 | + this.id = id; | |
| 43 | + } | |
| 44 | + | |
| 45 | + public String getGroupName() { | |
| 46 | + return groupName; | |
| 47 | + } | |
| 48 | + | |
| 49 | + public void setGroupName(String groupName) { | |
| 50 | + this.groupName = groupName; | |
| 51 | + } | |
| 52 | + | |
| 53 | + public int getCount() { | |
| 54 | + return count; | |
| 55 | + } | |
| 56 | + | |
| 57 | + public void setCount(int count) { | |
| 58 | + this.count = count; | |
| 59 | + } | |
| 60 | +} |