zhangherong
2025-05-14 9bdd80a75a3f3e98d0fcfaaaaa8ec8ae337672f2
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/EquipmentLogMapper.xml
@@ -25,4 +25,8 @@
            </foreach>
        </if>
    </select>
    <select id="findAlarmByEquId" resultType="org.jeecg.modules.mdc.entity.EquipmentLog">
        SELECT TOP 1 * FROM EquipmentLog WHERE EquipmentID = #{ equipmentId } AND Oporation = '22' AND Alarm != '' ORDER BY CollectTime DESC
    </select>
</mapper>