src/main/resources/mapper/basic/ProductModelMapper.xml
@@ -28,6 +28,11 @@ </where> order by pm.id </select> <select id="selectLatestRecord" resultType="com.ruoyi.basic.pojo.ProductModel"> SELECT * FROM product_model ORDER BY create_time DESC, id DESC LIMIT 1 </select> </mapper>