diff --git a/app/manager/model/ProductAccount.php b/app/manager/model/ProductAccount.php index 8f69dee..9fe7268 100644 --- a/app/manager/model/ProductAccount.php +++ b/app/manager/model/ProductAccount.php @@ -4,8 +4,8 @@ * @version: * @Author: kangkang * @Date: 2020-10-16 14:44:02 - * @LastEditors: kangkang - * @LastEditTime: 2020-11-20 10:31:38 + * @LastEditors: Please set LastEditors + * @LastEditTime: 2020-11-25 14:56:10 */ namespace app\manager\model; @@ -42,10 +42,10 @@ class ProductAccount extends Model $where = ['DeleteTag' => 0, 'AccountType' => ['<>', $product_account_enum::$Test]]; break; case 2: - $where = ['DeleteTag' => 0, 'EndTime' => ['>', date('Y-m-d H:i:s')], 'AccountType' => ['<>', $product_account_enum::$Test]]; + $where = ['DeleteTag' => 0, 'EndTime' => ['<', date('Y-m-d H:i:s')], 'AccountType' => ['<>', $product_account_enum::$Test]]; break; case 3: - $where = ['DeleteTag' => 0, 'EndTime' => ['<=', date('Y-m-d H:i:s')], 'AccountType' => ['<>', $product_account_enum::$Test]]; + $where = ['DeleteTag' => 0, 'EndTime' => ['>', date('Y-m-d H:i:s')], 'AccountType' => ['<>', $product_account_enum::$Test]]; break; } return $this->field('ProductName,PackageName,Account,StartTime,EndTime,UpdateTime')