Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
goods
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
goods
Commits
3d6bbb0b
Commit
3d6bbb0b
authored
Sep 10, 2021
by
mengweifu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:ota manage
parent
8e83f11f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OtaService.php
application/services/goods/OtaService.php
+2
-2
No files found.
application/services/goods/OtaService.php
View file @
3d6bbb0b
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment