| | |
| | | #{treatmenthospitalname} |
| | | </if> |
| | | <if test="name != null and name != ''">AND sd.Name = #{name}</if> |
| | | <if test="inpatientno != null ">AND sd.InpatientNo = #{inpatientno}</if> |
| | | <if test="inpatientno != null and inpatientno != ''">AND sd.InpatientNo = #{inpatientno}</if> |
| | | <if test="responsibleusername != null and responsibleusername != ''">AND sd.ResponsibleUserName = |
| | | #{responsibleusername} |
| | | </if> |
| | |
| | | and sr.SignDate <= #{endSigndate} |
| | | </if> |
| | | </where> |
| | | order by sr.id desc,sd.id desc |
| | | <if test="pageNum != null and pageSize != null">limit #{pageNum},#{pageSize}</if> |
| | | </select> |
| | | |