|
|
@@ -1225,6 +1225,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
return "原机具SN数量和新机具SN数量不一致";
|
|
|
}
|
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
|
+ PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == OldSn);
|
|
|
StoreForCode storeForBack = db.StoreForCode.FirstOrDefault(m => m.Code == BackStoreNo) ?? new StoreForCode();
|
|
|
StoreForCode storeForOut = db.StoreForCode.FirstOrDefault(m => m.Code == OutStoreNo) ?? new StoreForCode();
|
|
|
StoreHouse BackStore = db.StoreHouse.FirstOrDefault(m => m.Id == storeForBack.StoreId) ?? new StoreHouse();
|
|
|
@@ -1357,7 +1358,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
{
|
|
|
RedisDbconn.Instance.AddList("MsgPersonalQueue", Newtonsoft.Json.JsonConvert.SerializeObject(new MsgPersonal()
|
|
|
{
|
|
|
- UserId = OutStore.UserId, //接收创客
|
|
|
+ UserId = pos.UserId, //接收创客
|
|
|
MsgType = 2,
|
|
|
Title = "换绑成功通知", //标题
|
|
|
Summary = "您的 " + oldPosBrand.Name + " SN:" + OldSn + "已经成功为客户换绑为" + newPosBrand.Name + "SN:" + NewSn + "请告知客户进行绑定。",
|