feat(health,ai): 后端服务优化 + 媒体文件处理
- erp-health: article/banner/consultation/media 服务层优化 - erp-ai: analysis/insight/prompt 服务增强 - erp-auth: auth/role/token 服务改进 - erp-workflow: executor 执行引擎修复 - erp-plugin: 服务层改进 - 新增媒体上传文件样例
This commit is contained in:
@@ -108,7 +108,9 @@ async fn handle_dialysis_record_created(
|
||||
.ok_or("透析记录不存在")?;
|
||||
|
||||
let mut active: erp_dialysis::entity::dialysis_record::ActiveModel = record.into();
|
||||
active.version = Set(active.version.unwrap() + 1);
|
||||
active.workflow_instance_id = Set(Some(result.id));
|
||||
active.updated_at = Set(chrono::Utc::now());
|
||||
active.update(db).await?;
|
||||
|
||||
tracing::info!(
|
||||
|
||||
Reference in New Issue
Block a user