|
|
@@ -1095,7 +1095,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
AddSysLog(Id, "UserCashRecord", "cash");
|
|
|
db.SaveChanges();
|
|
|
CustomTagSet set = db.CustomTagSet.FirstOrDefault(m => m.Tags == "CashWithoutUser") ?? new CustomTagSet();
|
|
|
- string MakerCodeString = "," + set.Contents + ",";
|
|
|
+ string IdString = "," + set.Contents + ",";
|
|
|
foreach (string subid in idlist)
|
|
|
{
|
|
|
int id = int.Parse(subid);
|
|
|
@@ -1103,7 +1103,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
if (edit != null)
|
|
|
{
|
|
|
Users user = db.Users.FirstOrDefault(m => m.Id == edit.UserId) ?? new Users();
|
|
|
- if (!MakerCodeString.Contains("," + user.MakerCode + ","))
|
|
|
+ if (!IdString.Contains("," + user.Id + ","))
|
|
|
{
|
|
|
edit.QueryCount = Channel;
|
|
|
edit.UpdateDate = DateTime.Now;
|