This commit is contained in:
wangjinlei
2023-07-03 13:14:56 +08:00
parent b251027249
commit bfa6734af4
4 changed files with 91 additions and 2 deletions

View File

@@ -596,7 +596,7 @@ class Production extends Base
if (!$rule->check($data)) {
return jsonError($rule->getError());
}
$list = $this->production_article_refer_obj->where('p_article_id', $data['p_article_id'])->where('state', 0)->select();
$list = $this->production_article_refer_obj->where('p_article_id', $data['p_article_id'])->where('state', 0)->order("index")->select();
$re['refers'] = $list;
return jsonSuccess($re);
}