Kaynağa Gözat

库存bug修复

zhangkun 5 yıl önce
ebeveyn
işleme
01072d2500

+ 2 - 0
代码/TVShoppingCallCenter_ZLJ/Controllers/Order/OrderController.cs

@@ -484,6 +484,8 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.Order
484 484
                 modelOrder.F_BelongName = UserLogin.UserName;
485 485
             }
486 486
 
487
+            modelOrder.F_ExpressFee = input.F_ExpressFee;
488
+            modelOrder.F_Stock = input.F_Stock;
487 489
 
488 490
             modelOrder.F_RealPrice = input.F_RealPrice;
489 491
             modelOrder.F_UseScore = input.F_UseScore;

+ 8 - 2
代码/TVShoppingCallCenter_ZLJ/Controllers/Order/OrderFunctionController.cs

@@ -189,9 +189,15 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.Order
189 189
                 {
190 190
                     modelvip.F_Score = modelvip.F_Score + modelOrder.F_UseScore;
191 191
                     if (await cus_vip_infoRepository.Update(modelvip))
192
-                    { return ("库存可能不足//积分回滚")+msg; }
192
+                    { 
193
+                        return ("库存可能不足//积分回滚") + msg; 
194
+                    }
195
+                    else 
196
+                    {
197
+                        return ("回滚") + msg;
198
+                    }
193 199
                 }
194
-                return ("库存回滚处理失败"+ msg);
200
+                return ("对接亿博士库存失败"+ msg);
195 201
             }
196 202
             #endregion
197 203
             return "1";