feat(basic): 新增AI微单类型支持

- 在SourceType枚举中新增AI_CAM类型及其判断方法
- 在ProductType枚举中新增AI_CAM_PHOTO_SET类型
- 扩展SourceMapper接口及XML实现删除指定faceId和type的关联记录功能
- 更新AppAiCamServiceImpl服务逻辑,在添加新关联前先删除旧记录
- 修改GoodsServiceImpl以识别并处理AI微单类型的商品名称前缀
- 在FaceServiceImpl中增加对AI微单内容的查询与展示逻辑
- 优化face相关素材分类展示,确保AI微单正确归类显示
This commit is contained in:
2025-12-05 19:58:53 +08:00
parent 1f4a16f0e6
commit 125fadd6c5
7 changed files with 71 additions and 3 deletions

View File

@@ -496,4 +496,9 @@
AND `type` = #{type}
ORDER BY create_time DESC
</select>
<delete id="deleteRelationsByFaceIdAndType">
DELETE FROM member_source
WHERE face_id = #{faceId} AND `type` = #{type}
</delete>
</mapper>