/// <summary> /// 更新一条数据 /// </summary> public void Update_WGT(string batchno, string strSTLGRD, string strSTDCode, string strDJ, string strMatCode, string strPack, string strLineWHCode, decimal amt, int num) { List <Mod_TRC_ROLL_PRODCUT> list = GetList_WGT_All(batchno, strSTLGRD, strSTDCode, strDJ, strMatCode, strPack, strLineWHCode); if (list.Count > num) { dal.UpdateInventory(list, amt, num); } }