|
|
@@ -259,7 +259,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
Models.WebCMSEntities db = new Models.WebCMSEntities();
|
|
|
// Users users = db.Users.FirstOrDefault(m => m.Id == editData.UserId) ?? new Users();
|
|
|
SysAdmin sysAdmin = opdb.SysAdmin.FirstOrDefault(m => m.Status == 0 && m.UserId == editData.UserId) ?? new SysAdmin();
|
|
|
- ViewBag.UserId = sysAdmin.Id;
|
|
|
+ ViewBag.UserId = sysAdmin.UserId;
|
|
|
ViewBag.MakerCode = sysAdmin.MakerCode;
|
|
|
ViewBag.MakerName = sysAdmin.MakerName;
|
|
|
ViewBag.UseAmount = editData.UseAmount;
|
|
|
@@ -315,7 +315,6 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
Fields.Add("ErpCode", data.ErpCode); //快递单号
|
|
|
Fields.Add("UserId", data.UserId); //创客
|
|
|
|
|
|
- Fields.Add("SeoTitle", SysUserName + '-' + SysRealName);
|
|
|
Fields.Add("SeoKeyword", data.SeoKeyword);
|
|
|
Fields.Add("SeoDescription", data.SeoDescription);
|
|
|
new AdminContentByConn(_accessor.HttpContext, PublicFunction.OpTables, OpConn).Edit("StoreMachineApply", Fields, data.Id);
|
|
|
@@ -383,7 +382,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
public string Close(string Id)
|
|
|
{
|
|
|
string[] idlist = Id.Split(new char[] { ',' });
|
|
|
- AddSysLog(Id, "StoreMachineApply", "close");
|
|
|
+ AddSysLog(Id, "StoreMachineApplyOperate", "close");
|
|
|
foreach (string subid in idlist)
|
|
|
{
|
|
|
int id = int.Parse(subid);
|