| | |
| | | </if> |
| | | <if test="deptname != null and deptname != ''">and pmo.deptname like concat('%', #{deptname}, '%')</if> |
| | | <if test="drname != null and drname != ''">and pmo.drname like concat('%', #{drname}, '%')</if> |
| | | <if test="patname != null and patname != ''">and pmo.patname like concat('%', #{patname}, '%')</if> |
| | | <if test="admitdate != null ">and pmo.admitdate = #{admitdate}</if> |
| | | <if test="patid != null ">and pmo.patid = #{patid}</if> |
| | | <if test="orgid != null and orgid != ''">and pmo.orgid = #{orgid}</if> |
| | | <if test="outhospno != null and outhospno != ''">and pmo.outhospno = #{outhospno}</if> |
| | | </where> |