From d1abdb4f490048aaedd7d97a7f29106a5cdd7ee0 Mon Sep 17 00:00:00 2001 From: dengyu Date: Thu, 20 Jul 2023 09:59:19 +0800 Subject: [PATCH] 1 --- .../Controllers/DSWEBAPPInterfaceController.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/DSWeb/Areas/CommMng/Controllers/DSWEBAPPInterfaceController.cs b/DSWeb/Areas/CommMng/Controllers/DSWEBAPPInterfaceController.cs index 00bb6839..da83e98f 100644 --- a/DSWeb/Areas/CommMng/Controllers/DSWEBAPPInterfaceController.cs +++ b/DSWeb/Areas/CommMng/Controllers/DSWEBAPPInterfaceController.cs @@ -23,6 +23,7 @@ using DSWeb.MvcShipping.DAL.MsInfoClient; using DSWeb.MvcShipping.Models.MsInfoClient; using DSWeb.Areas.Account.DAL.Chfee_Invoiceapplication; using static java.security.cert.CertPathValidatorException; +using DSWeb.Areas.Account.DAL.Chfee_payapplication; namespace DSWeb.Areas.CommMng.Controllers { @@ -229,7 +230,7 @@ namespace DSWeb.Areas.CommMng.Controllers if (formname == "查询列表") { - var dataList = MsInfoClientDAL.GetDataList(0,50,condition, user.USERID, isaudit, user.SHOWNAME, user.COMPANYID, null); + var dataList = MsInfoClientDAL.GetDataList(0,50,condition, user.USERID, user.SHOWNAME, user.COMPANYID, null); var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() }); return new ContentResult() { Content = json1 }; } @@ -300,7 +301,14 @@ namespace DSWeb.Areas.CommMng.Controllers } if (formname == "查询明细") { - var dataList = ChinvoiceapplicationDAL.GetDetailList( condition, ""); + var dataList = ChinvoiceapplicationDAL.GetBodyList( condition, ""); + var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() }); + return new ContentResult() { Content = json1 }; + } + if (formname == "查询附件") + { + //condition当中只写billno + var dataList = ChfeeFileDal.GetFileList(condition); var json1 = JsonConvert.Serialize(new { Success = true, Message = "查询成功", data = dataList.ToList() }); return new ContentResult() { Content = json1 }; }