From 2b80ec2ea965f3ac34ac164d8ed1ec8a00d40f87 Mon Sep 17 00:00:00 2001 From: luliqiang <kidgrow> Date: Wed, 16 Dec 2020 16:40:13 +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