Parcourir la source

工资条接口

新疆警官学校中职
ndbs il y a 2 ans
Parent
révision
d53ee2d541
4 fichiers modifiés avec 195 ajouts et 0 suppressions
  1. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Learun.Application.WebApi.csproj
  2. +64
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/OuoutsourcingApi.cs
  3. +64
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WageScheduleApi.cs
  4. +64
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WelfarePositionApi.cs

+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Learun.Application.WebApi.csproj Voir le fichier

@@ -203,6 +203,9 @@
<Compile Include="Modules\LogisticsManagement\Acc_StuDayRoutineApi.cs" />
<Compile Include="Modules\LogisticsManagement\Acc_PublicAreaHealthApi.cs" />
<Compile Include="Modules\LogisticsManagement\Acc_DailyAssessApi.cs" />
<Compile Include="Modules\WelfarePositionApi.cs" />
<Compile Include="Modules\OuoutsourcingApi.cs" />
<Compile Include="Modules\WageScheduleApi.cs" />
<Compile Include="Modules\PushMessageApi.cs" />
<Compile Include="Modules\EvalApi.cs" />
<Compile Include="Modules\EducationalAdministration\R_EnterBuildingApi.cs" />


+ 64
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/OuoutsourcingApi.cs Voir le fichier

@@ -0,0 +1,64 @@
using Nancy;
using Learun.Util;
using System.Collections.Generic;
using Learun.Application.TwoDevelopment.EducationalAdministration;
using static Learun.Application.WebApi.Modules.StuInfoFreshApi;
using System;
using System.IO;
using System.Linq;
using Learun.Application.Base.SystemModule;
using Learun.Application.OA;
using Learun.Application.OA.File.FileInfo;
using Learun.Application.TwoDevelopment.LogisticsManagement;
using Learun.Application.TwoDevelopment.LR_Desktop;
using Learun.Application.WorkFlow;
using Microsoft.Ajax.Utilities;

namespace Learun.Application.WebApi
{
/// <summary>
/// 版 本 Learun-ADMS-Ultimate V7.0.0 力软敏捷开发框架
/// Copyright (c) 2013-2018 上海力软信息技术有限公司
/// 创 建:超级管理员
/// 日 期:2019-08-19 17:50
/// 描 述:工资条
/// </summary>

public class OuoutsourcingApi : BaseApi
{

private OuoutsourcingIBLL ououtsourcingIBLL = new OuoutsourcingBLL();

/// <summary>
/// 一卡通接口
/// <summary>
public OuoutsourcingApi()
: base("/Learun/adms/Ououtsourcing")
{
Get["/getlist"] = GetList;
}
#region 获取数据

/// <summary>
/// 获取页面显示列表分页数据
/// <summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetList(dynamic _)
{
ReqPageParam parameter = this.GetReqData<ReqPageParam>();
var data = ououtsourcingIBLL.GetPageList(parameter.pagination, parameter.queryJson);
var jsonData = new
{
rows = data,
total = parameter.pagination.total,
page = parameter.pagination.page,
records = parameter.pagination.records
};
return Success(jsonData);
}

#endregion
}

}

+ 64
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WageScheduleApi.cs Voir le fichier

@@ -0,0 +1,64 @@
using Nancy;
using Learun.Util;
using System.Collections.Generic;
using Learun.Application.TwoDevelopment.EducationalAdministration;
using static Learun.Application.WebApi.Modules.StuInfoFreshApi;
using System;
using System.IO;
using System.Linq;
using Learun.Application.Base.SystemModule;
using Learun.Application.OA;
using Learun.Application.OA.File.FileInfo;
using Learun.Application.TwoDevelopment.LogisticsManagement;
using Learun.Application.TwoDevelopment.LR_Desktop;
using Learun.Application.WorkFlow;
using Microsoft.Ajax.Utilities;

namespace Learun.Application.WebApi
{
/// <summary>
/// 版 本 Learun-ADMS-Ultimate V7.0.0 力软敏捷开发框架
/// Copyright (c) 2013-2018 上海力软信息技术有限公司
/// 创 建:超级管理员
/// 日 期:2019-08-19 17:50
/// 描 述:工资条
/// </summary>

public class WageScheduleApi : BaseApi
{

private WageScheduleIBLL wageScheduleIBLL = new WageScheduleBLL();

/// <summary>
/// 一卡通接口
/// <summary>
public WageScheduleApi()
: base("/Learun/adms/WageSchedule")
{
Get["/getlist"] = GetList;
}
#region 获取数据

/// <summary>
/// 获取页面显示列表分页数据
/// <summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetList(dynamic _)
{
ReqPageParam parameter = this.GetReqData<ReqPageParam>();
var data = wageScheduleIBLL.GetPageList(parameter.pagination, parameter.queryJson);
var jsonData = new
{
rows = data,
total = parameter.pagination.total,
page = parameter.pagination.page,
records = parameter.pagination.records
};
return Success(jsonData);
}

#endregion
}

}

+ 64
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/WelfarePositionApi.cs Voir le fichier

@@ -0,0 +1,64 @@
using Nancy;
using Learun.Util;
using System.Collections.Generic;
using Learun.Application.TwoDevelopment.EducationalAdministration;
using static Learun.Application.WebApi.Modules.StuInfoFreshApi;
using System;
using System.IO;
using System.Linq;
using Learun.Application.Base.SystemModule;
using Learun.Application.OA;
using Learun.Application.OA.File.FileInfo;
using Learun.Application.TwoDevelopment.LogisticsManagement;
using Learun.Application.TwoDevelopment.LR_Desktop;
using Learun.Application.WorkFlow;
using Microsoft.Ajax.Utilities;

namespace Learun.Application.WebApi
{
/// <summary>
/// 版 本 Learun-ADMS-Ultimate V7.0.0 力软敏捷开发框架
/// Copyright (c) 2013-2018 上海力软信息技术有限公司
/// 创 建:超级管理员
/// 日 期:2019-08-19 17:50
/// 描 述:工资条
/// </summary>

public class WelfarePositionApi : BaseApi
{

private WelfarePositionIBLL WelfarePositionIBLL = new WelfarePositionBLL();

/// <summary>
/// 一卡通接口
/// <summary>
public WelfarePositionApi()
: base("/Learun/adms/WelfarePosition")
{
Get["/getlist"] = GetList;
}
#region 获取数据

/// <summary>
/// 获取页面显示列表分页数据
/// <summary>
/// <param name="_"></param>
/// <returns></returns>
public Response GetList(dynamic _)
{
ReqPageParam parameter = this.GetReqData<ReqPageParam>();
var data = WelfarePositionIBLL.GetPageList(parameter.pagination, parameter.queryJson);
var jsonData = new
{
rows = data,
total = parameter.pagination.total,
page = parameter.pagination.page,
records = parameter.pagination.records
};
return Success(jsonData);
}

#endregion
}

}

Chargement…
Annuler
Enregistrer