|
|
@@ -59,6 +59,12 @@ public class FsPatientServiceImpl implements IFsPatientService
|
|
|
@Override
|
|
|
public int insertFsPatient(FsPatient fsPatient)
|
|
|
{
|
|
|
+ if (fsPatient.getIdCard() == null) {
|
|
|
+ fsPatient.setIdCard("");
|
|
|
+ }
|
|
|
+ if (fsPatient.getBirthday() == null) {
|
|
|
+ fsPatient.setBirthday(DateUtils.getNowDate());
|
|
|
+ }
|
|
|
fsPatient.setCreateTime(DateUtils.getNowDate());
|
|
|
String mobile = fsPatient.getMobile();
|
|
|
if (StringUtils.isNotBlank(mobile)){
|