src/main/resources/mapper/device/DeviceLedgerMapper.xml
@@ -14,10 +14,10 @@
        dl.unit,
        dl.number,
        dl.status,
        dl.planRuntimeTime,
        dl.startRuntimeTime,
        dl.endRuntimeTime,
        dl.runtimeDuration,
        dl.plan_runtime_time,
        dl.start_runtime_time,
        dl.end_runtime_time,
        dl.runtime_duration,
        dl.tax_including_price_unit,
        dl.tax_including_price_total,
        dl.tax_rate,
@@ -69,10 +69,10 @@
            <!-- 租户ID -->
            <if test="deviceLedger.tenantId != null">
                AND tenant_id = #{deviceLedger.tenantId}
                AND dl.tenant_id = #{deviceLedger.tenantId}
            </if>
        </where>
        ORDER BY create_time DESC
        ORDER BY dl.create_time DESC
    </select>
    <select id="deviceLedgerExportList" resultType="com.ruoyi.device.execl.DeviceLedgerExeclDto">