1
This commit is contained in:
@@ -1323,7 +1323,7 @@ class Production extends Base
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
|
||||
$p_info = $this->production_article_obj->where('p_article_id', $data['p_article_id'])->where('state', 0)->find();
|
||||
$p_info = $this->production_article_obj->where('p_article_id', $data['p_article_id'])->find();
|
||||
//清空之前的引用条目
|
||||
$this->production_article_refer_obj->where('p_article_id', $p_info['p_article_id'])->update(['state' => 1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user