From 3a6b9123990fbd4ef194159217c93cd4afba1b0b Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 12 Nov 2020 12:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Base/Repository/TestingResourceRepository.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Base/Repository/TestingResourceRepository.class.php b/Application/Base/Repository/TestingResourceRepository.class.php index 0ee9bf1ca..81a001291 100644 --- a/Application/Base/Repository/TestingResourceRepository.class.php +++ b/Application/Base/Repository/TestingResourceRepository.class.php @@ -303,8 +303,8 @@ class TestingResourceRepository $subBindingSql = M('testing_binding', 'tab_') ->where([ '_string' => - 'tab_testing_binding.role_id < tab_spend.game_player_id and ' . - 'tab_testing_binding.game_id < tab_spend.game_id and ' . + 'tab_testing_binding.bind_role_id = tab_spend.game_player_id and ' . + 'tab_testing_binding.game_id = tab_spend.game_id and ' . 'UNIX_TIMESTAMP(FROM_UNIXTIME(tab_testing_binding.create_time, "%Y-%m-%d 00:00:00")) < tab_spend.pay_time' ]) ->select(false);