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>