xuhy
4 天以前 b8cebfa38ff8cd2065431a8f18c79e480d64ff10
ruoyi-system/src/main/resources/mapper/system/TErpProcurementMapper.xml
@@ -127,10 +127,10 @@
        where t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        and t1.status in (3,4,5)
        and t1.pay_time between #{startTime} and #{endTime}
        <if test="query.roleType != null and query.roleType == 4">
        <if test="roleType != null and roleType == 4">
            and t1.supplier_id = #{supplierAndClinicId}
        </if>
        <if test="query.roleType != null and query.roleType == 5">
        <if test="roleType != null and roleType == 5">
            and t1.clinic_id = #{supplierAndClinicId}
        </if>
        group by date_format(t1.pay_time, '%m.%d')
@@ -145,10 +145,10 @@
        where t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
            and t1.status in (3,4,5)
            and t1.pay_time between #{startTime} and #{endTime}
            <if test="query.roleType != null and query.roleType == 4">
            <if test="roleType != null and roleType == 4">
                and t1.supplier_id = #{supplierAndClinicId}
            </if>
            <if test="query.roleType != null and query.roleType == 5">
            <if test="roleType != null and roleType == 5">
                and t1.clinic_id = #{supplierAndClinicId}
            </if>
        group by date_format(t1.pay_time, '%m.%d')