Commit 60714073 by hcy001

bom4

parent 8ba3faee
Showing with 4 additions and 0 deletions
......@@ -76,6 +76,10 @@ func BatchSaveMatchings(bomId int, matchingList []model.BomItemMatching,status .
itemStatus = 3
}
if itemStatus == 3 {
is_select = 0;
}
err = model.Db.Table("lie_bom_item_"+tableEnd).Where("bom_item_id = ?", matching.BomItemID).
Updates(map[string]interface{}{"item_status": itemStatus, "update_time": now, "is_select": is_select}).Error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment