sth
This commit is contained in:
parent
1abb664a35
commit
0c14dba469
|
|
@ -421,7 +421,7 @@ class Order extends Backend
|
||||||
public function addAbnormal($ids = null){
|
public function addAbnormal($ids = null){
|
||||||
if (false === $this->request->isPost()) {
|
if (false === $this->request->isPost()) {
|
||||||
|
|
||||||
$abnormals = model('abnormal')->where('type',2)->order('sort','desc')->select();
|
$abnormals = model('abnormal')->where('type',1)->order('sort','desc')->select();
|
||||||
$abnormals_data = [];
|
$abnormals_data = [];
|
||||||
foreach ($abnormals as $abnormal){
|
foreach ($abnormals as $abnormal){
|
||||||
$abnormals_data [] = $abnormal->toArray();
|
$abnormals_data [] = $abnormal->toArray();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user