You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
992 B
C#
40 lines
992 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web.Mvc;
|
|
using DSWeb.Areas.TruckMng.Models.Comm;
|
|
using DSWeb.Areas.CommMng.DAL;
|
|
using DSWeb.Areas.Account.DAL.AccountAuditDAL;
|
|
using DSWeb.Areas.Account.Models.Chfee_management;
|
|
using DSWeb.TruckMng.Comm.Cookie;
|
|
using DSWeb.TruckMng.Helper;
|
|
using DSWeb.TruckMng.Helper.Repository;
|
|
using DSWeb.Areas.TruckMng.DAL.Comm;
|
|
using HcUtility.Comm;
|
|
using HcUtility.Core;
|
|
|
|
namespace DSWeb.Areas.Account.Controllers
|
|
{
|
|
[JsonRequestBehavior]
|
|
public class AccountAuditController : Controller
|
|
{
|
|
public ContentResult Audit(int newStatus, string chfeelist)
|
|
{
|
|
|
|
var chfeeList = JsonConvert.Deserialize<List<C_Mmb>>(chfeelist);
|
|
|
|
|
|
DBResult result = AccountAuditDAL.Audit(newStatus, chfeeList);
|
|
|
|
var json = JsonConvert.Serialize(result);
|
|
return new ContentResult() { Content = json };
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|