feat(printer): 添加照片来源ID字段并更新相关逻辑

- 在MemberPrintEntity中新增sourceId字段用于记录照片来源
- 更新addUserPhoto方法签名,增加sourceId参数
- 修改照片上传接口,支持传递sourceId参数
- 完善自动添加照片到打印列表的逻辑,关联sourceId
- 更新数据库映射文件,添加source_id字段的读写配置- 优化重复照片检测逻辑,确保数据一致性
This commit is contained in:
2025-11-08 15:12:15 +08:00
parent 88c31d4fdc
commit 1bbfe8d092
5 changed files with 16 additions and 9 deletions

View File

@@ -102,6 +102,7 @@
member_id,
scenic_id,
face_id,
source_id,
orig_url,
crop_url,
quantity,
@@ -112,6 +113,7 @@
#{memberId},
#{scenicId},
#{faceId},
#{sourceId},
#{origUrl},
#{cropUrl},
1,