diff --git a/ad-platform-manage/ad-platform-management/src/main/java/com/baiye/modules/agent/service/impl/ChannelManageServiceImpl.java b/ad-platform-manage/ad-platform-management/src/main/java/com/baiye/modules/agent/service/impl/ChannelManageServiceImpl.java index cd42eb91..cdec77fb 100644 --- a/ad-platform-manage/ad-platform-management/src/main/java/com/baiye/modules/agent/service/impl/ChannelManageServiceImpl.java +++ b/ad-platform-manage/ad-platform-management/src/main/java/com/baiye/modules/agent/service/impl/ChannelManageServiceImpl.java @@ -150,9 +150,11 @@ public class ChannelManageServiceImpl implements ChannelManageService { int num = channelCustom.getSurplusNum(); channelCustom.setStatus(3); channelCustom.setSurplusNum(0); + channelCustom.setTotalNum(0); //返回话费 int bill = channelCustom.getSurplusPhoneBill(); channelCustom.setSurplusPhoneBill(0); + channelCustom.setTotalPhoneBill(0); list.add(channelCustom); if (channelCustom.getParentId() != null) { channelCustomRepository.updateSurplusNum(channelCustom.getParentId(), num, bill);