gongchunyi
2026-01-19 03c38e24381f31841dc8808cdb1669866348dcac
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>