feat(printer): 添加图片类型字段支持不同来源图片处理

- 在 MemberPrintEntity 和 MemberPrintResp 中新增 imageType 字段
- 根据 sourceId 自动设置图片类型为移动上传或普通照片
- 拼图类型图片明确标记为 PUZZLE 类型
- 修改图片来源判断逻辑从 sourceId 改为 imageType 字段
- 更新数据库映射文件添加 image_type 字段映射
This commit is contained in:
2026-01-17 02:45:14 +08:00
parent 2efc66292e
commit f2c739160a
4 changed files with 17 additions and 10 deletions

View File

@@ -114,6 +114,7 @@
scenic_id,
face_id,
source_id,
image_type,
orig_url,
crop_url,
crop,
@@ -126,6 +127,7 @@
#{scenicId},
#{faceId},
#{sourceId},
#{imageType},
#{origUrl},
#{cropUrl},
#{crop},