From 6d0fee3cdc8cb213d0388ffa2e7ed7a091a1ea4c Mon Sep 17 00:00:00 2001 From: dougang <78125310@kidgrow.com> Date: Thu, 08 Apr 2021 13:58:41 +0800 Subject: [PATCH] 咨询小程序相关功能 --- kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/PartnerDockingInfoMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/PartnerDockingInfoMapper.xml b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/PartnerDockingInfoMapper.xml index 411157e..e511e12 100644 --- a/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/PartnerDockingInfoMapper.xml +++ b/kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/PartnerDockingInfoMapper.xml @@ -15,17 +15,17 @@ <if test="p.id != null and p.id !=''"> and id = #{p.id} </if> - <if test="p.parterId != null and p.parterId !=''"> - and parter_id = #{p.parterId} + <if test="p.partnerId != null and p.partnerId !=''"> + and partner_id = #{p.partnerId} </if> - <if test="p.parterName != null and p.parterName !=''"> - and parter_name = #{p.parterName} + <if test="p.partnerName != null and p.partnerName !=''"> + and partner_name like CONCAT('%',#{p.partnerName},'%') </if> <if test="p.hospitalId != null and p.hospitalId !=''"> and hospital_id = #{p.hospitalId} </if> <if test="p.hospitalName != null and p.hospitalName !=''"> - and hospital_name = #{p.hospitalName} + and hospital_name like CONCAT('%', #{p.hospitalName},'%') </if> <if test="p.departmentId != null and p.departmentId !=''"> and department_id = #{p.departmentId} @@ -85,7 +85,7 @@ <select id="findByObject" resultType="com.kidgrow.oprationcenter.model.PartnerDockingInfo"> select <include refid="Column_List"/> - from parter_docking_info + from partner_docking_info <include refid="where"/> order by id desc limit 1 @@ -95,7 +95,7 @@ <select id="findList" resultType="com.kidgrow.oprationcenter.model.PartnerDockingInfo"> select <include refid="Column_List"/> - from parter_docking_info + from partner_docking_info <include refid="where"/> order by id desc </select> -- Gitblit v1.8.0