1.添加了状态为1
This commit is contained in:
parent
e0c19a5658
commit
006bdbf6f2
@ -785,7 +785,10 @@ class GoodsLogic extends Logic
|
||||
$ar = array();
|
||||
$ar['goods_number'] = $goods_number[$k+3*$i];
|
||||
$ar['w_discount'] = $w_discount[$k+3*$i];
|
||||
Db::name('goods_wholesale')->where(['w_id' => $v['w_id']])->update($ar);
|
||||
Db::name('goods_wholesale')
|
||||
->where(['w_id' => $v['w_id']])
|
||||
->where('w_state',1)
|
||||
->update($ar);
|
||||
}
|
||||
}else{
|
||||
for($y=0;$y<3;$y++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user