From 46010e4ac2a95d9817547195fd23e49caed32216 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Wed, 22 Dec 2021 09:37:05 +0800 Subject: [PATCH] settter --- app/repository/CommentRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/repository/CommentRepository.php b/app/repository/CommentRepository.php index ce4a616..af4e382 100644 --- a/app/repository/CommentRepository.php +++ b/app/repository/CommentRepository.php @@ -31,6 +31,7 @@ class CommentRepository extends Repository return CommentModel::alias("a") ->join("account b" ,"a.user_code = b.user_code") ->where($whereMap) + ->whereTime("b.blank_time","<",date("Y-m-d H:i:s")) ->field([ "a.comment", "a.user_code as userCode",