Browse Source

Update

master
fanwensheng 3 years ago
parent
commit
e1d95a5279
  1. 18
      04.系统编码/App/Controllers/ConfigManagementController.cs
  2. 1
      04.系统编码/BLL/BLL.csproj
  3. 1
      04.系统编码/DAL/DAL.csproj
  4. 1
      04.系统编码/Model/Model.csproj

18
04.系统编码/App/Controllers/ConfigManagementController.cs

@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PetaPoco;
using System.Web.Mvc;
using Pingchuan.BeijingSafeguard.BLL;
using Pingchuan.BeijingSafeguard.Model;
namespace Pingchuan.BeijingSafeguard.App.Controllers
{
public class ConfigManagementController : Controller
@ -13,5 +13,15 @@ namespace Pingchuan.BeijingSafeguard.App.Controllers
{
return View();
}
public static int Update(Config config)
{
return ConfigBLL.Update(config);
}
public static Page<Config> Query(int pageIndex, int pageSize)
{
return ConfigBLL.Query(pageIndex, pageSize);
}
}
}

1
04.系统编码/BLL/BLL.csproj

@ -47,6 +47,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="GmapNetCacheBLL.cs" />
<Compile Include="ConfigBLL.cs" />
<Compile Include="OrgBLL.cs" />
<Compile Include="TaskBLL.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

1
04.系统编码/DAL/DAL.csproj

@ -51,6 +51,7 @@
<ItemGroup>
<Compile Include="BaseDAL.cs" />
<Compile Include="GmapNetCacheDAL.cs" />
<Compile Include="ConfigDAL.cs" />
<Compile Include="OrgDAL.cs" />
<Compile Include="TaskDAL.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />

1
04.系统编码/Model/Model.csproj

@ -47,6 +47,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="GmapNetCache.cs" />
<Compile Include="Config.cs" />
<Compile Include="Org.cs" />
<Compile Include="RealPoint.cs" />
<Compile Include="Task.cs" />

Loading…
Cancel
Save