|
|
|
@ -105,22 +105,28 @@ public class CreatorProfitServiceImpl implements CreatorProfitService { |
|
|
|
@Override |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public int handleUpdateConfirmType(Long id, Long creatorId) { |
|
|
|
return 0; |
|
|
|
LambdaUpdateWrapper<CreatorProfit> wrapper = new LambdaUpdateWrapper<>(); |
|
|
|
wrapper.eq(CreatorProfit::getCreatorId, creatorId); |
|
|
|
wrapper.eq(CreatorProfit::getId, id); |
|
|
|
CreatorProfit creatorProfit = new CreatorProfit(); |
|
|
|
creatorProfit.setConfirmStatus("1"); |
|
|
|
creatorProfit.setConfirmType("1"); |
|
|
|
return creatorProfitMapper.update(creatorProfit, wrapper); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public CreatorPreProfitVo queryFrontPreProfit(Long creatorId) { |
|
|
|
return null; |
|
|
|
return creatorProfitMapper.queryFrontPreProfit(creatorId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public CreatorIncomeProfitVo queryFrontIncomeProfit(Long creatorId) { |
|
|
|
return null; |
|
|
|
return creatorProfitMapper.queryFrontIncomeProfit(creatorId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public CreatorTransIntoProfitVo queryFrontTransIntoProfit(Long creatorId) { |
|
|
|
return null; |
|
|
|
return creatorProfitMapper.queryFrontTransIntoProfit(creatorId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|