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

@@ -16,6 +16,7 @@ public class MemberPrintEntity {
private Long memberId;
private Long faceId;
private Long sourceId;
private String imageType;
private String origUrl;
private String cropUrl;
private String printUrl;

View File

@@ -9,6 +9,7 @@ public class MemberPrintResp {
private Integer id;
private Long scenicId;
private Long sourceId;
private String imageType;
private String scenicName;
private Long faceId;
private Long memberId;