liusheng
2024-03-26 1b8f305c2764e382f5d72bd0f7b65826ee2b3ebe
ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
@@ -241,8 +241,8 @@
        inner join base_organization o on b.TreatmentHospitalNo = o.OrganizationID
        <where>
            AND b.del_flag=0
            <if test="starttime != null ">and b.ReportTime >= #{starttime}</if>
            <if test="endtime != null ">and b.ReportTime &lt;= #{endtime}</if>
            <if test="starttime != null ">and b.donatetime >= #{starttime}</if>
            <if test="endtime != null ">and b.donatetime &lt;= #{endtime}</if>
            <if test="city != null and city != ''">and o.City = #{city}</if>
            <if test="reporterno != null and reporterno != ''">and b.ReporterNo = #{reporterno}</if>
        </where>