From 595b7935a30e84fba1bc3561d05f9d19d3e32e1f Mon Sep 17 00:00:00 2001 From: Administrator <1101184511@qq.com> Date: 星期三, 23 四月 2025 00:45:48 +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