mirror of
https://github.com/retailcrm/legacy.git
synced 2024-11-29 00:36:02 +03:00
commit
d6dad7bd4d
@ -41,11 +41,11 @@ class CustomersBuilder extends Builder
|
|||||||
*/
|
*/
|
||||||
public function buildCustomersById($uidString)
|
public function buildCustomersById($uidString)
|
||||||
{
|
{
|
||||||
|
$uids = DataHelper::explodeUids($uidString);
|
||||||
$query = $this->rule->getSQL('customers_uid');
|
$query = $this->rule->getSQL('customers_uid');
|
||||||
$handler = $this->rule->getHandler('CustomersHandler');
|
$handler = $this->rule->getHandler('CustomersHandler');
|
||||||
$this->sql = $this->container->db->prepare($query);
|
$this->sql = $this->container->db->prepare($query);
|
||||||
$this->sql->bindParam(':orderIds', $uids);
|
$this->sql->bindParam(':orderIds', $uids);
|
||||||
$uids = DataHelper::explodeUids($uidString);
|
|
||||||
|
|
||||||
return $this->build($handler);
|
return $this->build($handler);
|
||||||
}
|
}
|
||||||
@ -74,11 +74,11 @@ class CustomersBuilder extends Builder
|
|||||||
*/
|
*/
|
||||||
public function buildCustomersUpdateById($uidString)
|
public function buildCustomersUpdateById($uidString)
|
||||||
{
|
{
|
||||||
|
$uids = DataHelper::explodeUids($uidString);
|
||||||
$query = $this->rule->getSQL('customers_update_uid');
|
$query = $this->rule->getSQL('customers_update_uid');
|
||||||
$handler = $this->rule->getHandler('CustomersHandler');
|
$handler = $this->rule->getHandler('CustomersHandler');
|
||||||
$this->sql = $this->container->db->prepare($query);
|
$this->sql = $this->container->db->prepare($query);
|
||||||
$this->sql->bindParam(':orderIds', $uids);
|
$this->sql->bindParam(':orderIds', $uids);
|
||||||
$uids = DataHelper::explodeUids($uidString);
|
|
||||||
|
|
||||||
return $this->build($handler);
|
return $this->build($handler);
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,7 @@ class Command
|
|||||||
break;
|
break;
|
||||||
case 'payment-statuses':
|
case 'payment-statuses':
|
||||||
$reference = $builder->buildPaymentStatuses();
|
$reference = $builder->buildPaymentStatuses();
|
||||||
$this->requestHelper->uploadDeliveryStatuses($reference);
|
$this->requestHelper->uploadPaymentStatuses($reference);
|
||||||
break;
|
break;
|
||||||
case 'statuses':
|
case 'statuses':
|
||||||
$reference = $builder->buildStatuses();
|
$reference = $builder->buildStatuses();
|
||||||
|
Loading…
Reference in New Issue
Block a user