Lius
2024-04-18 2fd5cedf6e6aedc2fdd089c38fee6194a6dea3e5
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcHomeMapper.xml
@@ -47,6 +47,7 @@
    <select id="getUtilizationByMonth" resultType="java.util.Map">
        SELECT
            SUM(process_long) processLong,
            SUM(open_long) openLong,
            COUNT(*) processDay
        FROM
            mdc_equipment_statistical_info
@@ -143,4 +144,15 @@
    </select>
    <select id="getEquipmentList" resultType="org.jeecg.modules.mdc.entity.MdcEquipment">
        SELECT
            t1.*
        FROM
            mdc_equipment t1
                LEFT JOIN mdc_production_equipment t2 ON t1.id = t2.equipment_id
        WHERE
            t2.production_id = #{productionId}
    </select>
</mapper>