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)
|
||||
{
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
$query = $this->rule->getSQL('customers_uid');
|
||||
$handler = $this->rule->getHandler('CustomersHandler');
|
||||
$this->sql = $this->container->db->prepare($query);
|
||||
$this->sql->bindParam(':orderIds', $uids);
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
|
||||
return $this->build($handler);
|
||||
}
|
||||
@ -74,11 +74,11 @@ class CustomersBuilder extends Builder
|
||||
*/
|
||||
public function buildCustomersUpdateById($uidString)
|
||||
{
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
$query = $this->rule->getSQL('customers_update_uid');
|
||||
$handler = $this->rule->getHandler('CustomersHandler');
|
||||
$this->sql = $this->container->db->prepare($query);
|
||||
$this->sql->bindParam(':orderIds', $uids);
|
||||
$uids = DataHelper::explodeUids($uidString);
|
||||
|
||||
return $this->build($handler);
|
||||
}
|
||||
|
@ -221,7 +221,7 @@ class Command
|
||||
break;
|
||||
case 'payment-statuses':
|
||||
$reference = $builder->buildPaymentStatuses();
|
||||
$this->requestHelper->uploadDeliveryStatuses($reference);
|
||||
$this->requestHelper->uploadPaymentStatuses($reference);
|
||||
break;
|
||||
case 'statuses':
|
||||
$reference = $builder->buildStatuses();
|
||||
|
Loading…
Reference in New Issue
Block a user