forked from kidgrow-microservices-platform

dougang
2021-04-08 6d0fee3cdc8cb213d0388ffa2e7ed7a091a1ea4c
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>