1. 补充审计字段设置: - updateParamValue 添加 update_by 字段 - insertBatch 添加 create_by 和 update_by 字段 - Service 层手动设置审计字段 2. 优化批量更新性能: - 从循环单次更新改为批量更新 - 使用 batchUpdateParamValues 方法 - 减少数据库交互次数(从18次减少到1次) 影响:提升性能,完善审计追踪
1. 补充审计字段设置: - updateParamValue 添加 update_by 字段 - insertBatch 添加 create_by 和 update_by 字段 - Service 层手动设置审计字段 2. 优化批量更新性能: - 从循环单次更新改为批量更新 - 使用 batchUpdateParamValues 方法 - 减少数据库交互次数(从18次减少到1次) 影响:提升性能,完善审计追踪