ソースを参照

【修改】缴费管理:导入功能优化,导入文件名称的参数新增;

西昌分支
dyy 4ヶ月前
コミット
1c4064aa70
3個のファイルの変更14行の追加14行の削除
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuOrderController.cs
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuYearItemController.cs
  3. +10
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargesStandardController.cs

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuOrderController.cs ファイルの表示

@@ -158,9 +158,9 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult ExecuteImportExcel(string fileGuid, int chunks, string queryJson)
public ActionResult ExecuteImportExcel(string fileGuid, string fileName, int chunks, string queryJson)
{
string path = annexesFileIBLL.SaveAnnexes(fileGuid, fileGuid, chunks, LoginUserInfo.Get());
string path = annexesFileIBLL.SaveAnnexes(fileGuid, fileName, chunks, LoginUserInfo.Get());
if (!string.IsNullOrEmpty(path))
{
DataTable dt = ExcelHelper.ExcelImport(path);


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuYearItemController.cs ファイルの表示

@@ -148,9 +148,9 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult ExecuteImportExcel(string fileGuid, int chunks, string queryJson)
public ActionResult ExecuteImportExcel(string fileGuid, string fileName, int chunks, string queryJson)
{
string path = annexesFileIBLL.SaveAnnexes(fileGuid, fileGuid, chunks, LoginUserInfo.Get());
string path = annexesFileIBLL.SaveAnnexes(fileGuid, fileName, chunks, LoginUserInfo.Get());
if (!string.IsNullOrEmpty(path))
{
DataTable dt = ExcelHelper.ExcelImport(path);


+ 10
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargesStandardController.cs ファイルの表示

@@ -160,7 +160,7 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetFormData(string majorNo, string syear,string grade)
public ActionResult GetFormData(string majorNo, string syear, string grade)
{
var FinaChargesStandardData = finaChargesStandardIBLL.GetFinaChargesStandardListByMajorNo(majorNo, syear, grade);
var jsonData = new
@@ -199,7 +199,7 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
{
var FinaChargesStandardData = finaChargesStandardIBLL.GetFinaChargesStandardListByMajorNo(majorNo, syear, grade);

var hasStandardData = FinaChargesStandardData.Where(x => x.ChargeStandardID !="");
var hasStandardData = FinaChargesStandardData.Where(x => x.ChargeStandardID != "");
var nohasStandardData = FinaChargesStandardData.Except(hasStandardData);

var hasStandardResult = hasStandardData.Select(x => new
@@ -241,10 +241,10 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
}
[HttpPost]
[AjaxOnly]
public ActionResult Lock(string deptno, string majorNo, string syear, string grade,string ChargeStandardID)
public ActionResult Lock(string deptno, string majorNo, string syear, string grade, string ChargeStandardID)
{
finaChargesStandardIBLL.Lock(deptno, majorNo, syear, grade, ChargeStandardID);
return Success_FinaCharge("审核成功!", "收费标准设置", OperationType.Lock, ChargeStandardID,"专业"+majorNo+"年度"+syear+"年级"+grade);
finaChargesStandardIBLL.Lock(deptno, majorNo, syear, grade, ChargeStandardID);
return Success_FinaCharge("审核成功!", "收费标准设置", OperationType.Lock, ChargeStandardID, "专业" + majorNo + "年度" + syear + "年级" + grade);
}

[HttpPost]
@@ -261,12 +261,12 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
/// <returns></returns>
[HttpPost]
[AjaxOnly]
public ActionResult SaveForm(string deptno,string majorNo, string syear, string grade, string strEntity)
public ActionResult SaveForm(string deptno, string majorNo, string syear, string grade, string strEntity)
{
var aa = strEntity.ToObject<List<FinaChargesStandardEntity>>();
var aaa = aa.Where(x => x.Standard.HasValue && x.Standard.Value > 0).ToList();
finaChargesStandardIBLL.SaveFinaChargesStandardList(deptno,majorNo, syear, grade, aaa);
return Success_FinaCharge("保存成功!", "收费标准设置", OperationType.Update, majorNo, "专业" + majorNo + "年度" + syear + "年级" + grade+aaa.ToJson());
finaChargesStandardIBLL.SaveFinaChargesStandardList(deptno, majorNo, syear, grade, aaa);
return Success_FinaCharge("保存成功!", "收费标准设置", OperationType.Update, majorNo, "专业" + majorNo + "年度" + syear + "年级" + grade + aaa.ToJson());
}

/// <summary>
@@ -311,9 +311,9 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult ExecuteImportExcel(string fileGuid, int chunks, string queryJson)
public ActionResult ExecuteImportExcel(string fileGuid, string fileName, int chunks, string queryJson)
{
string path = annexesFileIBLL.SaveAnnexes(fileGuid, fileGuid, chunks, LoginUserInfo.Get());
string path = annexesFileIBLL.SaveAnnexes(fileGuid, fileName, chunks, LoginUserInfo.Get());
if (!string.IsNullOrEmpty(path))
{
DataTable dt = ExcelHelper.ExcelImport(path);


読み込み中…
キャンセル
保存