|
|
@@ -184,7 +184,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
Fields.Add("Remark", data.Remark); //备注
|
|
|
Fields.Add("Field1", data.Field1); //备用字段
|
|
|
|
|
|
- Fields.Add("SeoTitle", data.SeoTitle);
|
|
|
+ Fields.Add("SeoTitle", SysUserName + "_" + SysRealName);
|
|
|
Fields.Add("SeoKeyword", data.SeoKeyword);
|
|
|
Fields.Add("SeoDescription", data.Remark);
|
|
|
int Id = new AdminContentOther(_accessor.HttpContext, PublicFunction.MainTables).Add("ToChargeBackRecord", Fields, 0);
|
|
|
@@ -269,6 +269,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}
|
|
|
Fields.Add("ChargeAmount", data.ChargeAmount); //待扣金额
|
|
|
Fields.Add("Kind", data.Kind); //待扣金额
|
|
|
+ Fields.Add("SeoTitle", SysUserName + "_" + SysRealName);
|
|
|
Fields.Add("SeoDescription", data.SeoDescription);
|
|
|
if (info.ChargeType != 124)
|
|
|
{
|
|
|
@@ -303,6 +304,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (toChargeBackRecord.Kind == 2) userAccount.OperateToChargeAmount -= toChargeBackRecord.ChargeAmount;//删除预扣款记录时扣减相应预扣额度
|
|
|
Dictionary<string, object> Fields = new Dictionary<string, object>();
|
|
|
Fields.Add("Status", -1);
|
|
|
+ Fields.Add("SeoTitle", SysUserName + "_" + SysRealName);
|
|
|
new AdminContentOther(_accessor.HttpContext, PublicFunction.MainTables).Edit("ToChargeBackRecord", Fields, id);
|
|
|
}
|
|
|
db.SaveChanges();
|
|
|
@@ -327,6 +329,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
int id = int.Parse(subid);
|
|
|
Dictionary<string, object> Fields = new Dictionary<string, object>();
|
|
|
Fields.Add("Status", 1);
|
|
|
+ Fields.Add("SeoTitle", SysUserName + "_" + SysRealName);
|
|
|
new AdminContentOther(_accessor.HttpContext, PublicFunction.MainTables).Edit("ToChargeBackRecord", Fields, id);
|
|
|
}
|
|
|
db.SaveChanges();
|
|
|
@@ -374,6 +377,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
int id = int.Parse(subid);
|
|
|
Dictionary<string, object> Fields = new Dictionary<string, object>();
|
|
|
Fields.Add("Status", 3);
|
|
|
+ Fields.Add("SeoTitle", SysUserName + "_" + SysRealName);
|
|
|
new AdminContentOther(_accessor.HttpContext, PublicFunction.MainTables).Edit("ToChargeBackRecord", Fields, id);
|
|
|
}
|
|
|
db.SaveChanges();
|
|
|
@@ -397,6 +401,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
int id = int.Parse(subid);
|
|
|
Dictionary<string, object> Fields = new Dictionary<string, object>();
|
|
|
Fields.Add("Status", 0);
|
|
|
+ Fields.Add("SeoTitle", SysUserName + "_" + SysRealName);
|
|
|
new AdminContentOther(_accessor.HttpContext, PublicFunction.MainTables).Edit("ToChargeBackRecord", Fields, id);
|
|
|
}
|
|
|
db.SaveChanges();
|
|
|
@@ -543,6 +548,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}).Entity;
|
|
|
userAccount.BalanceAmount += toChargeBackRecord.ChargeAmount;
|
|
|
toChargeBackRecord.Status = 2;
|
|
|
+ toChargeBackRecord.SeoTitle = SysUserName + "_" + SysRealName;
|
|
|
info += toChargeBackRecord.Remark + "," + toChargeBackRecord.ChargeAmount + "<br/>";
|
|
|
}
|
|
|
}
|
|
|
@@ -599,6 +605,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
}).Entity;
|
|
|
userAccount.BalanceAmount += toChargeBackRecord.ChargeAmount;
|
|
|
toChargeBackRecord.Status = 2;
|
|
|
+ toChargeBackRecord.SeoTitle = SysUserName + "_" + SysRealName;
|
|
|
info += toChargeBackRecord.Remark + "," + toChargeBackRecord.ChargeAmount + "<br/>";
|
|
|
}
|
|
|
//未扣款
|