Commit 3d6bbb0b authored by mengweifu's avatar mengweifu

add:ota manage

parent 8e83f11f
......@@ -8,7 +8,7 @@ use Api\PhpServices\Printer\PrinterFactory;
class OtaService
{
const COLUMNS = ['ota_id','ota_name','printer_sn','printer_key','label_printer_sn','label_printer_key', 'longitude', 'latitude', 'location', 'address'];
const COLUMNS = ['ota_id','ota_name','printer_sn','printer_key','label_printer_sn','label_printer_key', 'longitude', 'latitude', 'location', 'address', 'status'];
/**
* 获取供应商列表(op 后台)
* @param string $otaName
......@@ -26,7 +26,7 @@ class OtaService
$labelPrinterSN && $where["label_printer_sn"] = $labelPrinterSN;
$labelPrinterKey && $where['label_printer_key'] = $labelPrinterKey;
$where['status'] = Ota::STATUS_NORMAL;
// $where['status'] = Ota::STATUS_NORMAL;
$where['ORDER'] = ['ota_id' => 'DESC'];
$where['LIMIT'] = [$offset, $limit];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment