Lius
2023-12-13 56e8ccde7c982bc2a5b9746edb2e596c895f63e6
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/xml/MdcTorqueConfigMapper.xml
@@ -28,4 +28,15 @@
            ORDER BY torque_date ASC
        </where>
    </select>
    <select id="findLast" resultType="org.jeecg.modules.mdc.entity.MdcTorqueConfig">
        SELECT TOP
            1 *
        FROM
            mdc_torque_config
        WHERE
            equipment_id = #{ equipmentId }
        ORDER BY
            torque_date DESC
    </select>
</mapper>