This commit is contained in:
xman 2025-04-21 10:35:15 +08:00
parent 1abb664a35
commit 0c14dba469

View File

@ -421,7 +421,7 @@ class Order extends Backend
public function addAbnormal($ids = null){
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 = [];
foreach ($abnormals as $abnormal){
$abnormals_data [] = $abnormal->toArray();