| | |
| | | <where> |
| | | <!--查询条件自行添加--> |
| | | is_del=0 |
| | | <if test="p.id != null and p.id !=''"> |
| | | and id = #{p.id} |
| | | </if> |
| | | <if test="p.hospitalId != null and p.hospitalId !=''"> |
| | | and hospital_id = #{p.hospitalId} |
| | | </if> |
| | |
| | | where is_del=0 and enabled=1 and hospital_name LIKE concat('%',#{hospitalName},'%') |
| | | order by hospital_name desc,id desc |
| | | </select> |
| | | |
| | | <select id="findAll" resultType="com.kidgrow.oprationcenter.model.HospitalScreening"> |
| | | select |
| | | <include refid="Column_List"/> |
| | | from hospital_screening |
| | | where is_del=0 |
| | | </select> |
| | | </mapper> |