liujie
2025-10-17 673922fd88136de1deab5574a81008fb6957d449
ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
@@ -298,10 +298,10 @@
        where t2.disabled = 0
        and #{endDate} > t1.expiry_date
        <if test="user.roleType !=null and user.roleType ==4">
            and t3.supplier_clinic_id =#{supplierClinicId}
            and t2.clinic_id =#{supplierClinicId}
        </if>
        <if test="user.roleType !=null and user.roleType ==5">
            and t3.supplier_clinic_id =#{supplierClinicId}
            and t2.clinic_id =#{supplierClinicId}
        </if>
        GROUP BY t1.id