zouyu
2025-08-14 f7a525edfb0b085636837e186c00720e16e4e701
cnas-device/src/main/resources/mapper/InsOrderDeviceRecordMapper.xml
@@ -44,7 +44,8 @@
            and dr.device_id = #{deviceId}
        </if>
        <if test="exportDate != '' and exportDate != null">
            and DATE_FORMAT(dr.use_start_date, '%Y-%m') = #{exportDate};
            and DATE_FORMAT(dr.use_start_date, '%Y-%m') = #{exportDate}
        </if>
        ORDER BY dr.use_start_date asc
    </select>
</mapper>