From 0b90c3eb62fa9b1e4dda8de7d9a7a8aae30da1d6 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Sat, 06 Feb 2021 22:09:31 +0800 Subject: [PATCH] 添加查询是否开通单次支付的fegin --- kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ScreeningOrganizationInfoMapper.xml | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ScreeningOrganizationInfoMapper.xml b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ScreeningOrganizationInfoMapper.xml index 2bf20e9..b7901ce 100644 --- a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ScreeningOrganizationInfoMapper.xml +++ b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ScreeningOrganizationInfoMapper.xml @@ -98,4 +98,23 @@ <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> \ No newline at end of file -- Gitblit v1.8.0