This commit is contained in:
2026-04-08 14:03:39 +08:00
parent 7ecbc2ebc0
commit 4a1b636ce0
353 changed files with 1378 additions and 500 deletions
@@ -8,7 +8,7 @@ namespace BLL
public static class InterFaceLogService
{
public static Model.CNPCDB db = Funs.DB;
public const string Type1 = "上报";
public const string Type2 = "下发";
@@ -25,6 +25,7 @@ namespace BLL
}
public static IQueryable<Model.InterFaceLog> GetInterFaceLogByModle(Model.InterFaceLog table)
{
Model.CNPCDB db = Funs.DB;
var q = from x in db.InterFaceLog
where
(string.IsNullOrEmpty(table.InterFaceLogId) || x.InterFaceLogId.Contains(table.InterFaceLogId)) &&
@@ -81,6 +82,7 @@ namespace BLL
public static Model.InterFaceLog GetInterFaceLogById(string InterFaceLogId)
{
Model.CNPCDB db = Funs.DB;
return db.InterFaceLog.FirstOrDefault(x => x.InterFaceLogId == InterFaceLogId);
}
@@ -142,7 +144,7 @@ namespace BLL
public static void UpdateInterFaceLog(Model.InterFaceLog newtable)
{
Model.CNPCDB db = Funs.DB;
Model.InterFaceLog table = db.InterFaceLog.FirstOrDefault(x => x.InterFaceLogId == newtable.InterFaceLogId);
if (table != null)
{