From 035edfa382d349ba66240fbfef68c14c7cfc95d1 Mon Sep 17 00:00:00 2001 From: admin <1101184511@qq.com> Date: 星期五, 08 八月 2025 01:20:21 +0800 Subject: [PATCH] 功能完善 --- src/main/java/com/taoke/autopay/service/impl/agent/ChannelAgentSharingRatioServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/taoke/autopay/service/impl/agent/ChannelAgentSharingRatioServiceImpl.java b/src/main/java/com/taoke/autopay/service/impl/agent/ChannelAgentSharingRatioServiceImpl.java index c08d683..33b3638 100644 --- a/src/main/java/com/taoke/autopay/service/impl/agent/ChannelAgentSharingRatioServiceImpl.java +++ b/src/main/java/com/taoke/autopay/service/impl/agent/ChannelAgentSharingRatioServiceImpl.java @@ -36,6 +36,7 @@ if (shareRatio.getUpdateTime() != null) { shareRatio.setUpdateTime(new Date()); } + shareRatio.setId(old.getId()); channelAgentSharingRatioMapper.updateByPrimaryKeySelective(shareRatio); } else { if (shareRatio.getCreateTime() == null) { @@ -52,7 +53,7 @@ ChannelAgentSharingRatioMapper.DaoQuery daoQuery = new ChannelAgentSharingRatioMapper.DaoQuery(); daoQuery.agengId = agengId; daoQuery.orderChannel = orderChannel; - daoQuery.count = 0; + daoQuery.count = 1; List<ChannelAgentSharingRatio> list = channelAgentSharingRatioMapper.list(daoQuery); if (list.isEmpty()) { return null; -- Gitblit v1.8.0