liusheng
2024-08-02 b9cc263b8d1d31608a4c16cd157cc84b51e3d29d
ruoyi-project/src/main/resources/mapper/project/ServiceDonatebaseinfoMapper.xml
@@ -206,8 +206,8 @@
            <if test="infoname != null ">and infoName = #{infoname}</if>
            <if test="infophone != null ">and infoPhone = #{infophone}</if>
            <if test="createBy != null ">and `service_donatebaseinfo`.create_by = #{createBy}</if>
            <if test="starttime != null ">and ReportTime >= #{starttime}</if>
            <if test="endtime != null ">and ReportTime &lt;= #{endtime}</if>
            <if test="starttime != null ">and donatetime >= #{starttime}</if>
            <if test="endtime != null ">and donatetime &lt;= #{endtime}</if>
            <if test="nativeplace != null  and nativeplace != ''">and NativePlace = #{nativeplace}</if>
            <if test="city != null and city != ''">and `base_organization`.`City` = #{city}</if>
            <if test="deptid != null ">and deptid = #{deptid}</if>
@@ -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>
@@ -389,4 +389,4 @@
          AND d.OrganGetTime &lt;= #{endtime}
    </select>
</mapper>
</mapper>