|
|
@ -303,8 +303,8 @@ class TestingResourceRepository
|
|
|
|
$subBindingSql = M('testing_binding', 'tab_')
|
|
|
|
$subBindingSql = M('testing_binding', 'tab_')
|
|
|
|
->where([
|
|
|
|
->where([
|
|
|
|
'_string' =>
|
|
|
|
'_string' =>
|
|
|
|
'tab_testing_binding.role_id < tab_spend.game_player_id and ' .
|
|
|
|
'tab_testing_binding.bind_role_id = tab_spend.game_player_id and ' .
|
|
|
|
'tab_testing_binding.game_id < tab_spend.game_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'
|
|
|
|
'UNIX_TIMESTAMP(FROM_UNIXTIME(tab_testing_binding.create_time, "%Y-%m-%d 00:00:00")) < tab_spend.pay_time'
|
|
|
|
])
|
|
|
|
])
|
|
|
|
->select(false);
|
|
|
|
->select(false);
|
|
|
|