|
|
@ -135,7 +135,8 @@ public class WechatServiceImpl implements IWechatService {
|
|
|
|
tPatient.setCreateTime(new Date());
|
|
|
|
tPatient.setCreateTime(new Date());
|
|
|
|
tPatient.setUpdateTime(new Date());
|
|
|
|
tPatient.setUpdateTime(new Date());
|
|
|
|
tPatientMapper.insertTPatient(tPatient);
|
|
|
|
tPatientMapper.insertTPatient(tPatient);
|
|
|
|
tPatient.setIdentifier("10000000" + tPatient.getId());
|
|
|
|
Long identifier = 10000000L + tPatient.getId();
|
|
|
|
|
|
|
|
tPatient.setIdentifier(String.valueOf(identifier));
|
|
|
|
tPatientMapper.updateTPatient(tPatient);
|
|
|
|
tPatientMapper.updateTPatient(tPatient);
|
|
|
|
wechatUser.setUserId(tPatient.getId());
|
|
|
|
wechatUser.setUserId(tPatient.getId());
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -182,7 +183,8 @@ public class WechatServiceImpl implements IWechatService {
|
|
|
|
tDoctor.setUpdateTime(new Date());
|
|
|
|
tDoctor.setUpdateTime(new Date());
|
|
|
|
tDoctor.setUserId(sysUser.getUserId());
|
|
|
|
tDoctor.setUserId(sysUser.getUserId());
|
|
|
|
tDoctorMapper.insertTDoctor(tDoctor);
|
|
|
|
tDoctorMapper.insertTDoctor(tDoctor);
|
|
|
|
tDoctor.setIdentifier("10000000" + tDoctor.getId());
|
|
|
|
Long identifier = 10000000L + tDoctor.getId();
|
|
|
|
|
|
|
|
tDoctor.setIdentifier(String.valueOf(identifier));
|
|
|
|
|
|
|
|
|
|
|
|
Map map = new HashMap();
|
|
|
|
Map map = new HashMap();
|
|
|
|
map.put("id", tDoctor.getId());
|
|
|
|
map.put("id", tDoctor.getId());
|
|
|
|