Commit 0c2303357c00812570fa2d9a9c445c4a501911a8

Authored by wtt
1 parent e6bd399d8c

wutaotao 20190525 excel

Showing 6 changed files with 443 additions and 3 deletions

platform-common/src/main/java/com/lyms/platform/common/utils/ExcelUtil.java View file @ 0c23033
... ... @@ -250,7 +250,110 @@
250 250 e.printStackTrace();
251 251 }
252 252 }
  253 + public static void keyPregnantWomenExclFile2(String filePath, OutputStream out, List<Map<String, Object>> values) {
  254 + File file = new File(filePath);
  255 + InputStream in = null;
  256 + Workbook wb = null;
  257 + try {
  258 + in = new FileInputStream(file);
  259 + wb = Workbook.getWorkbook(in);
  260 + WorkbookSettings settings = new WorkbookSettings();
  261 + settings.setWriteAccess(null);
  262 + WritableWorkbook book = wb.createWorkbook(out, wb, settings);
  263 + WritableSheet ws = book.getSheet(0);
253 264  
  265 + WritableFont contentFont = new WritableFont(WritableFont.ARIAL, 12, WritableFont.NO_BOLD, false, UnderlineStyle.NO_UNDERLINE, Colour.BLACK);
  266 + WritableCellFormat contentFormt = new WritableCellFormat(contentFont);
  267 + contentFormt.setAlignment(jxl.format.Alignment.CENTRE);
  268 + contentFormt.setBorder(jxl.format.Border.ALL, jxl.format.BorderLineStyle.THIN);
  269 + contentFormt.setVerticalAlignment(VerticalAlignment.CENTRE);
  270 +
  271 + int arrayIndex = 0;
  272 + for (int i = 3, len = values.size() + 3; i < len; i++, arrayIndex++) {
  273 +
  274 + try {
  275 + Set<String> sets = values.get(arrayIndex).keySet();
  276 + int j = 0;
  277 + for (String key : sets) {
  278 + String value = values.get(arrayIndex).get(key) + "";
  279 + if (StringUtils.isNotEmpty(value) && StringUtils.isNum(value)) {
  280 + WritableCellFormat wcfN = new WritableCellFormat(contentFont);
  281 + wcfN.setBorder(jxl.format.Border.ALL, jxl.format.BorderLineStyle.THIN);
  282 + wcfN.setAlignment(jxl.format.Alignment.CENTRE);
  283 + wcfN.setVerticalAlignment(VerticalAlignment.CENTRE);
  284 + Number labelNF = new Number(j, i, Integer.parseInt(value), wcfN);
  285 + ws.addCell(labelNF);
  286 + } else {
  287 + ws.addCell(new Label(j, i, value, contentFormt));
  288 + }
  289 + j++;
  290 + }
  291 + } catch (Exception e) {
  292 + continue;
  293 + }
  294 +
  295 + }
  296 +
  297 + book.write();
  298 + book.close();
  299 + wb.close();
  300 + } catch (Exception e) {
  301 + e.printStackTrace();
  302 + }
  303 + }
  304 +
  305 + public static void keyPregnantWomenExclFile(String filePath, OutputStream out, List<Map<String, Object>> data, Map<String, String> columName) {
  306 + File file = new File(filePath);
  307 + InputStream in = null;
  308 + Workbook wb = null;
  309 + try {
  310 + in = new FileInputStream(file);
  311 + wb = Workbook.getWorkbook(in);
  312 + WorkbookSettings settings = new WorkbookSettings();
  313 + settings.setWriteAccess(null);
  314 + WritableWorkbook book = wb.createWorkbook(out, wb, settings);
  315 + WritableSheet ws = book.getSheet(0);
  316 +
  317 + /**
  318 + * ่ฎพ็ฝฎๅ•ๅ…ƒๆ ผๆ ทๅผ
  319 + */
  320 + WritableFont wf = new WritableFont(WritableFont.ARIAL, 12, WritableFont.BOLD, false, UnderlineStyle.NO_UNDERLINE, Colour.BLACK);
  321 + WritableCellFormat wcf = new WritableCellFormat(wf);
  322 + ws.setRowView(0, 300); // ่ฎพ็ฝฎๆŒ‡ๅฎš่กŒ้ซ˜
  323 + // ่ฎพ็ฝฎๅˆ—ๅฎฝ
  324 + for (int j = 0, columLen = columName.size(); j < columLen; j++) {
  325 + ws.setColumnView(j, 15);
  326 + }
  327 + // ๅกซๅ……ๆ•ฐๆฎ็š„ๅ†…ๅฎน
  328 + Map<String, Object> map;
  329 + for (int i = 0, len = data.size(); i < len; i++) {
  330 + map = data.get(i);
  331 + Iterator<String> ite = columName.keySet().iterator();
  332 + int j = 0;
  333 + String keyORvalue = "";
  334 + String keyName = "";
  335 + while (ite.hasNext()) {
  336 + keyName = ite.next();
  337 + if (i > 0) { // ็ฑปๅฎนๆ•ฐๆฎ
  338 + keyORvalue = map.get(keyName) == null ? "" : map.get(keyName).toString();
  339 + } else { // ็ฌฌไธ€่กŒๅˆ—ๅ
  340 + keyORvalue = map.get(keyName) == null ? "" : map.get(keyName).toString();
  341 + keyName = columName.get(keyName);
  342 + ws.addCell(new Label(j, 0, keyName, wcf));
  343 + }
  344 + ws.addCell(new Label(j, 1 + i, keyORvalue));
  345 + j++;
  346 + }
  347 + }
  348 +
  349 + book.write();
  350 + book.close();
  351 + wb.close();
  352 +
  353 + } catch (Exception e) {
  354 + e.printStackTrace();
  355 + }
  356 + }
254 357  
255 358 public static void writeWhSieveExclFile(String filePath, OutputStream out, List<Map<String, String>> values, String titleName) {
256 359 File file = new File(filePath);
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PuerperaManageController.java View file @ 0c23033
... ... @@ -147,10 +147,21 @@
147 147 LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
148 148 patientFacade.exportAllPuer(patientsQueryRequest,loginState.getId(),response);
149 149 }
  150 + /**
  151 + * ่ฏธๅŸŽ้‡็‚นๅญ•ๅฆ‡็™ป่ฎฐ่กจๅฏผๅ‡บ
  152 + * @param request
  153 + * @return
  154 + */
  155 + @RequestMapping(value = "/zcKeyPregnantWomenExcel", method = RequestMethod.GET)
  156 + @TokenRequired
  157 + public void zcKeyPregnantWomenExcel(@RequestParam(value = "ids",required = false) String ids,
  158 + HttpServletRequest request,HttpServletResponse response) {
  159 + LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
  160 + patientFacade.zcKeyPregnantWomenExcel(ids,response,loginState.getId());
  161 + }
150 162  
151   -
152 163 /**
153   - * ๅฏผๅ‡บๅญ•ไบงๅฆ‡ๅฅๅบท็ฎก็†็™ป่ฎฐ่กจ(ๅ”ๅฑฑๆปฆๅŽฟ)
  164 + * ๅฏผๅ‡บๅญ•ไบงๅฆ‡ๅฅๅบท็ฎก็†็™ป่ฎฐ่กจ(ๅ”ๅฑฑๆปฆๅŽฟ
154 165 * @param patientsQueryRequest
155 166 * @param request
156 167 * @return
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ 0c23033
... ... @@ -48,6 +48,7 @@
48 48 import scala.util.parsing.combinator.testing.Str;
49 49  
50 50 import javax.servlet.http.HttpServletResponse;
  51 +import java.io.IOException;
51 52 import java.io.OutputStream;
52 53 import java.util.*;
53 54 import java.util.concurrent.Future;
... ... @@ -772,7 +773,16 @@
772 773 if (end > patientses.size()) {
773 774 end = patientses.size();
774 775 }
775   - listFuture.add(commonThreadPool.submit(new QuanPatientWorker(patientses.subList(i, end), usersService, hospital, antExService, basicConfigService, patientsService, organizationService)));
  776 + listFuture.add(
  777 + commonThreadPool.submit(
  778 + new QuanPatientWorker(patientses.subList(i, end),
  779 + usersService,
  780 + hospital,
  781 + antExService,
  782 + basicConfigService,
  783 + patientsService,
  784 + organizationService))
  785 + );
776 786 }
777 787 for (Future f : listFuture) {
778 788 try {
779 789  
... ... @@ -1042,7 +1052,151 @@
1042 1052 }
1043 1053 }
1044 1054  
  1055 + public void zcKeyPregnantWomenExcel(String ids, HttpServletResponse response,Integer userId) {
1045 1056  
  1057 + try {
  1058 + //1 ่Žทๅ–listๆ•ฐๆฎ
  1059 + List<String> authors = Arrays.asList(ids.split(","));
  1060 + Query query = Query.query(Criteria.where("id").in(authors));
  1061 + List<Patients> patientsList = mongoTemplate.find(query, Patients.class);
  1062 +
  1063 + String hospital = autoMatchFacade.getHospitalId(userId);
  1064 + List<KeyPregnantWomenExcelModel> keyPregnantWomenExcelModelList = new ArrayList<>();
  1065 + if (CollectionUtils.isNotEmpty(patientsList)) {
  1066 +
  1067 + for (Patients patients : patientsList) {
  1068 + KeyPregnantWomenExcelModel keyPregnantWomenExcelModel = new KeyPregnantWomenExcelModel();
  1069 + BeanUtils.copy(patients, keyPregnantWomenExcelModel);
  1070 + //ๅง“ๅ๏ผšไบงๅฆ‡ๅง“ๅ ==username
  1071 + keyPregnantWomenExcelModel.setUsername(patients.getUsername());
  1072 + //ๅนด้พ„๏ผšไบงๅฆ‡ๅนด้พ„ ==age
  1073 + keyPregnantWomenExcelModel.setAge(patients.getAge());
  1074 + //ๆˆท็ฑ๏ผšๆœฌๅธ‚๏ผˆๅธธไฝ๏ผ‰ใ€ๅค–ๅœฐๅธธไฝ๏ผˆๆš‚ไฝ๏ผ‰ใ€ๆตๅŠจ ==address
  1075 + keyPregnantWomenExcelModel.setAddress(patients.getAddress());
  1076 +
  1077 + AntExChuModel data = antExService.findOne(patients.getId());
  1078 + //ๅญ•ๆฌก๏ผšๆ€€ๅญ•ๆฌกๆ•ฐ== ๆŸฅ็œ‹ๆฏๅญๅฎž็Žฐ
  1079 + keyPregnantWomenExcelModel.setPregnancyTimes(data==null?0:(data.getPregnancyTimes()==null ? 0:data.getPregnancyTimes()));
  1080 + //ไบงๆฌก๏ผš็”Ÿไบงๆฌกๆ•ฐ== ๆŸฅ็œ‹ๆฏๅญๅฎž็Žฐ
  1081 + keyPregnantWomenExcelModel.setProdTime(data==null?1:(data.getProdTime()==null ? 1:data.getProdTime()+1));
  1082 + //้ข„ไบงๆœŸ๏ผšไบงๅฆ‡้ข„ไบงๆœŸ==dueDate
  1083 + keyPregnantWomenExcelModel.setDueDate(DateUtil.getyyyy_MM_dd(patients.getDueDate()));
  1084 + //ๅฑ…ไฝๅœฐๅ€๏ผš็Žฐไฝๅœฐๅ€== addressRegister๏ผˆๅญ•ๅฆ‡ๅฑ…ไฝๅœฐ๏ผ‰addressPostRest๏ผˆไบงๅŽไผ‘ๅ…ปๅœฐ๏ผ‰
  1085 + keyPregnantWomenExcelModel.setAddressRegister(patients.getAddressRegister());
  1086 + //ๅญ•ๅฆ‡ๆ‰‹ๆœบ๏ผšไบงๅฆ‡ๆ‰‹ๆœบๅท==phone
  1087 + keyPregnantWomenExcelModel.setPhone(patients.getPhone());
  1088 + //ไธˆๅคซๆ‰‹ๆœบ๏ผšไธˆๅคซๆ‰‹ๆœบๅท==husbandPhone
  1089 + keyPregnantWomenExcelModel.setHusbandPhone(patients.getHusbandPhone());
  1090 + //้‡็‚น็–พ็—…๏ผš้ซ˜ๅฑๅ› ็ด ๅ็งฐ == rFactor
  1091 + List<String> factor = patients.getRiskFactorId();
  1092 + getrFactor(patients, keyPregnantWomenExcelModel, factor);
  1093 + //้ซ˜ๅฑ็ญ‰็บง๏ผšๅฑ•็คบ็บข/ๆฉ™/้ป„/็ดซ ๏ผˆไธๆ˜พ็คบ็ปฟ่‰ฒ๏ผ‰==rLevel
  1094 + getRiskLevelId(patients, keyPregnantWomenExcelModel);
  1095 + keyPregnantWomenExcelModelList.add(keyPregnantWomenExcelModel);
  1096 + }
  1097 + }
  1098 + List<Map<String, Object>> list = new ArrayList<>();
  1099 + for (KeyPregnantWomenExcelModel keyPregnantWomenExcelModel : keyPregnantWomenExcelModelList) {
  1100 + Map<String, Object> map = BeanUtils.objectToObjectMap(keyPregnantWomenExcelModel);
  1101 + for (String key : map.keySet()) {
  1102 + if (org.apache.commons.lang.StringUtils.isEmpty(String.valueOf(map.get(key)))) {
  1103 + map.put(key, " ");
  1104 + }
  1105 + }
  1106 + list.add(map);
  1107 + }
  1108 + //2:excelๅฏผๅ‡บ
  1109 +// Map<String, String> header = new LinkedHashMap<>();
  1110 +// header.put(" ", "ๆŽฅๅ—ๆ—ฅๆœŸ");
  1111 +// header.put(" ", "ไธ‹ๅ‘ๆ—ฅๆœŸ");
  1112 +// header.put(" ", "็ผ–ๅท");
  1113 +// header.put("username", "ๅง“ๅ");
  1114 +// header.put("age", "ๅนด้พ„");
  1115 +// header.put("address", "ๆˆท็ฑ");
  1116 +// header.put("pregnancyTimes", "ๅญ•ๆฌก");
  1117 +// header.put("prodTime", "ไบงๆฌก");
  1118 +// header.put("dueDate", "้ข„ไบงๆœŸ");
  1119 +// header.put("addressRegister", "ๅฑ…ไฝๅœฐๅ€");
  1120 +// header.put("phone", "ๅญ•ๅฆ‡ๆ‰‹ๆœบ");
  1121 +// header.put("husbandPhone", "ไธˆๅคซๆ‰‹ๆœบ");
  1122 +// header.put("rFactor", "้‡็‚น็–พ็—…");
  1123 +// header.put("rLevel", "้ซ˜ๅฑ็ญ‰็บง");
  1124 +// String date= DateUtil.getyyyy_MM_dd(new Date());
  1125 +// header.put(date.toString(),"็กฎ่ฎคๆ—ถ้—ด");
  1126 +// header.put(date.toString(),"้š่ฎฟ-็ฌฌไธ€ๆฌกๆ—ฅๆœŸ");
  1127 + response.setContentType("application/force-download");
  1128 + response.setHeader("Content-Disposition", "attachment;filename=" + new String(("้‡็‚นๅญ•ๅฆ‡็™ป่ฎฐ่กจ.xls").getBytes("UTF-8"), "ISO-8859-1"));
  1129 +// ExcelUtil.toExcel(response.getOutputStream(), list, header);
  1130 + String path = this.getClass().getResource("/").getPath() + "zddc.xls";
  1131 +// ExcelUtil.keyPregnantWomenExclFile(path, response.getOutputStream(), list,header);
  1132 +// ExcelUtil.keyPregnantWomenExclFile2(path, response.getOutputStream(), list);
  1133 +
  1134 + ExcelUtil.writeWhExclFile(path, response.getOutputStream(), list);
  1135 + /*
  1136 + httpServletResponse.setContentType("application/force-download");
  1137 + httpServletResponse.setHeader("Content-Disposition", "attachment;filename=" + new String(("ๅˆ†ๅจฉ็™ป่ฎฐ่กจ.xls").getBytes("UTF-8"), "ISO-8859-1"));
  1138 + ExcelUtil.writeWhExclFile(path, httpServletResponse.getOutputStream(), list);
  1139 + */
  1140 + } catch (IOException e) {
  1141 + ExceptionUtils.catchException(e, e.getMessage()); }
  1142 + }
  1143 +
  1144 + private void getRiskLevelId(Patients patients, KeyPregnantWomenExcelModel keyPregnantWomenExcelModel) {
  1145 + List level = new ArrayList();
  1146 + if (org.apache.commons.lang.StringUtils.isNotEmpty(patients.getRiskLevelId())) {
  1147 + try {
  1148 + List<String> list = JsonUtil.jkstr2Obj(patients.getRiskLevelId(), List.class);
  1149 + for (String str : list) {
  1150 + BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(str);
  1151 + if (null != basicConfig) {
  1152 + Map map = new HashMap();
  1153 + basicConfig.replenRisk(map);
  1154 + // String name = basicConfig.getName();
  1155 + // if (name.indexOf("้ข„่ญฆ") > -1) {
  1156 + // name = name.replace("้ข„่ญฆ", "");
  1157 + // }
  1158 + // map.put("name", name);
  1159 + // map.put("color", "risk_" + RiskDefaultTypeEnum.getColor(name));
  1160 + level.add(map);
  1161 + }
  1162 + }
  1163 + } catch (Exception e) {
  1164 + ExceptionUtils.catchException(e, "patients.getRiskLevelId error.");
  1165 + }
  1166 + keyPregnantWomenExcelModel.setrLevel(getLevel(HighScoreResult.filter(level)));
  1167 + }
  1168 + }
  1169 +
  1170 + private void getrFactor(Patients patients, KeyPregnantWomenExcelModel keyPregnantWomenExcelModel, List<String> factor) {
  1171 + if (CollectionUtils.isNotEmpty(factor)) {
  1172 + StringBuilder sb = new StringBuilder(56);
  1173 + for (String srt : factor) {
  1174 + if (org.apache.commons.lang.StringUtils.isNotEmpty(srt)) {
  1175 + BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(srt);
  1176 + if (null != basicConfig && sb.indexOf(basicConfig.getName()) == -1) {
  1177 + sb.append(basicConfig.getName()).append(',');
  1178 + }
  1179 + }
  1180 + }
  1181 + if (sb.toString().endsWith(",")) {
  1182 + keyPregnantWomenExcelModel.setrFactor(sb.substring(0, sb.length() - 1));
  1183 + } else {
  1184 + keyPregnantWomenExcelModel.setrFactor(sb.toString());
  1185 + }
  1186 +
  1187 + if (!"-".equals(keyPregnantWomenExcelModel.getrFactor()) && org.apache.commons.lang.StringUtils.isNotEmpty(patients.getoRiskFactor())) {
  1188 + keyPregnantWomenExcelModel.setrFactor(keyPregnantWomenExcelModel.getrFactor()+","+patients.getoRiskFactor());
  1189 + }else if (org.apache.commons.lang.StringUtils.isNotEmpty(patients.getoRiskFactor()))
  1190 + {
  1191 + keyPregnantWomenExcelModel.setrFactor(patients.getoRiskFactor());
  1192 + }
  1193 + }
  1194 + else if (org.apache.commons.lang.StringUtils.isNotEmpty(patients.getoRiskFactor()))
  1195 + {
  1196 + keyPregnantWomenExcelModel.setrFactor(patients.getoRiskFactor());
  1197 + }
  1198 + }
  1199 +
1046 1200 /**
1047 1201 * ๅ”ๅฑฑ๏ผˆๆปฆๅŽฟ๏ผ‰้œ€ๆฑ‚ๅฏผๅ‡บๅญ•ไบงๅฆ‡ๅฅๅบท็ฎก็†็™ป่ฎฐ่กจ
1048 1202 */
... ... @@ -1523,6 +1677,7 @@
1523 1677 }
1524 1678 return new BaseObjectResponse().setData(patientBaseResult).setErrormsg("ๆˆๅŠŸ").setErrorcode(ErrorCodeConstants.SUCCESS);
1525 1679 }
  1680 +
1526 1681  
1527 1682 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/HealthHandbookExcelModel.java View file @ 0c23033
... ... @@ -5,6 +5,24 @@
5 5 * @discription Excelๅฏผๅ‡บๅฎžไฝ“็ฑป
6 6 */
7 7 public class HealthHandbookExcelModel {
  8 + @Override
  9 + public String toString() {
  10 + return "HealthHandbookExcelModel{" +
  11 + "username='" + username + '\'' +
  12 + ", cardNo='" + cardNo + '\'' +
  13 + ", husbandName='" + husbandName + '\'' +
  14 + ", organization='" + organization + '\'' +
  15 + ", address='" + address + '\'' +
  16 + ", childTime=" + childTime +
  17 + ", gestation='" + gestation + '\'' +
  18 + ", bookbuildingDate='" + bookbuildingDate + '\'' +
  19 + ", serial='" + serial + '\'' +
  20 + ", issuer='" + issuer + '\'' +
  21 + ", reissue1='" + reissue1 + '\'' +
  22 + ", reissue2='" + reissue2 + '\'' +
  23 + ", reissue3='" + reissue3 + '\'' +
  24 + '}';
  25 + }
8 26  
9 27 /**
10 28 *ๅฅณๆ–นๅง“ๅ๏ผšๅญ•ๅฆ‡ๅง“ๅ
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/KeyPregnantWomenExcelModel.java View file @ 0c23033
  1 +package com.lyms.platform.operate.web.result;
  2 +
  3 +import org.springframework.data.mongodb.core.mapping.Document;
  4 +
  5 +/**
  6 + * @auther wtt
  7 + * @discription Excelๅฏผๅ‡บๅฎžไฝ“็ฑป
  8 + */
  9 +@Document(collection="lyms_patient")
  10 +public class KeyPregnantWomenExcelModel {
  11 +
  12 +
  13 + /**
  14 + *ๅง“ๅ๏ผšไบงๅฆ‡ๅง“ๅ
  15 + */
  16 + private String username;
  17 +
  18 + /*
  19 + ๅนด้พ„๏ผšไบงๅฆ‡ๅนด้พ„ ==age
  20 + */
  21 + private Integer age;
  22 +
  23 + /**
  24 + *ๆˆท็ฑ๏ผšๆœฌๅธ‚๏ผˆๅธธไฝ๏ผ‰ใ€ๅค–ๅœฐๅธธไฝ๏ผˆๆš‚ไฝ๏ผ‰ใ€ๆตๅŠจ ==address
  25 + */
  26 + private String address;
  27 +
  28 +
  29 +
  30 + /*
  31 + ๅญ•ๆฌก๏ผšๆ€€ๅญ•ๆฌกๆ•ฐ== ๆŸฅ็œ‹ๆฏๅญๅฎž็Žฐ
  32 + */
  33 + private Integer pregnancyTimes;
  34 + /*
  35 + ไบงๆฌก๏ผš็”Ÿไบงๆฌกๆ•ฐ== ๆŸฅ็œ‹ๆฏๅญๅฎž็Žฐ๏ผˆๅฏน่ฑกไธญๆœ‰๏ผ‰
  36 + */
  37 + private Integer prodTime;
  38 + /*
  39 + ้ข„ไบงๆœŸ๏ผšไบงๅฆ‡้ข„ไบงๆœŸ==dueDate
  40 + */
  41 + private String dueDate;
  42 + /*
  43 + ๅฑ…ไฝๅœฐๅ€๏ผš็Žฐไฝๅœฐๅ€== addressRegister๏ผˆๅญ•ๅฆ‡ๅฑ…ไฝๅœฐ๏ผ‰addressPostRest๏ผˆไบงๅŽไผ‘ๅ…ปๅœฐ๏ผ‰
  44 + */
  45 + private String addressRegister;
  46 + /*
  47 + ๅญ•ๅฆ‡ๆ‰‹ๆœบ๏ผšไบงๅฆ‡ๆ‰‹ๆœบๅท==phone
  48 + */
  49 + private String phone;
  50 + /*
  51 + ไธˆๅคซๆ‰‹ๆœบ๏ผšไธˆๅคซๆ‰‹ๆœบๅท==husbandPhone
  52 + */
  53 + private String husbandPhone;
  54 + /*
  55 + ้‡็‚น็–พ็—…๏ผš้ซ˜ๅฑๅ› ็ด ๅ็งฐ == rFactor
  56 + */
  57 + private String rFactor;
  58 + /*
  59 + ้ซ˜ๅฑ็ญ‰็บง๏ผšๅฑ•็คบ็บข/ๆฉ™/้ป„/็ดซ ๏ผˆไธๆ˜พ็คบ็ปฟ่‰ฒ๏ผ‰==rLevel
  60 + */
  61 + private String rLevel;
  62 +
  63 + public String getUsername() {
  64 + return username;
  65 + }
  66 +
  67 + public void setUsername(String username) {
  68 + this.username = username;
  69 + }
  70 +
  71 + public Integer getAge() {
  72 + return age;
  73 + }
  74 +
  75 + public void setAge(Integer age) {
  76 + this.age = age;
  77 + }
  78 +
  79 + public String getAddress() {
  80 + return address;
  81 + }
  82 +
  83 + public void setAddress(String address) {
  84 + this.address = address;
  85 + }
  86 +
  87 +
  88 +
  89 +
  90 + public Integer getPregnancyTimes() {
  91 + return pregnancyTimes;
  92 + }
  93 +
  94 + public void setPregnancyTimes(Integer pregnancyTimes) {
  95 + this.pregnancyTimes = pregnancyTimes;
  96 + }
  97 +
  98 + public Integer getProdTime() {
  99 + return prodTime;
  100 + }
  101 +
  102 + public void setProdTime(Integer prodTime) {
  103 + this.prodTime = prodTime;
  104 + }
  105 +
  106 + public String getDueDate() {
  107 + return dueDate;
  108 + }
  109 +
  110 + public void setDueDate(String dueDate) {
  111 + this.dueDate = dueDate;
  112 + }
  113 +
  114 + public String getAddressRegister() {
  115 + return addressRegister;
  116 + }
  117 +
  118 + public void setAddressRegister(String addressRegister) {
  119 + this.addressRegister = addressRegister;
  120 + }
  121 +
  122 + public String getPhone() {
  123 + return phone;
  124 + }
  125 +
  126 + public void setPhone(String phone) {
  127 + this.phone = phone;
  128 + }
  129 +
  130 + public String getHusbandPhone() {
  131 + return husbandPhone;
  132 + }
  133 +
  134 + public void setHusbandPhone(String husbandPhone) {
  135 + this.husbandPhone = husbandPhone;
  136 + }
  137 +
  138 + public String getrFactor() {
  139 + return rFactor;
  140 + }
  141 +
  142 + public void setrFactor(String rFactor) {
  143 + this.rFactor = rFactor;
  144 + }
  145 +
  146 + public String getrLevel() {
  147 + return rLevel;
  148 + }
  149 +
  150 + public void setrLevel(String rLevel) {
  151 + this.rLevel = rLevel;
  152 + }
  153 +}
platform-operate-api/src/main/resources/zddc.xls View file @ 0c23033

No preview for this file type