| | |
| | | model.setPtName(tbOrders.getPatientName()); // 患者姓名 |
| | | model.setPtAge(tbOrders.getAge()); // 随机生成患者年龄 |
| | | model.setPtSex(tbOrders.getSex() == 1 ? "男" : "女"); // 随机生成患者性别 |
| | | // model.setPtNat("中国"); // 设置患者国籍 |
| | | // model.setPtNat("中国"); // 设置患者国籍--默认中国,不需要设置 |
| | | model.setOutHosp(tbOrders.getLocalAddress()); // 设置转出医院 |
| | | model.setInHosp(tbOrders.getSendAddress()); // 设置转入医院 |
| | | // model.setPtServices("科室" + (int) (Math.random() * 10)); // 随机设置患者所在科室 |
| | | // model.setPtServices("科室")); // 设置患者所在科室 |
| | | model.setPtDiagnosis(tbOrders.getComplaint()); // 设置诊断信息 |
| | | model.setCondition(tbOrders.getRemark()); // 设置备注信息 |
| | | // model.setDoctor("医生" + (int) (Math.random() * 10)); // 随机设置患者医生 |
| | | // model.setDoctorPhone("13" + (int) (Math.random() * 900000000 + 100000000)); // 随机生成患者医生电话 |
| | | model.setOfferPrice(tbOrders.getBookingPrice().doubleValue()); // 随机生成报价 |
| | | // model.setReferrals("推介人" + (int) (Math.random() * 10)); // 随机设置推介人信息 |
| | | // model.setUnitRemarks("商户随机备注信息"); // 随机设置商户备注 |
| | | // model.setPayQRcodeURL("https://example.com/qrcode/" + (int) (Math.random() * 100)); // 随机生成外部支付二维码链接 |
| | | // model.setDoctor("医生")); // 设置患者医生--没有医生信息 |
| | | // model.setDoctorPhone("")); // 设置患者医生电话--没有医生电话 |
| | | model.setOfferPrice(tbOrders.getBookingPrice().doubleValue()); // 报价 |
| | | // model.setReferrals("推介人")); // 设置推介人信息--没有推介人信息 |
| | | // model.setUnitRemarks("商户备注信息"); // 设置商户备注--没有商户备注 |
| | | // model.setPayQRcodeURL("https://example.com/qrcode/")); // 外部支付二维码链接--用不到 |
| | | |
| | | ServiceOrderAppResultVo result = ServiceOrderUtil.CreateServiceOrder(model); |
| | | |