| | |
| | | |
| | | <select id="selectPatMedPhysicalList" parameterType="com.smartor.domain.PatMedPhysical" resultMap="PatMedPhysicalResult"> |
| | | <include refid="selectPatMedPhysicalVo"/> |
| | | <where> |
| | | where 1=1 |
| | | <if test="hospitalname != null and hospitalname != ''"> and hospitalname like concat('%', #{hospitalname}, '%')</if> |
| | | <if test="physicaldate != null "> and physicaldate = #{physicaldate}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | |
| | | <if test="deptname != null and deptname != ''"> and deptname like concat('%', #{deptname}, '%')</if> |
| | | <if test="patname != null and patname != ''"> and patname like concat('%', #{patname}, '%')</if> |
| | | <if test="projectname != null and projectname != ''"> and projectname like concat('%', #{projectname}, '%')</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatMedPhysicalById" parameterType="Long" resultMap="PatMedPhysicalResult"> |