liujie
3 天以前 ed2a0f015deff574518eba66d575a4298c6acacd
ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml
@@ -49,6 +49,9 @@
        <if test="user.roleType !=null and user.roleType==4">
            and t2.supplier_id =#{supplierClinicId} and t1.status in(3,4,5)
        </if>
        <if test="user.roleType !=null and user.roleType==5">
            and t1.clinic_id =#{supplierClinicId}
        </if>
        <if test="query.procurementCode != null and query.procurementCode != ''">
            and t1.procurement_code = #{query.procurementCode}
        </if>