dbms_primeidc init...1
This commit is contained in:
parent
1d740703ce
commit
9faf28a7d7
@ -105,9 +105,9 @@ abstract class Model
|
|||||||
|
|
||||||
final public function execute(string $query): bool|PDOStatement
|
final public function execute(string $query): bool|PDOStatement
|
||||||
{
|
{
|
||||||
// if ($this->_debug) {
|
if ($this->_debug) {
|
||||||
// echo "\nQuery:" . $query . "\n";
|
echo "\nQuery:" . $query . "\n";
|
||||||
// }
|
}
|
||||||
$this->_lastQuery = $query;
|
$this->_lastQuery = $query;
|
||||||
$stmt = $this->getConnect()->prepare($query);
|
$stmt = $this->getConnect()->prepare($query);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
|||||||
@ -53,8 +53,7 @@ class ServiceService extends CommonService
|
|||||||
$this->getModel()->where("service_status", 'o');
|
$this->getModel()->where("service_status", 'o');
|
||||||
$this->getModel()->whereNotIn("service_line", $excepts);
|
$this->getModel()->whereNotIn("service_line", $excepts);
|
||||||
$count = $this->getModel()->countAllResults();
|
$count = $this->getModel()->countAllResults();
|
||||||
// throw new \Exception($this->getModel()->getLastQuery());
|
// echo __FUNCTION__ . ":" . $this->getModel()->getLastQuery();
|
||||||
echo __FUNCTION__ . ":" . $this->getModel()->getLastQuery();
|
|
||||||
return $count;
|
return $count;
|
||||||
}
|
}
|
||||||
public function getUnPaymentCount(array $excepts): int|string
|
public function getUnPaymentCount(array $excepts): int|string
|
||||||
@ -63,8 +62,7 @@ class ServiceService extends CommonService
|
|||||||
$this->getModel()->where("service_status", 'o');
|
$this->getModel()->where("service_status", 'o');
|
||||||
$this->getModel()->whereNotIn("service_line", $excepts);
|
$this->getModel()->whereNotIn("service_line", $excepts);
|
||||||
$count = $this->getModel()->countAllResults();
|
$count = $this->getModel()->countAllResults();
|
||||||
// throw new \Exception($this->getModel()->getLastQuery());
|
// echo __FUNCTION__ . ":" . $this->getModel()->getLastQuery();
|
||||||
echo __FUNCTION__ . ":" . $this->getModel()->getLastQuery();
|
|
||||||
return $count;
|
return $count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user