liusheng
2024-05-10 76ca9e469bc3c4e76bd11e8ba789f717f75d7b86
ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml
@@ -249,6 +249,8 @@
        inner join service_donatebaseinfo b on w.InfoID = b.id
        inner join base_organization o on b.TreatmentHospitalNo = o.OrganizationID
        <where>
            w.del_flag=0
            and b.del_flag=0
            <if test="starttime != null ">and w.OperationBegTime >= #{starttime}</if>
            <if test="endtime != null ">and w.OperationBegTime &lt;= #{endtime}</if>
            <if test="city != null and city != ''">and o.City = #{city}</if>