feat(printer): 添加素材打印状态查询功能

- 在PrinterMapper中新增countFacePhoto方法用于统计用户打印素材数量
- 创建GoodsDetailPrintSceneVO类继承GoodsDetailVO并添加inList字段
- 修改GoodsReqQuery类添加scene字段用于标识打印场景
- 在GoodsServiceImpl中注入PrinterMapper并实现打印状态判断逻辑
- 在PrinterMapper.xml中添加对应的SQL查询语句
- 移除BaseContextHandler引入,优化代码依赖关系
This commit is contained in:
2025-11-19 15:08:39 +08:00
parent 778afaaa83
commit 625ad910c9
5 changed files with 23 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
package com.ycwl.basic.model.mobile.goods;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = true)
public class GoodsDetailPrintSceneVO extends GoodsDetailVO{
private Boolean inList;
}

View File

@@ -17,4 +17,5 @@ public class GoodsReqQuery {
private Long scenicId;
// 源素材商品类型 1视频 2图像
private Integer sourceType;
private String scene;
}