就诊列表添加是否删除查询

master
chenfei 2 years ago
parent 1f992472c8
commit 3947391c30

@ -48,6 +48,9 @@ public class TRecordResultReq
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private String endTime;
@ApiModelProperty("是否查看删除状态 默认null不查看,1为查看全部")
private String delFlag;
public String getName()
{
return name;
@ -178,4 +181,14 @@ public class TRecordResultReq
{
this.doctorName = doctorName;
}
public String getDelFlag()
{
return delFlag;
}
public void setDelFlag(String delFlag)
{
this.delFlag = delFlag;
}
}

@ -7,15 +7,15 @@ import com.ruoyi.system.domain.resp.PcTPatientQueryByPageResp;
/**
* Service
*
*
* @author ruoyi
* @date 2022-08-03
*/
public interface ITPatientService
public interface ITPatientService
{
/**
*
*
*
* @param id
* @return
*/
@ -23,7 +23,7 @@ public interface ITPatientService
/**
*
*
*
* @param tPatient
* @return
*/
@ -31,7 +31,7 @@ public interface ITPatientService
/**
*
*
*
* @param tPatient
* @return
*/
@ -39,7 +39,7 @@ public interface ITPatientService
/**
*
*
*
* @param tPatient
* @return
*/
@ -47,7 +47,7 @@ public interface ITPatientService
/**
*
*
*
* @param ids
* @return
*/
@ -55,7 +55,7 @@ public interface ITPatientService
/**
*
*
*
* @param id
* @return
*/

@ -199,6 +199,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="age !=null">and tp.age = #{age} </if>
<if test="sex !=null">and tp.sex = #{sex} </if>
<if test="identifier !=null">and tp.identifier like concat('%', #{identifier}, '%')</if>
<if test="delFlag == null">
and td.del_flag = '0' and tp.del_flag = '0'
</if>
<if test="createTime != null">
and DATE_FORMAT(tp.create_time,'%Y-%m') = DATE_FORMAT(#{createTime},'%Y-%m')
</if>

Loading…
Cancel
Save