From 53d68e1787ccf66370638a320dba4ae5a02cd815 Mon Sep 17 00:00:00 2001 From: "choi.jh" Date: Mon, 30 Jun 2025 11:20:51 +0900 Subject: [PATCH] dbms_init...1 --- app/Controllers/CLI/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/CLI/Payment.php b/app/Controllers/CLI/Payment.php index 20603b5..9cdd62f 100644 --- a/app/Controllers/CLI/Payment.php +++ b/app/Controllers/CLI/Payment.php @@ -50,7 +50,7 @@ class Payment extends BaseController //서비스중 결제일이 오늘이고, 상태가 사용중이 경우만 서비스 모두 연장처리 $this->getServiceService()->extendBillingAt(date('Y-m-d'), DEFAULTS['STATUS']); //결제일이 오늘보다 크고, 상태가 사용중인 서비스정보를 이용해서 결제정보에 신규 추가하기 - foreach ($this->getServiceService()->getEntities(['billing_at >' => date("Y-m-d"), 'status' => DEFAULTS['STATUS']]) as $serviceEntity) { + foreach ($this->getServiceService()->getEntities(['billing_at' => date("Y-m-d"), 'status' => DEFAULTS['STATUS']]) as $serviceEntity) { // echo $serviceEntity->getPK() . ":" . $serviceEntity->getBillingAt() . "\n"; foreach ($this->getServiceItemService()->getEntities(['serviceinfo_uid' => $serviceEntity->getPK()]) as $itemEntity) { //결제정보 ServicePaymentService에 월별 결제만 신규등록