|
|
@@ -460,8 +460,11 @@ namespace MySystem
|
|
|
store.LaveNum -= OpStoreNum;
|
|
|
store.OutNum += OpStoreNum;
|
|
|
db.SaveChanges();
|
|
|
- string SendData = "{\"Kind\":\"5\",\"Data\":{\"StoreId\":\"" + StoreId + "\",\"BrandId\":\"" + BrandId + "\",\"OpStoreNum\":\"" + OpStoreNum + "\"}}";
|
|
|
- RedisDbconn.Instance.AddList("StoreApplyQueue", SendData);
|
|
|
+ if(BrandId != 14)
|
|
|
+ {
|
|
|
+ string SendData = "{\"Kind\":\"5\",\"Data\":{\"StoreId\":\"" + StoreId + "\",\"BrandId\":\"" + BrandId + "\",\"OpStoreNum\":\"" + OpStoreNum + "\"}}";
|
|
|
+ RedisDbconn.Instance.AddList("StoreApplyQueue", SendData);
|
|
|
+ }
|
|
|
}
|
|
|
foreach (string key in toStoreData.Keys)
|
|
|
{
|
|
|
@@ -499,8 +502,11 @@ namespace MySystem
|
|
|
store.TotalNum += OpStoreNum;
|
|
|
store.LaveNum += OpStoreNum;
|
|
|
db.SaveChanges();
|
|
|
- string SendData = "{\"Kind\":\"5\",\"Data\":{\"StoreId\":\"" + StoreId + "\",\"BrandId\":\"" + BrandId + "\",\"OpStoreNum\":\"-" + OpStoreNum + "\"}}";
|
|
|
- RedisDbconn.Instance.AddList("StoreApplyQueue", SendData);
|
|
|
+ if(BrandId != 14)
|
|
|
+ {
|
|
|
+ string SendData = "{\"Kind\":\"5\",\"Data\":{\"StoreId\":\"" + StoreId + "\",\"BrandId\":\"" + BrandId + "\",\"OpStoreNum\":\"-" + OpStoreNum + "\"}}";
|
|
|
+ RedisDbconn.Instance.AddList("StoreApplyQueue", SendData);
|
|
|
+ }
|
|
|
}
|
|
|
db.SaveChanges();
|
|
|
tran.Commit();
|