yuan
3 天以前 ccc9d4533bc7b696f6d539720a6052abc44ff7a5
src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -49,7 +49,8 @@
                and ppm.status = #{c.status}
            </if>
        </where>
        order by ppm.id
        <!-- 2026-10-12 需求:生产模块按时间倒序,最新的排在前面 -->
        order by ppm.create_time desc, ppm.id desc
    </select>
    <select id="getOrderByMainId" resultType="com.ruoyi.production.pojo.ProductOrder">