maven
2025-12-16 e43a488b51555d87a4225bfb7dfc93b8f0e95a39
src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml
@@ -43,6 +43,10 @@
            </if>
        </where>
        GROUP BY T2.id
        <if test="salesLedgerDto.status != null and salesLedgerDto.status.equals('true')">
            HAVING quantity - schedulingNum > 0
        </if>
        order by T1.entry_date desc
    </select>
    <select id="list" resultType="com.ruoyi.production.dto.SalesLedgerSchedulingDto">
        SELECT
@@ -111,6 +115,6 @@
                AND  T2.scheduling_date &lt;= DATE_FORMAT(#{salesLedgerDto.entryDateEnd},'%Y-%m-%d')
            </if>
        </where>
        order by T2.status asc
        order by T2.scheduling_date desc
    </select>
</mapper>