You've already forked FrameTour-BE
提成修改
This commit is contained in:
@ -26,6 +26,7 @@ public class ProfitSharingBiz {
|
||||
private ProfitSharingRecordMapper recordMapper;
|
||||
|
||||
public void processProfitSharing(Long scenicId, Long orderId, BigDecimal amount) {
|
||||
log.info("开始处理分账,当前景区{},订单{},金额{}", scenicId, orderId, amount);
|
||||
ProfitSharingConfig config = repository.getScenicConfig(scenicId);
|
||||
if (config == null || config.getUsers() == null || config.getUsers().isEmpty()) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user