This commit is contained in:
zhuangyuanke 2024-12-20 15:53:45 +08:00
commit 96cc8ffb27
4 changed files with 11 additions and 3 deletions

View File

@ -92,4 +92,9 @@ public class UploadRobotPublishRecordDto extends BaseEntity {
* 题目类型
*/
private String questionType;
/**
* 电话拨通情况SUCCESS成功FAILURE失败EXPIRED超期自动作废如超期一周NULL或空字符串缺省值表示未执行
*/
private String phoneNodeExecuteResultStatus;
}

View File

@ -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)) {

View File

@ -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();

View File

@ -1183,6 +1183,9 @@
<if test="taskExcuteType != null and taskExcuteType != ''">
and spmrn.task_excute_type = #{taskExcuteType}
</if>
<if test="phoneNodeExecuteResultStatus != null and phoneNodeExecuteResultStatus != ''">
and spmrn.phone_node_execute_result_status = #{phoneNodeExecuteResultStatus}
</if>
<if test="sn != null and sn != ''">
and spmrn.sn = #{sn}
</if>