forked from kidgrow-microservices-platform

dougang
2020-12-09 c8cdba0d34f57835a96233a7f0a7eaa35774dd6f
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/SaasClientPayMapper.xml
@@ -51,8 +51,8 @@
            <if test="p.prepayId != null and p.prepayId !=''">
                and prepay_id = #{p.prepayId}
            </if>
            <if test="p.type != null ">
                and  type =  #{p.type}
            <if test="p.type != null and p.type !=''">
                and type = #{p.type}
            </if>
            <if test="p.createUserId != null and p.createUserId !=''">
                and create_user_id = #{p.createUserId}
@@ -92,6 +92,12 @@
            <if test="p.createHospitalName != null and p.createHospitalName !=''">
                and create_hospital_name = #{p.createHospitalName}
            </if>
            <if test="p.createDoctorId != null and p.createDoctorId !=''">
                and create_doctor_id = #{p.createDoctorId}
            </if>
            <if test="p.createDoctorIdName != null and p.createDoctorIdName !=''">
                and create_doctor_name like '%${p.createDoctorIdName}%'
            </if>
            <if test="p.payPrice != null and p.payPrice !=''">
                and pay_price = #{p.payPrice}
            </if>
@@ -122,8 +128,8 @@
            <if test="p.prepayId != null and p.prepayId !=''">
                and prepay_id = #{p.prepayId}
            </if>
            <if test="p.type != null ">
                and  type =  #{p.type}
            <if test="p.type != null and p.type !='' ">
                and type = #{p.type}
            </if>
            <if test="p.createUserId != null and p.createUserId !=''">
                and create_user_id = #{p.createUserId}