|
|
@@ -520,10 +520,12 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { |
|
|
|
if (finisedAndCost) { |
|
|
|
//设置扣费,当前方法是慧影项目专用的 |
|
|
|
if (StringUtils.isBlank(videoUpd.getVideoTime())) { |
|
|
|
logger.debug(" >>>>>>>>>>>>>> videoUpd no time:"+videoUpd.getVideoTime()); |
|
|
|
break; |
|
|
|
} |
|
|
|
CreateBilling cb = projectFactory.getProjectService(EnumProject.PROJECT_2.getCode()) |
|
|
|
.handleCreateVideoBilling(userMouldVideo.getUserId(), userMouldVideo.getFinalTenantId(), videoUpd.getVideoTime(), videoUpd.getVideoSize()); |
|
|
|
logger.info(">>>>>>>>>> CreateBilling :"+JSON.toJSONString(cb)); |
|
|
|
if (null != cb) { |
|
|
|
videoUpd.setCostPoints(cb.getTotalCostPoins()); |
|
|
|
videoUpd.setCostPointsDetail(cb.getDetail()); |
|
|
|