You've already forked FrameTour-BE
feat(printer): 添加素材打印状态查询功能
- 在PrinterMapper中新增countFacePhoto方法用于统计用户打印素材数量 - 创建GoodsDetailPrintSceneVO类继承GoodsDetailVO并添加inList字段 - 修改GoodsReqQuery类添加scene字段用于标识打印场景 - 在GoodsServiceImpl中注入PrinterMapper并实现打印状态判断逻辑 - 在PrinterMapper.xml中添加对应的SQL查询语句 - 移除BaseContextHandler引入,优化代码依赖关系
This commit is contained in:
@@ -35,7 +35,7 @@ public interface PrinterMapper {
|
||||
PrintTaskEntity getTaskById(Integer id);
|
||||
|
||||
List<PrinterResp> listByScenicId(@Param("scenicId") Long scenicId);
|
||||
|
||||
int countFacePhoto(Long scenicId, Long faceId, Long sourceId);
|
||||
List<MemberPrintResp> listRelation(@Param("memberId") Long memberId, @Param("scenicId") Long scenicId);
|
||||
List<MemberPrintResp> listRelationByFaceId(Long memberId, Long scenicId, Long faceId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user