|
@ -328,10 +328,10 @@ public class OnePayService {
|
|
|
|
|
|
if (signFamily != null) {
|
|
if (signFamily != null) {
|
|
// //签约人Code
|
|
// //签约人Code
|
|
String signDoctorCode = signFamily.getSignDoctorCode();
|
|
|
|
|
|
String doctorCode = signFamily.getDoctor();
|
|
String people = signFamily.getPatient();
|
|
String people = signFamily.getPatient();
|
|
|
|
|
|
Doctor doctor = doctorDao.findByCode(signDoctorCode);
|
|
|
|
|
|
Doctor doctor = doctorDao.findByCode(doctorCode);
|
|
Patient user = patientDao.findByCode(people);
|
|
Patient user = patientDao.findByCode(people);
|
|
|
|
|
|
JSONObject familyContent = new JSONObject();
|
|
JSONObject familyContent = new JSONObject();
|
|
@ -342,17 +342,17 @@ public class OnePayService {
|
|
familyContent.put("moRegTelephone", user.getMobile());//签约人联系电话
|
|
familyContent.put("moRegTelephone", user.getMobile());//签约人联系电话
|
|
familyContent.put("moRegOrgNo", sbCode); //签约机构 限长4
|
|
familyContent.put("moRegOrgNo", sbCode); //签约机构 限长4
|
|
familyContent.put("moRegDocNo", doctor.getIdcard());//签约医生编号 限长18 身份证号
|
|
familyContent.put("moRegDocNo", doctor.getIdcard());//签约医生编号 限长18 身份证号
|
|
familyContent.put("moRegDocName", signFamily.getSignDoctorName()); //签约医生姓名
|
|
|
|
|
|
familyContent.put("moRegDocName", signFamily.getDoctorName()); //签约医生姓名
|
|
// familyContent.put("moRegTime", format.format(signFamily.getBegin())); //签约时间
|
|
// familyContent.put("moRegTime", format.format(signFamily.getBegin())); //签约时间
|
|
familyContent.put("moRegTime", format.format(new Date())); //签约时间 v1.4.0更改
|
|
familyContent.put("moRegTime", format.format(new Date())); //签约时间 v1.4.0更改
|
|
familyContent.put("moRegEndTime", format.format(signFamily.getEnd())); //签约截止时间
|
|
familyContent.put("moRegEndTime", format.format(signFamily.getEnd())); //签约截止时间
|
|
familyContent.put("moRegTear", signFamily.getSignYear());//签约年度
|
|
familyContent.put("moRegTear", signFamily.getSignYear());//签约年度
|
|
familyContent.put("moRegSource", signFamily.getSignSource()); //签约来源
|
|
familyContent.put("moRegSource", signFamily.getSignSource()); //签约来源
|
|
familyContent.put("moCollectOrgNo", sbCode); //扣费机构 签约机构
|
|
familyContent.put("moCollectOrgNo", sbCode); //扣费机构 签约机构
|
|
familyContent.put("moCollectorNo", signFamily.getSignDoctorName());//扣费人 签约医生姓名
|
|
|
|
|
|
familyContent.put("moCollectorNo", signFamily.getDoctorName());//扣费人 签约医生姓名
|
|
familyContent.put("benefitType", signFamily.getExpensesType()); //补贴类型
|
|
familyContent.put("benefitType", signFamily.getExpensesType()); //补贴类型
|
|
familyContent.put("moBookOrgNo", sbCode);//登记机构 签约机构
|
|
familyContent.put("moBookOrgNo", sbCode);//登记机构 签约机构
|
|
familyContent.put("moBookerNo", signFamily.getSignDoctorName()); //登记人 签约医生姓名
|
|
|
|
|
|
familyContent.put("moBookerNo", signFamily.getDoctorName()); //登记人 签约医生姓名
|
|
familyContent.put("moBookTime", format.format(signFamily.getBegin())); //登记时间 签约时间
|
|
familyContent.put("moBookTime", format.format(signFamily.getBegin())); //登记时间 签约时间
|
|
|
|
|
|
JSONObject moServiceType = new JSONObject();//服务类型
|
|
JSONObject moServiceType = new JSONObject();//服务类型
|