| | |
| | | <include refid="where"/> |
| | | order by id desc |
| | | </select> |
| | | |
| | | <select id="findByHospitalId" resultType="com.kidgrow.oprationcenter.model.ScreeningOrganizationInfo" parameterType="java.lang.Long"> |
| | | select |
| | | <include refid="Column_List"/> |
| | | from screening_organization_info |
| | | where source_hospital_id=#{t} |
| | | </select> |
| | | |
| | | <select id="findByKeyWord" resultType="com.kidgrow.oprationcenter.model.ScreeningOrganizationInfo" parameterType="java.util.Map" > |
| | | SELECT |
| | | * |
| | | FROM |
| | | screening_organization_info |
| | | WHERE |
| | | source_hospital_id=${p.id} |
| | | <if test="p.keyword != null and p.keyword != ''"> |
| | | and organization_name LIKE '%${p.keyword}%' |
| | | </if> |
| | | </select> |
| | | </mapper> |