患者导入修改
This commit is contained in:
parent
5876973e23
commit
94dcfe1712
@ -166,7 +166,7 @@ public class SystemHomePageServiceImpl implements SystemHomePageService {
|
||||
if (Objects.nonNull(patientAndNode.getDischargeTime())) {
|
||||
localDate = patientAndNode.getDischargeTime().plusDays(patientAndNode.getRouteNodeDay());
|
||||
}
|
||||
if (Objects.isNull(patientAndNode.getDischargeTime()) && Objects.nonNull(patientAndNode.getVisitDate())) {
|
||||
if (Objects.isNull(patientAndNode.getDischargeTime()) && Objects.nonNull(patientAndNode.getVisitDate()) && Objects.nonNull(patientAndNode.getRouteNodeDay())) {
|
||||
localDate = patientAndNode.getVisitDate().plusDays(patientAndNode.getRouteNodeDay());
|
||||
}
|
||||
if (Objects.isNull(localDate)) {
|
||||
|
||||
@ -553,7 +553,7 @@ public class PatientInfoServiceImpl implements IPatientInfoService {
|
||||
PatientInfoImportMain patientInfoImportMainSn = new PatientInfoImportMain();
|
||||
patientInfoImportMainSn.setSn(sn);
|
||||
patientInfoImportMainSn.setImportStatus(ImportStatusEnum.FINISHED.getInfo());
|
||||
patientInfoImportMainMapper.updatePatientInfoImportMain(patientInfoImportMainSn);
|
||||
patientInfoImportMainMapper.updatePatientInfoImportMainImportStatus(patientInfoImportMainSn);
|
||||
String msg = "已完成数据导入!导入成功" + patientInfoImportList.size() + "条记录,失败0条记录";
|
||||
if (list.size() != patientInfoImportList.size()) {
|
||||
int i = list.size() - patientInfoImportList.size();
|
||||
@ -658,7 +658,7 @@ public class PatientInfoServiceImpl implements IPatientInfoService {
|
||||
PatientInfoImportMain patientInfoImportMainSn = new PatientInfoImportMain();
|
||||
patientInfoImportMainSn.setSn(patientInfoImportVO.getSn());
|
||||
patientInfoImportMainSn.setImportStatus(ImportStatusEnum.FINISHED.getInfo());
|
||||
patientInfoImportMainMapper.updatePatientInfoImportMain(patientInfoImportMainSn);
|
||||
patientInfoImportMainMapper.updatePatientInfoImportMainImportStatus(patientInfoImportMainSn);
|
||||
String msg = "已完成数据导入!导入成功" + patientInfoImports.size() + "条记录;失败0条记录";
|
||||
if (patientInfoImportVO.getCount() != patientInfoImports.size()) {
|
||||
int minus = patientInfoImportVO.getCount() - patientInfoImports.size();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user