任务代办修改

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今天及今天之前 * 时间标识 whole全部 today今天及今天之前
*/ */
private String timeSign; private String timeSign;
private String phoneNodeExecuteResultStatus;
} }

View File

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

View File

@ -393,7 +393,7 @@
<if test="manageRouteName != null and manageRouteName != ''"> <if test="manageRouteName != null and manageRouteName != ''">
AND spmrn.manage_route_name like concat('%', #{manageRouteName}, '%') AND spmrn.manage_route_name like concat('%', #{manageRouteName}, '%')
</if> </if>
<if test="nodeExecuteStatus != null and nodeExecuteStatus = 'UNEXECUTED'"> <if test="phoneNodeExecuteResultStatus = null">
AND (spmrn.phone_node_execute_result_status is null or spmrn.phone_node_execute_result_status = ' ') AND (spmrn.phone_node_execute_result_status is null or spmrn.phone_node_execute_result_status = ' ')
</if> </if>
<!-- 数据范围过滤 --> <!-- 数据范围过滤 -->