fix(recorder): 修复接待记录保存服务中的错误处理和数据初始化问题
- 修改 saveRecCustomer 函数返回类型为 boolean 并添加异常捕获 - 优化 RecordSave 类中的条件判断逻辑,统一使用 == 进行比较 - 改进文件删除操作的成功/失败回调处理 - 为数据库表结构添加默认空数组值,避免 null 值问题 - 添加 JSON 字段的默认值处理,确保数组字段正确初始化 - 移除冗余的强制重启轮询逻辑,简化服务控制流程 - 更新组件事件定义语法,统一类型声明方式 - 优化日志输出信息,提高调试可读性
Showing
18 changed files
with
547 additions
and
30 deletions
.lingma/rules/api.mdc
0 → 100644
.lingma/rules/conditional-compilation.mdc
0 → 100644
.lingma/rules/ucss.mdc
0 → 100644
.lingma/rules/uni-app-x-best-practices.mdc
0 → 100644
.lingma/rules/uniappx-core.mdc
0 → 100644
.lingma/rules/uniappx-css.mdc
0 → 100644
.lingma/rules/uniappx-local-knowledge.mdc
0 → 100644
.lingma/rules/uniappx-project-patterns.mdc
0 → 100644
.lingma/rules/uniappx-uts.mdc
0 → 100644
.lingma/rules/uniappx-validation.mdc
0 → 100644
.lingma/rules/uts.mdc
0 → 100644
.lingma/rules/uvue.mdc
0 → 100644
.lingma/skills/uniappx-uts/SKILL.md
0 → 100644
This diff is collapsed.
Click to expand it.
.lingma/skills/uniappx-uts/reference.md
0 → 100644
-
Please register or sign in to post a comment