liusheng
2024-07-24 cda5ded993e1d735cbe8fa76f6f988e89024afe0
变更
已修改1个文件
6 ■■■■ 文件已修改
ruoyi-project/src/main/resources/mapper/project/ServiceDonateorganMapper.xml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-project/src/main/resources/mapper/project/ServiceDonateorganMapper.xml
@@ -540,10 +540,10 @@
        inner join base_organization o on b.TreatmentHospitalNo = o.OrganizationID
        where d.OrganNo = #{organno}
        -- and (OrganState = "3" or OrganState = "4" or OrganState = "5" or OrganState = "6")
        and d.del_flag=0
        and d.del_flag=0 and b.del_flag = 0 and b.workflow>5
        -- and d.OrganGetTime IS NOT NULL
        <if test="starttime != null ">and d.OrganGetTime >= #{starttime}</if>
        <if test="endtime != null ">and d.OrganGetTime &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>
    </select>