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