|
|
@@ -1,6 +1,7 @@ |
|
|
|
using Learun.Application.Base.SystemModule; |
|
|
|
using Learun.Application.TwoDevelopment.PersonnelManagement; |
|
|
|
using Learun.Util; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Data; |
|
|
|
using System.Linq; |
|
|
@@ -152,7 +153,7 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers |
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
[AjaxOnly] |
|
|
|
public ActionResult GetDetail(string userNo,int year,int month) |
|
|
|
public ActionResult GetDetail(string userNo, int year, int month) |
|
|
|
{ |
|
|
|
var data = gz_AmountsIBLL.GetAmountsDetail(userNo, year, month, 0); |
|
|
|
return Success(data); |
|
|
@@ -166,11 +167,11 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers |
|
|
|
/// </summary> |
|
|
|
/// <param name="keyValue">主键</param> |
|
|
|
/// <returns></returns> |
|
|
|
[HttpPost] |
|
|
|
[HttpGet] |
|
|
|
[AjaxOnly] |
|
|
|
public ActionResult DeleteForm(string keyValue) |
|
|
|
public ActionResult DeleteForm(string userNo, string year, string month) |
|
|
|
{ |
|
|
|
gz_AmountsIBLL.DeleteEntity(keyValue); |
|
|
|
gz_AmountsIBLL.DeleteEntity(userNo, Convert.ToInt32(year), Convert.ToInt32(month)); |
|
|
|
return Success("删除成功!"); |
|
|
|
} |
|
|
|
/// <summary> |
|
|
@@ -216,7 +217,7 @@ namespace Learun.Application.Web.Areas.PersonnelManagement.Controllers |
|
|
|
var items = gz_ItemsIBLL.SyncColumn(useCol); |
|
|
|
|
|
|
|
|
|
|
|
var res = gz_AmountsIBLL.ExecuteImportExcel(dt,ignoreCol,useCol,items, fileGuid); |
|
|
|
var res = gz_AmountsIBLL.ExecuteImportExcel(dt, ignoreCol, useCol, items, fileGuid); |
|
|
|
|
|
|
|
var data = new |
|
|
|
{ |
|
|
|