risingLee
c72c71ff13
Use model_dump(exclude_unset=True, by_alias=True) to get camelCase keys when constructing EditWarehouseSampleModel
...
Check for 'sampleId' (camelCase) instead of 'sample_id'
For new samples, use a separate model_dump() without by_alias=True to get snake_case keys for the DO object
2026-01-05 15:22:58 +08:00
risingLee
4d4908bb2f
修复bug
2026-01-04 23:56:11 +08:00
risingLee
49a9cfc035
as_query 方法的参数类型定义有问题。receipt_id: int = None 应该是 receipt_id: Optional[int] = None
2026-01-04 16:16:03 +08:00
risingLee
44522f2572
修复了测试工单统计的错误
2025-12-30 15:52:51 +08:00
risingLee
753dd62511
✅ 数据库字段与VO模型不匹配导致的序列化错误
...
✅ 空值处理不当导致的异常
✅ 缺少事务回滚机制
✅ 错误信息不清晰
✅ 样品数量计算可能返回None
2025-12-29 22:22:13 +08:00
risingLee
3d82c0ea1e
首次提交
2025-12-19 10:12:59 +08:00