refactor(biz): 重构Vlog 视频价格计算逻辑
All checks were successful
ZhenTu-BE/pipeline/head This commit looks good

- 移除 OrderBiz 中的固定价格设置,改为调用价格计算服务
- 删除 PriceBiz 中未使用的 IOnePricePurchaseService 注入
- 优化 AppOrderV2Controller 中的产品数量设置逻辑
- 新增 VideoTaskRepository 中的 getTaskDeviceCount 方法,用于获取任务设备数量
- 调整 GoodsServiceImpl 和 OrderServiceImpl 中的相关代码,使用新的设备数量获取方法
This commit is contained in:
2025-09-08 10:11:19 +08:00
parent d9a2da49bb
commit 29637bc5e5
6 changed files with 48 additions and 66 deletions

View File

@@ -39,8 +39,6 @@ public class PriceBiz {
private FaceRepository faceRepository;
@Autowired
private CouponBiz couponBiz;
@Autowired
private IOnePricePurchaseService onePricePurchaseService;
public List<GoodsListRespVO> listGoodsByScenic(Long scenicId) {
List<GoodsListRespVO> goodsList = new ArrayList<>();