代码提交
This commit is contained in:
parent
4de379783f
commit
15ae71e230
@ -1,8 +1,12 @@
|
|||||||
package com.xinelu.manage.dto.manualfollowup;
|
package com.xinelu.manage.dto.manualfollowup;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import com.xinelu.common.core.domain.BaseEntity;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
@ -14,7 +18,11 @@ import java.time.LocalDate;
|
|||||||
* @date : 2024/4/2 10:36
|
* @date : 2024/4/2 10:36
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class ManualFollowUpDTO {
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
public class ManualFollowUpDTO extends BaseEntity {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@ApiModelProperty(value = "随访开始时间")
|
@ApiModelProperty(value = "随访开始时间")
|
||||||
@ -62,5 +70,8 @@ public class ManualFollowUpDTO {
|
|||||||
@ApiModelProperty(value = "节点任务执行状态,已执行:EXECUTED,未执行:UNEXECUTED")
|
@ApiModelProperty(value = "节点任务执行状态,已执行:EXECUTED,未执行:UNEXECUTED")
|
||||||
private String nodeExecuteStatus;
|
private String nodeExecuteStatus;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "任务名称")
|
||||||
|
private String manageRouteName;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
package com.xinelu.manage.service.signpatientmanageroute.impl;
|
package com.xinelu.manage.service.signpatientmanageroute.impl;
|
||||||
|
|
||||||
import com.alibaba.fastjson2.JSONObject;
|
import com.alibaba.fastjson2.JSONObject;
|
||||||
|
import com.xinelu.common.annotation.DataScope;
|
||||||
import com.xinelu.common.constant.TaskContentConstants;
|
import com.xinelu.common.constant.TaskContentConstants;
|
||||||
import com.xinelu.common.constant.TaskCreateTypeConstant;
|
import com.xinelu.common.constant.TaskCreateTypeConstant;
|
||||||
import com.xinelu.common.constant.TemplateTypeConstants;
|
import com.xinelu.common.constant.TemplateTypeConstants;
|
||||||
@ -278,6 +279,7 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
|
|||||||
* @return ManualFollowUpVO 人工随访代办VO
|
* @return ManualFollowUpVO 人工随访代办VO
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@DataScope(agencyAlias = "pi", deptAlias = "pi")
|
||||||
public List<ManualFollowUpVO> selectManualFollowUpList(ManualFollowUpDTO manualFollowUpDTO) {
|
public List<ManualFollowUpVO> selectManualFollowUpList(ManualFollowUpDTO manualFollowUpDTO) {
|
||||||
return signPatientManageRouteMapper.selectManualFollowUpList(manualFollowUpDTO);
|
return signPatientManageRouteMapper.selectManualFollowUpList(manualFollowUpDTO);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -390,6 +390,11 @@
|
|||||||
<if test="followEndTime != null ">
|
<if test="followEndTime != null ">
|
||||||
AND pter.execute_time <= #{followEndTime}
|
AND pter.execute_time <= #{followEndTime}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="manageRouteName != null and manageRouteName != ''">
|
||||||
|
AND spmrn.manage_route_name like concat('%', #{manageRouteName}, '%')
|
||||||
|
</if>
|
||||||
|
<!-- 数据范围过滤 -->
|
||||||
|
${params.dataScope}
|
||||||
</where>
|
</where>
|
||||||
order by spmr.create_time DESC
|
order by spmr.create_time DESC
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user