Ver a proveniência

学生年度缴费数据

西昌缴费二期
fzp há 1 ano
ascendente
cometimento
3d4b565b2f
26 ficheiros alterados com 1823 adições e 1 eliminações
  1. +123
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuYearController.cs
  2. +117
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/收费明细管理Controller.cs
  3. +31
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Form.cshtml
  4. +51
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Form.js
  5. +31
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/GenerateByConditionForm.cshtml
  6. +115
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/GenerateByConditionForm.js
  7. +53
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Index.cshtml
  8. +160
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Index.js
  9. +31
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Form.cshtml
  10. +52
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Form.js
  11. +26
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Index.cshtml
  12. +107
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Index.js
  13. +12
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  14. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config
  15. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
  16. +29
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/ReceiveSendFeeManagement/FinaChargeStuYearItemMap.cs
  17. +29
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/ReceiveSendFeeManagement/FinaChargeStuYearMap.cs
  18. +8
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj
  19. +125
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearBLL.cs
  20. +75
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearEntity.cs
  21. +48
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearIBLL.cs
  22. +165
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearService.cs
  23. +109
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/FinaChargeStuYearItemEntity.cs
  24. +125
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/收费明细管理BLL.cs
  25. +48
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/收费明细管理IBLL.cs
  26. +150
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/收费明细管理Service.cs

+ 123
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuYearController.cs Ver ficheiro

@@ -0,0 +1,123 @@
using Learun.Util;
using System.Data;
using Learun.Application.TwoDevelopment.ReceiveSendFeeManagement;
using System.Web.Mvc;
using System.Collections.Generic;

namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 15:52
/// 描 述:学生年度缴费管理
/// </summary>
public class FinaChargeStuYearController : MvcControllerBase
{
private FinaChargeStuYearIBLL finaChargeStuYearIBLL = new FinaChargeStuYearBLL();

#region 视图功能

/// <summary>
/// 主页面
/// <summary>
/// <returns></returns>
[HttpGet]
public ActionResult Index()
{
return View();
}
/// <summary>
/// 表单页
/// <summary>
/// <returns></returns>
[HttpGet]
public ActionResult Form()
{
return View();
}

[HttpGet]
public ActionResult GenerateByConditionForm()
{
return View();
}
#endregion

#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetPageList(string pagination, string queryJson)
{
Pagination paginationobj = pagination.ToObject<Pagination>();
var data = finaChargeStuYearIBLL.GetPageList(paginationobj, queryJson);
var jsonData = new
{
rows = data,
total = paginationobj.total,
page = paginationobj.page,
records = paginationobj.records
};
return Success(jsonData);
}
/// <summary>
/// 获取表单数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetFormData(string keyValue)
{
var FinaChargeStuYearData = finaChargeStuYearIBLL.GetFinaChargeStuYearEntity( keyValue );
var jsonData = new {
FinaChargeStuYear = FinaChargeStuYearData,
};
return Success(jsonData);
}
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpPost]
[AjaxOnly]
public ActionResult DeleteForm(string keyValue)
{
finaChargeStuYearIBLL.DeleteEntity(keyValue);
return Success("删除成功!");
}
/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="strEntity">实体</param>
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
[AjaxOnly]
public ActionResult SaveForm(string keyValue, string strEntity)
{
FinaChargeStuYearEntity entity = strEntity.ToObject<FinaChargeStuYearEntity>();
finaChargeStuYearIBLL.SaveEntity(keyValue,entity);
if (string.IsNullOrEmpty(keyValue))
{
}
return Success("保存成功!");
}
#endregion

}
}

+ 117
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/收费明细管理Controller.cs Ver ficheiro

@@ -0,0 +1,117 @@
using Learun.Util;
using System.Data;
using Learun.Application.TwoDevelopment.ReceiveSendFeeManagement;
using System.Web.Mvc;
using System.Collections.Generic;

namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 16:40
/// 描 述:FinaChargeStuYearItem
/// </summary>
public class 收费明细管理Controller : MvcControllerBase
{
private 收费明细管理IBLL 收费明细管理IBLL = new 收费明细管理BLL();

#region 视图功能

/// <summary>
/// 主页面
/// <summary>
/// <returns></returns>
[HttpGet]
public ActionResult Index()
{
return View();
}
/// <summary>
/// 表单页
/// <summary>
/// <returns></returns>
[HttpGet]
public ActionResult Form()
{
return View();
}
#endregion

#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetPageList(string pagination, string queryJson)
{
Pagination paginationobj = pagination.ToObject<Pagination>();
var data = 收费明细管理IBLL.GetPageList(paginationobj, queryJson);
var jsonData = new
{
rows = data,
total = paginationobj.total,
page = paginationobj.page,
records = paginationobj.records
};
return Success(jsonData);
}
/// <summary>
/// 获取表单数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpGet]
[AjaxOnly]
public ActionResult GetFormData(string keyValue)
{
var FinaChargeStuYearItemData = 收费明细管理IBLL.GetFinaChargeStuYearItemEntity( keyValue );
var jsonData = new {
FinaChargeStuYearItem = FinaChargeStuYearItemData,
};
return Success(jsonData);
}
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpPost]
[AjaxOnly]
public ActionResult DeleteForm(string keyValue)
{
收费明细管理IBLL.DeleteEntity(keyValue);
return Success("删除成功!");
}
/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="strEntity">实体</param>
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
[AjaxOnly]
public ActionResult SaveForm(string keyValue, string strEntity)
{
FinaChargeStuYearItemEntity entity = strEntity.ToObject<FinaChargeStuYearItemEntity>();
收费明细管理IBLL.SaveEntity(keyValue,entity);
if (string.IsNullOrEmpty(keyValue))
{
}
return Success("保存成功!");
}
#endregion

}
}

+ 31
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Form.cshtml Ver ficheiro

@@ -0,0 +1,31 @@
@{
ViewBag.Title = "学生年度缴费管理";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYear" >
<div class="lr-form-item-title">学号</div>
<input id="StuNo" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYear" >
<div class="lr-form-item-title">缴费年度</div>
<input id="FSYear" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYear" >
<div class="lr-form-item-title">应缴金额</div>
<input id="YJAmount" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYear" >
<div class="lr-form-item-title">实缴金额</div>
<input id="SJAmount" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYear" >
<div class="lr-form-item-title">缴费年度余额</div>
<input id="FSBlance" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYear" >
<div class="lr-form-item-title">缴费状态</div>
<div id="PayFeeStatus" ></div>
</div>
</div>
@Html.AppendJsFile("/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Form.js")

+ 51
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Form.js Ver ficheiro

@@ -0,0 +1,51 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2023-08-07 15:52
* 描 述:学生年度缴费管理
*/
var acceptClick;
var keyValue = request('keyValue');
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
$('.lr-form-wrap').lrscroll();
page.bind();
page.initData();
},
bind: function () {
$('#PayFeeStatus').lrDataItemSelect({ code: 'PayStatus' });
},
initData: function () {
if (!!keyValue) {
$.lrSetForm(top.$.rootUrl + '/ReceiveSendFeeManagement/FinaChargeStuYear/GetFormData?keyValue=' + keyValue, function (data) {
for (var id in data) {
if (!!data[id].length && data[id].length > 0) {
$('#' + id ).jfGridSet('refreshdata', data[id]);
}
else {
$('[data-table="' + id + '"]').lrSetFormData(data[id]);
}
}
});
}
}
};
// 保存数据
acceptClick = function (callBack) {
if (!$('body').lrValidform()) {
return false;
}
var postData = {
strEntity: JSON.stringify($('body').lrGetFormData())
};
$.lrSaveForm(top.$.rootUrl + '/ReceiveSendFeeManagement/FinaChargeStuYear/SaveForm?keyValue=' + keyValue, postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});
};
page.init();
}

+ 31
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/GenerateByConditionForm.cshtml Ver ficheiro

@@ -0,0 +1,31 @@
@{
ViewBag.Title = "按条件清空排课数据";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">缴费年度<font face="宋体">*</font></div>
<div id="FSYear" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">缴费项目类型<font face="宋体">*</font></div>
<div id="ChargeItemType" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">系部</div>
<div id="DeptNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">专业</div>
<div id="MajorNo"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">年级</div>
<div id="Grade"></div>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">班级</div>
<div id="ClassNo"></div>
</div>
</div>
@Html.AppendJsFile("/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/GenerateByConditionForm.js")

+ 115
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/GenerateByConditionForm.js Ver ficheiro

@@ -0,0 +1,115 @@
/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn)
* Copyright (c) 2013-2018 北京泉江科技有限公司
* 创建人:超级管理员
* 日 期:2019-02-27 11:05
* 描 述:按条件清空排课数据
*/
var acceptClick;
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.bind();
},
bind: function () {
$('#FSYear').lrselect({
url: top.$.rootUrl + '/EducationalAdministration/CdMajor/GenerateNearByYear',
value: 'value',
text: 'text'
});
var now = new Date();
$('#PayYear').lrselectSet(now.getFullYear());
$('#ChargeItemType').lrDataItemSelect({ code: 'ChargeItemType' });
$('#DeptNo').lrselect({
value: "deptno",
text: "deptname",
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdDeptInfo',
select: function (item) {
if (item) {
$('#MajorNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable',
param: { code: "CdMajorInfo", strWhere: "DeptNo='" + item.deptno + "'" }
});
}
else {
$('#MajorNo').lrselectRefresh({
url: "",
data: []
});
}
$('#ClassNo').lrselectRefresh({
url: "",
data: []
});
}
});
$('#MajorNo').lrselect({
value: "majorno",
text: "majorname",
select: function (item) {
if (item) {
$('#ClassNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable',
param: { code: "bjsj", strWhere: "DeptNo='" + item.deptno + "' and majorno='" + item.majorno + "'" }
});
}

}
});


$('#MajorNo').on("click",
function () {
var data = $('#DeptNo').lrselectGet();
if (!data) {
learun.alert.error('请先选择系');
}
});
$('#Grade').lrselect({
url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
value: 'value',
text: 'text',
select: function (item) {
if (item) {
$('#ClassNo').lrselectRefresh({
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable',
param: { code: "bjsj", strWhere: "grade='" + item.value + "'" }
});
}

}
});
$('#ClassNo').lrselect({
value: "classno",
text: "classname"
});
$('#ClassNo').on("click",
function () {
var data1 = $('#DeptNo').lrselectGet();
var data2 = $('#MajorNo').lrselectGet();
var data3 = $('#Grade').lrselectGet();
if (!data1 || !data2&&!data3) {
learun.alert.error('请先选择系和专业或年级');
}
if ((!data1 || !data2) && data3) {
learun.alert.error('请先选择年级');
}
});
}
};
// 保存数据
acceptClick = function (callBack) {
if (!$('#form').lrValidform()) {
return false;
}
var postData = $('#form').lrGetFormData();
$.lrSaveForm(top.$.rootUrl + '/EducationalAdministration/ArrangeLessonTerm/AsyncModifyArrangeLessonDataByCondition', postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});

};
page.init();
}

+ 53
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Index.cshtml Ver ficheiro

@@ -0,0 +1,53 @@
@{
ViewBag.Title = "学生年度缴费管理";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div class="lr-layout lr-layout-left-center" id="lr_layout">
<div class="lr-layout-left">
<div class="lr-layout-wrap">
<div class="lr-layout-title lrlt ">缴费年度</div>
<div id="dataTree" class="lr-layout-body"></div>
</div>
</div>
<div class="lr-layout-center">
<div class="lr-layout-wrap ">
<div class="lr-layout-title">
<span id="titleinfo" class="lrlt">学生缴费信息</span>
</div>
<div class="lr-layout-tool">
<div class="lr-layout-tool-left">
<div class="lr-layout-tool-item">
<div id="multiple_condition_query">
<div class="lr-query-formcontent">
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">学号</div>
<input id="StuNo" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item">
<div class="lr-form-item-title">缴费年度</div>
<input id="FSYear" type="text" class="form-control"/>
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">缴费状态</div>
<div id="PayFeeStatus"></div>
</div>
</div>
</div>
</div>
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;生成缴费信息</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;退费</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;作废</a>
</div>
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Index.js")

+ 160
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FinaChargeStuYear/Index.js Ver ficheiro

@@ -0,0 +1,160 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2023-08-07 15:52
* 描 述:学生年度缴费管理
*/
var refreshGirdData;
var fSYear;
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.initGird();
page.bind();
},
bind: function () {
// 初始化左侧树形数据
$('#dataTree').lrtree({
url: top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetTree',
nodeClick: function (item) {
fSYear = item.value;
page.search();
}
});
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
$('#PayFeeStatus').lrDataItemSelect({ code: 'PayStatus' });
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
});
// 新增
$('#lr_add').on('click', function () {
learun.layerForm({
id: 'form',
title: '生成缴费信息',
url: top.$.rootUrl + '/ReceiveSendFeeManagement/FinaChargeStuYear/GenerateByConditionForm',
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
});
// 编辑
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('FSYId');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '编辑',
url: top.$.rootUrl + '/ReceiveSendFeeManagement/FinaChargeStuYear/Form?keyValue=' + keyValue,
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
}
});
// 删除
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('FSYId');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/ReceiveSendFeeManagement/FinaChargeStuYear/DeleteForm', { keyValue: keyValue}, function () {
refreshGirdData();
});
}
});
}
});
},
// 初始化列表
initGird: function () {
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/ReceiveSendFeeManagement/FinaChargeStuYear/GetPageList',
headData: [
{ label: "学号", name: "StuNo", width: 100, align: "left" },
{ label: "姓名", name: "StuName", width: 100, align: "left" },
{
label: "性别", name: "GenderNo", width: 80, align: "left",
formatter: function (cellvalue) {
return cellvalue == true ? "男" : "女";
}
},
{ label: "身份证号", name: "IdentityCardNo", width: 100, align: "left" },
{
label: "系所", name: "DeptNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo',
key: value,
keyId: 'deptno',
callback: function (_data) {
callback(_data['deptname']);
}
});
}
},
{
label: "专业", name: "MajorNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdMajorInfo',
key: value,
keyId: 'majorno',
callback: function (_data) {
callback(_data['majorname']);
}
});
}
},
{
label: "班级", name: "ClassNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'bjsj',
key: value,
keyId: 'classno',
callback: function (_data) {
callback(_data['classname']);
}
});
}
},
{ label: "年级", name: "Grade", width: 100, align: "left" },
{ label: "缴费年度", name: "FSYear", width: 100, align: "left"},
{ label: "应缴金额", name: "YJAmount", width: 100, align: "left"},
{ label: "实缴金额", name: "SJAmount", width: 100, align: "left"},
{ label: "缴费年度余额", name: "FSBlance", width: 100, align: "left"},
{ label: "缴费状态", name: "PayFeeStatus", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'PayStatus',
callback: function (_data) {
callback(_data.text);
}
});
}},
],
mainId:'FSYId',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
param.fSYear = fSYear;
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
$('#gridtable').jfGridSet('reload');
};
page.init();
}

+ 31
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Form.cshtml Ver ficheiro

@@ -0,0 +1,31 @@
@{
ViewBag.Title = "FinaChargeStuYearItem";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYearItem" >
<div class="lr-form-item-title">收费项目编号</div>
<input id="ChargeItemCode" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYearItem" >
<div class="lr-form-item-title">收费项名称</div>
<input id="ChargeItemName" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYearItem" >
<div class="lr-form-item-title">收费项目类型</div>
<div id="ChargeItemType" ></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYearItem" >
<div class="lr-form-item-title">应缴金额</div>
<input id="Standard" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYearItem" >
<div class="lr-form-item-title">实缴金额</div>
<input id="SJAmount" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="FinaChargeStuYearItem" >
<div class="lr-form-item-title">缴费状态</div>
<div id="PayFeeStatus" ></div>
</div>
</div>
@Html.AppendJsFile("/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Form.js")

+ 52
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Form.js Ver ficheiro

@@ -0,0 +1,52 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2023-08-07 16:40
* 描 述:FinaChargeStuYearItem
*/
var acceptClick;
var keyValue = request('keyValue');
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
$('.lr-form-wrap').lrscroll();
page.bind();
page.initData();
},
bind: function () {
$('#ChargeItemType').lrDataItemSelect({ code: 'ChargeItemType' });
$('#PayFeeStatus').lrDataItemSelect({ code: 'PayStatus' });
},
initData: function () {
if (!!keyValue) {
$.lrSetForm(top.$.rootUrl + '/ReceiveSendFeeManagement/收费明细管理/GetFormData?keyValue=' + keyValue, function (data) {
for (var id in data) {
if (!!data[id].length && data[id].length > 0) {
$('#' + id ).jfGridSet('refreshdata', data[id]);
}
else {
$('[data-table="' + id + '"]').lrSetFormData(data[id]);
}
}
});
}
}
};
// 保存数据
acceptClick = function (callBack) {
if (!$('body').lrValidform()) {
return false;
}
var postData = {
strEntity: JSON.stringify($('body').lrGetFormData())
};
$.lrSaveForm(top.$.rootUrl + '/ReceiveSendFeeManagement/收费明细管理/SaveForm?keyValue=' + keyValue, postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});
};
page.init();
}

+ 26
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Index.cshtml Ver ficheiro

@@ -0,0 +1,26 @@
@{
ViewBag.Title = "FinaChargeStuYearItem";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div class="lr-layout " >
<div class="lr-layout-center">
<div class="lr-layout-wrap lr-layout-wrap-notitle ">
<div class="lr-layout-tool">
<div class="lr-layout-tool-left">
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;新增</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Index.js")

+ 107
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/收费明细管理/Index.js Ver ficheiro

@@ -0,0 +1,107 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2023-08-07 16:40
* 描 述:FinaChargeStuYearItem
*/
var refreshGirdData;
var bootstrap = function ($, learun) {
"use strict";
var page = {
init: function () {
page.initGird();
page.bind();
},
bind: function () {
// 刷新
$('#lr_refresh').on('click', function () {
location.reload();
});
// 新增
$('#lr_add').on('click', function () {
learun.layerForm({
id: 'form',
title: '新增',
url: top.$.rootUrl + '/ReceiveSendFeeManagement/收费明细管理/Form',
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
});
// 编辑
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('FSYIId');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '编辑',
url: top.$.rootUrl + '/ReceiveSendFeeManagement/收费明细管理/Form?keyValue=' + keyValue,
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
}
});
// 删除
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('FSYIId');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/ReceiveSendFeeManagement/收费明细管理/DeleteForm', { keyValue: keyValue}, function () {
refreshGirdData();
});
}
});
}
});
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/ReceiveSendFeeManagement/收费明细管理/GetPageList',
headData: [
{ label: "收费项目编号", name: "ChargeItemCode", width: 100, align: "left"},
{ label: "收费项名称", name: "ChargeItemName", width: 100, align: "left"},
{ label: "收费项目类型", name: "ChargeItemType", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'ChargeItemType',
callback: function (_data) {
callback(_data.text);
}
});
}},
{ label: "应缴金额", name: "Standard", width: 100, align: "left"},
{ label: "实缴金额", name: "SJAmount", width: 100, align: "left"},
{ label: "缴费状态", name: "PayFeeStatus", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'PayStatus',
callback: function (_data) {
callback(_data.text);
}
});
}},
],
mainId:'FSYIId',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
$('#gridtable').jfGridSet('reload');
};
page.init();
}

+ 12
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Ver ficheiro

@@ -890,6 +890,8 @@
<Compile Include="Areas\StuPayManage\Controllers\SP_FeeItemController.cs" />
<Compile Include="Areas\StuPayManage\Controllers\SP_LogController.cs" />
<Compile Include="Areas\ReceiveSendFeeManagement\Controllers\FinaChargeStudentController.cs" />
<Compile Include="Areas\ReceiveSendFeeManagement\Controllers\FinaChargeStuYearController.cs" />
<Compile Include="Areas\ReceiveSendFeeManagement\Controllers\收费明细管理Controller.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" />
@@ -1628,6 +1630,7 @@
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Form.js" />
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\FormView.js" />
<Content Include="Areas\PersonnelManagement\Views\WorkStudyPositionApply\Index.js" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStuYear\GenerateByConditionForm.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\AnswerIndex.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\AnswerQuery.js" />
<Content Include="Areas\StudentWork\Views\SW_Ask_Main\Form.js" />
@@ -6651,6 +6654,14 @@
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStudent\Index.js" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStudent\Form.cshtml" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStudent\Form.js" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStuYear\Index.cshtml" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStuYear\Index.js" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStuYear\Form.cshtml" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStuYear\Form.js" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\收费明细管理\Index.cshtml" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\收费明细管理\Index.js" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\收费明细管理\Form.cshtml" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\收费明细管理\Form.js" />
</ItemGroup>
<ItemGroup>
<Folder Include="Areas\EducationalAdministration\Views\AwardAndPunishment\" />
@@ -7952,6 +7963,7 @@
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\ExcelImportPay.cshtml" />
<Content Include="Content\excel\OrderDetail.xls" />
<Content Include="Areas\StuPayManage\Views\web.config" />
<Content Include="Areas\ReceiveSendFeeManagement\Views\FinaChargeStuYear\GenerateByConditionForm.cshtml" />
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" />


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config Ver ficheiro

@@ -74,7 +74,7 @@
<!--Redis 缓存前缀 -->
<!--<add key="RedisPrev" value="adms706" />-->
<!--缓存链接配置-->
<add key="RedisExchangeHosts" value="127.0.0.1:6379,allowadmin=true,password=!QAZ2wsx"/>
<add key="RedisExchangeHosts" value="127.0.0.1:6380,allowadmin=true"/>

<!--head 头像存储地址 -->
<add key="fileHeadImg" value="E:\西昌程序单校区版2019_09_16\Learun.Framework.Ultimate V7\Learun.Application.Web\bin\Release\Publish\Content\images\head" />


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj Ver ficheiro

@@ -591,6 +591,8 @@
<Compile Include="StuPayManage\SP_FeeItemMap.cs" />
<Compile Include="StuPayManage\SP_LogMap.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStudentMap.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStuYearMap.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStuYearItemMap.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj">


+ 29
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/ReceiveSendFeeManagement/FinaChargeStuYearItemMap.cs Ver ficheiro

@@ -0,0 +1,29 @@
using Learun.Application.TwoDevelopment.ReceiveSendFeeManagement;
using System.Data.Entity.ModelConfiguration;

namespace Learun.Application.Mapping
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 16:40
/// 描 述:FinaChargeStuYearItem
/// </summary>
public class FinaChargeStuYearItemMap : EntityTypeConfiguration<FinaChargeStuYearItemEntity>
{
public FinaChargeStuYearItemMap()
{
#region 表、主键
//表
this.ToTable("FINACHARGESTUYEARITEM");
//主键
this.HasKey(t => t.FSYIId);
#endregion

#region 配置关系
#endregion
}
}
}


+ 29
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/ReceiveSendFeeManagement/FinaChargeStuYearMap.cs Ver ficheiro

@@ -0,0 +1,29 @@
using Learun.Application.TwoDevelopment.ReceiveSendFeeManagement;
using System.Data.Entity.ModelConfiguration;

namespace Learun.Application.Mapping
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 15:52
/// 描 述:学生年度缴费管理
/// </summary>
public class FinaChargeStuYearMap : EntityTypeConfiguration<FinaChargeStuYearEntity>
{
public FinaChargeStuYearMap()
{
#region 表、主键
//表
this.ToTable("FINACHARGESTUYEAR");
//主键
this.HasKey(t => t.FSYId);
#endregion

#region 配置关系
#endregion
}
}
}


+ 8
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj Ver ficheiro

@@ -1838,6 +1838,14 @@
<Compile Include="ReceiveSendFeeManagement\FinaChargeStudent\FinaChargeStudentService.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStudent\FinaChargeStudentBLL.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStudent\FinaChargeStudentIBLL.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStuYear\FinaChargeStuYearEntity.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStuYear\FinaChargeStuYearService.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStuYear\FinaChargeStuYearBLL.cs" />
<Compile Include="ReceiveSendFeeManagement\FinaChargeStuYear\FinaChargeStuYearIBLL.cs" />
<Compile Include="ReceiveSendFeeManagement\收费明细管理\FinaChargeStuYearItemEntity.cs" />
<Compile Include="ReceiveSendFeeManagement\收费明细管理\收费明细管理Service.cs" />
<Compile Include="ReceiveSendFeeManagement\收费明细管理\收费明细管理BLL.cs" />
<Compile Include="ReceiveSendFeeManagement\收费明细管理\收费明细管理IBLL.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj">


+ 125
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearBLL.cs Ver ficheiro

@@ -0,0 +1,125 @@
using Learun.Util;
using System;
using System.Data;
using System.Collections.Generic;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 15:52
/// 描 述:学生年度缴费管理
/// </summary>
public class FinaChargeStuYearBLL : FinaChargeStuYearIBLL
{
private FinaChargeStuYearService finaChargeStuYearService = new FinaChargeStuYearService();

#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<FinaChargeStuYearEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
return finaChargeStuYearService.GetPageList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 获取FinaChargeStuYear表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public FinaChargeStuYearEntity GetFinaChargeStuYearEntity(string keyValue)
{
try
{
return finaChargeStuYearService.GetFinaChargeStuYearEntity(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
public void DeleteEntity(string keyValue)
{
try
{
finaChargeStuYearService.DeleteEntity(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
/// <returns></returns>
public void SaveEntity(string keyValue, FinaChargeStuYearEntity entity)
{
try
{
finaChargeStuYearService.SaveEntity(keyValue, entity);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion

}
}

+ 75
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearEntity.cs Ver ficheiro

@@ -0,0 +1,75 @@
using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 15:52
/// 描 述:学生年度缴费管理
/// </summary>
public class FinaChargeStuYearEntity
{
#region 实体成员
/// <summary>
/// FSYId
/// </summary>
[Column("FSYID")]
public string FSYId { get; set; }
/// <summary>
/// StuNo
/// </summary>
[Column("STUNO")]
public string StuNo { get; set; }
/// <summary>
/// FSYear
/// </summary>
[Column("FSYEAR")]
public int? FSYear { get; set; }
/// <summary>
/// YJAmount
/// </summary>
[Column("YJAMOUNT")]
public decimal? YJAmount { get; set; }
/// <summary>
/// SJAmount
/// </summary>
[Column("SJAMOUNT")]
public decimal? SJAmount { get; set; }
/// <summary>
/// 缴费年度余额
/// </summary>
[Column("FSBLANCE")]
public decimal? FSBlance { get; set; }
/// <summary>
/// 缴费标志(0未缴费,1部分缴纳,2已缴清)
/// </summary>
[Column("PAYFEESTATUS")]
public int? PayFeeStatus { get; set; }
#endregion

#region 扩展操作
/// <summary>
/// 新增调用
/// </summary>
public void Create()
{
this.FSYId = Guid.NewGuid().ToString();
}
/// <summary>
/// 编辑调用
/// </summary>
/// <param name="keyValue"></param>
public void Modify(string keyValue)
{
this.FSYId = keyValue;
}
#endregion
#region 扩展字段
#endregion
}
}


+ 48
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearIBLL.cs Ver ficheiro

@@ -0,0 +1,48 @@
using Learun.Util;
using System.Data;
using System.Collections.Generic;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 15:52
/// 描 述:学生年度缴费管理
/// </summary>
public interface FinaChargeStuYearIBLL
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<FinaChargeStuYearEntity> GetPageList(Pagination pagination, string queryJson);
/// <summary>
/// 获取FinaChargeStuYear表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
FinaChargeStuYearEntity GetFinaChargeStuYearEntity(string keyValue);
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
void DeleteEntity(string keyValue);
/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
void SaveEntity(string keyValue, FinaChargeStuYearEntity entity);
#endregion

}
}

+ 165
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuYear/FinaChargeStuYearService.cs Ver ficheiro

@@ -0,0 +1,165 @@
using Dapper;
using Learun.DataBase.Repository;
using Learun.Util;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 15:52
/// 描 述:学生年度缴费管理
/// </summary>
public class FinaChargeStuYearService : RepositoryFactory
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">查询参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<FinaChargeStuYearEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.FSYId,
t.StuNo,
t.FSYear,
t.YJAmount,
t.SJAmount,
t.FSBlance,
t.PayFeeStatus
");
strSql.Append(" FROM FinaChargeStuYear t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
// 虚拟参数
var dp = new DynamicParameters(new { });
if (!queryParam["StuNo"].IsEmpty())
{
dp.Add("StuNo", "%" + queryParam["StuNo"].ToString() + "%", DbType.String);
strSql.Append(" AND t.StuNo Like @StuNo ");
}
if (!queryParam["FSYear"].IsEmpty())
{
dp.Add("FSYear", "%" + queryParam["FSYear"].ToString() + "%", DbType.String);
strSql.Append(" AND t.FSYear Like @FSYear ");
}
if (!queryParam["PayFeeStatus"].IsEmpty())
{
dp.Add("PayFeeStatus",queryParam["PayFeeStatus"].ToString(), DbType.String);
strSql.Append(" AND t.PayFeeStatus = @PayFeeStatus ");
}
return this.BaseRepository("CollegeMIS").FindList<FinaChargeStuYearEntity>(strSql.ToString(),dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取FinaChargeStuYear表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public FinaChargeStuYearEntity GetFinaChargeStuYearEntity(string keyValue)
{
try
{
return this.BaseRepository("CollegeMIS").FindEntity<FinaChargeStuYearEntity>(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
public void DeleteEntity(string keyValue)
{
try
{
this.BaseRepository("CollegeMIS").Delete<FinaChargeStuYearEntity>(t=>t.FSYId == keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
public void SaveEntity(string keyValue, FinaChargeStuYearEntity entity)
{
try
{
if (!string.IsNullOrEmpty(keyValue))
{
entity.Modify(keyValue);
this.BaseRepository("CollegeMIS").Update(entity);
}
else
{
entity.Create();
this.BaseRepository("CollegeMIS").Insert(entity);
}
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

}
}

+ 109
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/FinaChargeStuYearItemEntity.cs Ver ficheiro

@@ -0,0 +1,109 @@
using Learun.Util;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 16:40
/// 描 述:FinaChargeStuYearItem
/// </summary>
public class FinaChargeStuYearItemEntity
{
#region 实体成员
/// <summary>
/// FSYIId
/// </summary>
[Column("FSYIID")]
public string FSYIId { get; set; }
/// <summary>
/// FSYId
/// </summary>
[Column("FSYID")]
public string FSYId { get; set; }
/// <summary>
/// ChargeItemCode
/// </summary>
[Column("CHARGEITEMCODE")]
public string ChargeItemCode { get; set; }
/// <summary>
/// 收费项名称
/// </summary>
[Column("CHARGEITEMNAME")]
public string ChargeItemName { get; set; }
/// <summary>
/// ChargeItemType
/// </summary>
[Column("CHARGEITEMTYPE")]
public int? ChargeItemType { get; set; }
/// <summary>
/// 收费标准
/// </summary>
[Column("STANDARD")]
public decimal? Standard { get; set; }
/// <summary>
/// SJAmount
/// </summary>
[Column("SJAMOUNT")]
public decimal? SJAmount { get; set; }
/// <summary>
/// 缴费余额
/// </summary>
[Column("FSBLANCE")]
public decimal? FSBlance { get; set; }
/// <summary>
/// 缴费标志(0未缴费,1部分缴纳,2已缴清)
/// </summary>
[Column("PAYFEESTATUS")]
public int? PayFeeStatus { get; set; }
/// <summary>
/// F_DeleteMark
/// </summary>
[Column("F_DELETEMARK")]
public bool? F_DeleteMark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column("F_CREATEDATE")]
public DateTime? F_CreateDate { get; set; }
/// <summary>
/// 创建人主键
/// </summary>
[Column("F_CREATEUSERID")]
public string F_CreateUserId { get; set; }
/// <summary>
/// 创建人名字
/// </summary>
[Column("F_CREATEUSERNAME")]
public string F_CreateUserName { get; set; }
#endregion

#region 扩展操作
/// <summary>
/// 新增调用
/// </summary>
public void Create()
{
this.FSYIId = Guid.NewGuid().ToString();
this.F_CreateDate = DateTime.Now;
UserInfo userInfo = LoginUserInfo.Get();
this.F_CreateUserId = userInfo.userId;
this.F_CreateUserName = userInfo.realName;
}
/// <summary>
/// 编辑调用
/// </summary>
/// <param name="keyValue"></param>
public void Modify(string keyValue)
{
this.FSYIId = keyValue;
}
#endregion
#region 扩展字段
#endregion
}
}


+ 125
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/收费明细管理BLL.cs Ver ficheiro

@@ -0,0 +1,125 @@
using Learun.Util;
using System;
using System.Data;
using System.Collections.Generic;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 16:40
/// 描 述:FinaChargeStuYearItem
/// </summary>
public class 收费明细管理BLL : 收费明细管理IBLL
{
private 收费明细管理Service 收费明细管理Service = new 收费明细管理Service();

#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">分页参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<FinaChargeStuYearItemEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
return 收费明细管理Service.GetPageList(pagination, queryJson);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 获取FinaChargeStuYearItem表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public FinaChargeStuYearItemEntity GetFinaChargeStuYearItemEntity(string keyValue)
{
try
{
return 收费明细管理Service.GetFinaChargeStuYearItemEntity(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
public void DeleteEntity(string keyValue)
{
try
{
收费明细管理Service.DeleteEntity(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
/// <returns></returns>
public void SaveEntity(string keyValue, FinaChargeStuYearItemEntity entity)
{
try
{
收费明细管理Service.SaveEntity(keyValue, entity);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion

}
}

+ 48
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/收费明细管理IBLL.cs Ver ficheiro

@@ -0,0 +1,48 @@
using Learun.Util;
using System.Data;
using System.Collections.Generic;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 16:40
/// 描 述:FinaChargeStuYearItem
/// </summary>
public interface 收费明细管理IBLL
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<FinaChargeStuYearItemEntity> GetPageList(Pagination pagination, string queryJson);
/// <summary>
/// 获取FinaChargeStuYearItem表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
FinaChargeStuYearItemEntity GetFinaChargeStuYearItemEntity(string keyValue);
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
void DeleteEntity(string keyValue);
/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
void SaveEntity(string keyValue, FinaChargeStuYearItemEntity entity);
#endregion

}
}

+ 150
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/收费明细管理/收费明细管理Service.cs Ver ficheiro

@@ -0,0 +1,150 @@
using Dapper;
using Learun.DataBase.Repository;
using Learun.Util;
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2023-08-07 16:40
/// 描 述:FinaChargeStuYearItem
/// </summary>
public class 收费明细管理Service : RepositoryFactory
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">查询参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<FinaChargeStuYearItemEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.FSYIId,
t.ChargeItemCode,
t.ChargeItemName,
t.ChargeItemType,
t.Standard,
t.SJAmount,
t.PayFeeStatus
");
strSql.Append(" FROM FinaChargeStuYearItem t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
// 虚拟参数
var dp = new DynamicParameters(new { });
return this.BaseRepository("CollegeMIS").FindList<FinaChargeStuYearItemEntity>(strSql.ToString(),dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取FinaChargeStuYearItem表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public FinaChargeStuYearItemEntity GetFinaChargeStuYearItemEntity(string keyValue)
{
try
{
return this.BaseRepository("CollegeMIS").FindEntity<FinaChargeStuYearItemEntity>(keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
public void DeleteEntity(string keyValue)
{
try
{
this.BaseRepository("CollegeMIS").Delete<FinaChargeStuYearItemEntity>(t=>t.FSYIId == keyValue);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 保存实体数据(新增、修改)
/// </summary>
/// <param name="keyValue">主键</param>
/// <param name="entity">实体</param>
public void SaveEntity(string keyValue, FinaChargeStuYearItemEntity entity)
{
try
{
if (!string.IsNullOrEmpty(keyValue))
{
entity.Modify(keyValue);
this.BaseRepository("CollegeMIS").Update(entity);
}
else
{
entity.Create();
this.BaseRepository("CollegeMIS").Insert(entity);
}
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

}
}

Carregando…
Cancelar
Guardar