任务代办修改

This commit is contained in:
zhangheng 2024-07-30 16:12:18 +08:00
parent fcac221026
commit ce17d4606d
3 changed files with 8 additions and 3 deletions

View File

@ -77,4 +77,6 @@ public class ManualFollowUpDTO extends BaseEntity {
* 时间标识 whole全部 today今天及今天之前
*/
private String timeSign;
private String phoneNodeExecuteResultStatus;
}

View File

@ -292,6 +292,9 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
@Override
@DataScope(agencyAlias = "pi", deptAlias = "pi")
public List<ManualFollowUpVO> selectManualFollowUpList(ManualFollowUpDTO manualFollowUpDTO) {
if (manualFollowUpDTO.getNodeExecuteStatus().equals(NodeExecuteStatusEnum.UNEXECUTED.getInfo())){
manualFollowUpDTO.setPhoneNodeExecuteResultStatus(null);
}
List<ManualFollowUpVO> manualFollowUpVOS = signPatientManageRouteMapper.selectManualFollowUpList(manualFollowUpDTO);
if (StringUtils.isNotBlank(manualFollowUpDTO.getTimeSign()) && manualFollowUpDTO.getTimeSign().equals("WHOLE")) {
return manualFollowUpVOS;

View File

@ -390,11 +390,11 @@
<if test="followEndTime != null ">
AND pter.execute_time &lt;= #{followEndTime}
</if>
<if test="manageRouteName != null and manageRouteName != ''">
<if test="manageRouteName != null and manageRouteName != ''">
AND spmrn.manage_route_name like concat('%', #{manageRouteName}, '%')
</if>
<if test="nodeExecuteStatus != null and nodeExecuteStatus = 'UNEXECUTED'">
AND (spmrn.phone_node_execute_result_status is null or spmrn.phone_node_execute_result_status = ' ')
<if test="phoneNodeExecuteResultStatus = null">
AND (spmrn.phone_node_execute_result_status is null or spmrn.phone_node_execute_result_status = ' ')
</if>
<!-- 数据范围过滤 -->
${params.dataScope}