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:
@@ -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;
|
||||
}
|
||||
@@ -17,4 +17,5 @@ public class GoodsReqQuery {
|
||||
private Long scenicId;
|
||||
// 源素材商品类型 1视频 2图像
|
||||
private Integer sourceType;
|
||||
private String scene;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user