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",