You've already forked FrameTour-BE
feat(mobile): 实现基于人脸ID的商品列表查询功能
- 修改AppFaceController中list方法,将scenicId转换为Long类型传递 - 在AppGoodsController中注入FaceService,并在goodsList接口中调用faceService获取人脸列表 - 更新FaceMapper中的listByScenicAndUserId方法签名,统一scenicId参数类型为Long - GoodsServiceImpl中新增listGoodsByFaceIdList方法,实现根据人脸ID列表查询相关商品逻辑 - 商品查询支持按成片vlog和源素材分类展示,并去重处理 - 优化GoodsService接口,增加listGoodsByFaceIdList方法定义 - OrderMapper.xml
This commit is contained in:
@@ -404,6 +404,11 @@
|
||||
o.scenic_id
|
||||
from `order` AS o
|
||||
left join face f on o.face_id = f.id
|
||||
<where>
|
||||
<if test="memberId != null">
|
||||
and o.member_id = #{memberId}
|
||||
</if>
|
||||
</where>
|
||||
order by o.create_at desc
|
||||
</select>
|
||||
<select id="appDetail" resultMap="AppBaseResultMap">
|
||||
|
||||
Reference in New Issue
Block a user