xuhy
7 天以前 413d5fb8681752b7a80b1cf7b509ed2bc4bfe3ee
ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
@@ -71,10 +71,10 @@
            and state = #{query.state}
        </if>
        <if test="user.roleType != null and user.roleType == 4 ">
            and goods_source =1 and supplier_clinic_id =#{user.userId}
            and goods_source =1 and supplier_clinic_id = #{query.supplierClinicId}
        </if>
        <if test="user.roleType != null and user.roleType == 5 ">
            and goods_source =2 and supplier_clinic_id =#{user.userId}
            and goods_source =2 and supplier_clinic_id = #{query.supplierClinicId}
        </if>
        order by create_time desc
    </select>