Lius
2025-06-28 39f62fa03a2463652e971edfabab56313db6af10
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcDowntimeMapper.xml
@@ -50,11 +50,11 @@
                LEFT JOIN mdc_downtime_reason t2 ON t1.reason_id = t2.id
        WHERE
            t1.reason_id != ''
          AND t1.the_date BETWEEN #{start} AND #{end}
        AND t1.equipment_id IN
        <foreach collection="equipmentIdList" item="equipmentId" index="index" open="(" close=")" separator=",">
            #{ equipmentId }
        </foreach>
            AND t1.the_date BETWEEN #{start} AND #{end}
            AND t1.equipment_id IN
            <foreach collection="equipmentIdList" item="equipmentId" index="index" open="(" close=")" separator=",">
                #{ equipmentId }
            </foreach>
        GROUP BY
            t2.downtime_description
    </select>