Selaa lähdekoodia

党建活动党员干部学习数据表

长阳分支推送专用
zhaochangjiang 2 vuotta sitten
vanhempi
commit
f6cf3c7ac5
33 muutettua tiedostoa jossa 2490 lisäystä ja 0 poistoa
  1. +117
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Controllers/ods_gzpjsjController.cs
  2. +117
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Controllers/ods_wfjckcjsjController.cs
  3. +117
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Controllers/ods_zzxxgkjcsjController.cs
  4. +31
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Form.cshtml
  5. +50
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Form.js
  6. +26
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Index.cshtml
  7. +89
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Index.js
  8. +55
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Form.cshtml
  9. +51
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Form.js
  10. +26
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Index.cshtml
  11. +105
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Index.js
  12. +83
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Form.cshtml
  13. +52
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Form.js
  14. +26
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Index.cshtml
  15. +120
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Index.js
  16. +15
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  17. +29
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Changyang_zhdn/ODS_GZPJSJMap.cs
  18. +29
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Changyang_zhdn/ODS_WFJCKCJSJMap.cs
  19. +29
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Changyang_zhdn/ODS_ZZXXGKJCSJMap.cs
  20. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
  21. +75
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_gzpjsj/ODS_GZPJSJEntity.cs
  22. +125
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_gzpjsj/ods_gzpjsjBLL.cs
  23. +48
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_gzpjsj/ods_gzpjsjIBLL.cs
  24. +150
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_gzpjsj/ods_gzpjsjService.cs
  25. +105
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_wfjckcjsj/ODS_WFJCKCJSJEntity.cs
  26. +125
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_wfjckcjsj/ods_wfjckcjsjBLL.cs
  27. +48
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_wfjckcjsj/ods_wfjckcjsjIBLL.cs
  28. +156
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_wfjckcjsj/ods_wfjckcjsjService.cs
  29. +140
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_zzxxgkjcsj/ODS_ZZXXGKJCSJEntity.cs
  30. +125
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_zzxxgkjcsj/ods_zzxxgkjcsjBLL.cs
  31. +48
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_zzxxgkjcsj/ods_zzxxgkjcsjIBLL.cs
  32. +163
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_zzxxgkjcsj/ods_zzxxgkjcsjService.cs
  33. +12
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj

+ 117
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Controllers/ods_gzpjsjController.cs Näytä tiedosto

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

namespace Learun.Application.Web.Areas.Changyang_zhdn.Controllers
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:16
/// 描 述:工作评价数据表
/// </summary>
public class ods_gzpjsjController : MvcControllerBase
{
private ods_gzpjsjIBLL ods_gzpjsjIBLL = new ods_gzpjsjBLL();

#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 = ods_gzpjsjIBLL.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 ODS_GZPJSJData = ods_gzpjsjIBLL.GetODS_GZPJSJEntity( keyValue );
var jsonData = new {
ODS_GZPJSJ = ODS_GZPJSJData,
};
return Success(jsonData);
}
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpPost]
[AjaxOnly]
public ActionResult DeleteForm(string keyValue)
{
ods_gzpjsjIBLL.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)
{
ODS_GZPJSJEntity entity = strEntity.ToObject<ODS_GZPJSJEntity>();
ods_gzpjsjIBLL.SaveEntity(keyValue,entity);
if (string.IsNullOrEmpty(keyValue))
{
}
return Success("保存成功!");
}
#endregion

}
}

+ 117
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Controllers/ods_wfjckcjsjController.cs Näytä tiedosto

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

namespace Learun.Application.Web.Areas.Changyang_zhdn.Controllers
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 14:59
/// 描 述:文化基础课成绩数据表
/// </summary>
public class ods_wfjckcjsjController : MvcControllerBase
{
private ods_wfjckcjsjIBLL ods_wfjckcjsjIBLL = new ods_wfjckcjsjBLL();

#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 = ods_wfjckcjsjIBLL.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 ODS_WFJCKCJSJData = ods_wfjckcjsjIBLL.GetODS_WFJCKCJSJEntity( keyValue );
var jsonData = new {
ODS_WFJCKCJSJ = ODS_WFJCKCJSJData,
};
return Success(jsonData);
}
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpPost]
[AjaxOnly]
public ActionResult DeleteForm(string keyValue)
{
ods_wfjckcjsjIBLL.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)
{
ODS_WFJCKCJSJEntity entity = strEntity.ToObject<ODS_WFJCKCJSJEntity>();
ods_wfjckcjsjIBLL.SaveEntity(keyValue,entity);
if (string.IsNullOrEmpty(keyValue))
{
}
return Success("保存成功!");
}
#endregion

}
}

+ 117
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Controllers/ods_zzxxgkjcsjController.cs Näytä tiedosto

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

namespace Learun.Application.Web.Areas.Changyang_zhdn.Controllers
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:34
/// 描 述:中职学校概况基础数据表
/// </summary>
public class ods_zzxxgkjcsjController : MvcControllerBase
{
private ods_zzxxgkjcsjIBLL ods_zzxxgkjcsjIBLL = new ods_zzxxgkjcsjBLL();

#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 = ods_zzxxgkjcsjIBLL.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 ODS_ZZXXGKJCSJData = ods_zzxxgkjcsjIBLL.GetODS_ZZXXGKJCSJEntity( keyValue );
var jsonData = new {
ODS_ZZXXGKJCSJ = ODS_ZZXXGKJCSJData,
};
return Success(jsonData);
}
#endregion

#region 提交数据

/// <summary>
/// 删除实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
[HttpPost]
[AjaxOnly]
public ActionResult DeleteForm(string keyValue)
{
ods_zzxxgkjcsjIBLL.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)
{
ODS_ZZXXGKJCSJEntity entity = strEntity.ToObject<ODS_ZZXXGKJCSJEntity>();
ods_zzxxgkjcsjIBLL.SaveEntity(keyValue,entity);
if (string.IsNullOrEmpty(keyValue))
{
}
return Success("保存成功!");
}
#endregion

}
}

+ 31
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Form.cshtml Näytä tiedosto

@@ -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="ODS_GZPJSJ" >
<div class="lr-form-item-title">学校机构代码</div>
<input id="XXJGDM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_GZPJSJ" >
<div class="lr-form-item-title">学校机构名称</div>
<input id="XXJGMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_GZPJSJ" >
<div class="lr-form-item-title">工作日志提交次数</div>
<input id="GZRZTJCS" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_GZPJSJ" >
<div class="lr-form-item-title">好评教师人数</div>
<input id="HPJSRS" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_GZPJSJ" >
<div class="lr-form-item-title">特殊岗位教师人数</div>
<input id="TSGWJSRS" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_GZPJSJ" >
<div class="lr-form-item-title">数据采集时间</div>
<input id="SJCJSJ" type="text" class="form-control" />
</div>
</div>
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_gzpjsj/Form.js")

+ 50
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Form.js Näytä tiedosto

@@ -0,0 +1,50 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-11-09 12:16
* 描 述:工作评价数据表
*/
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 () {
},
initData: function () {
if (!!keyValue) {
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_gzpjsj/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 + '/Changyang_zhdn/ods_gzpjsj/SaveForm?keyValue=' + keyValue, postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});
};
page.init();
}

+ 26
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Index.cshtml Näytä tiedosto

@@ -0,0 +1,26 @@
@{
ViewBag.Title = "工作评价数据表";
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/Changyang_zhdn/Views/ods_gzpjsj/Index.js")

+ 89
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_gzpjsj/Index.js Näytä tiedosto

@@ -0,0 +1,89 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-11-09 12:16
* 描 述:工作评价数据表
*/
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 + '/Changyang_zhdn/ods_gzpjsj/Form',
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
});
// 编辑
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('GZZYQKSJID');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '编辑',
url: top.$.rootUrl + '/Changyang_zhdn/ods_gzpjsj/Form?keyValue=' + keyValue,
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
}
});
// 删除
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('GZZYQKSJID');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/Changyang_zhdn/ods_gzpjsj/DeleteForm', { keyValue: keyValue}, function () {
refreshGirdData();
});
}
});
}
});
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/Changyang_zhdn/ods_gzpjsj/GetPageList',
headData: [
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"},
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"},
{ label: "工作日志提交次数", name: "GZRZTJCS", width: 100, align: "left"},
{ label: "好评教师人数", name: "HPJSRS", width: 100, align: "left"},
{ label: "特殊岗位教师人数", name: "TSGWJSRS", width: 100, align: "left"},
{ label: "数据采集时间", name: "SJCJSJ", width: 100, align: "left"},
],
mainId:'GZZYQKSJID',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
$('#gridtable').jfGridSet('reload');
};
page.init();
}

+ 55
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Form.cshtml Näytä tiedosto

@@ -0,0 +1,55 @@
@{
ViewBag.Title = "文化基础课成绩数据表";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">学校机构代码</div>
<input id="XXJGDM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">学校机构名称</div>
<input id="XXJGMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">学年</div>
<input id="XN" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">学期</div>
<input id="XQ" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">年级</div>
<input id="NJ" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">班级</div>
<input id="BJ" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">专业名称</div>
<input id="ZYMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">课程名称</div>
<input id="KCMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">课程分类</div>
<div id="KCFL" ></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">任课教师</div>
<input id="RKJS" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">课程成绩</div>
<input id="KCCJ" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_WFJCKCJSJ" >
<div class="lr-form-item-title">数据采集时间</div>
<input id="SJCJSJ" type="text" class="form-control" />
</div>
</div>
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Form.js")

+ 51
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Form.js Näytä tiedosto

@@ -0,0 +1,51 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-11-09 14:59
* 描 述:文化基础课成绩数据表
*/
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 () {
$('#KCFL').lrDataSourceSelect({ code: 'CdLessonType',value: 'lessontypecode',text: 'lessontypename' });
},
initData: function () {
if (!!keyValue) {
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_wfjckcjsj/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 + '/Changyang_zhdn/ods_wfjckcjsj/SaveForm?keyValue=' + keyValue, postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});
};
page.init();
}

+ 26
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Index.cshtml Näytä tiedosto

@@ -0,0 +1,26 @@
@{
ViewBag.Title = "文化基础课成绩数据表";
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/Changyang_zhdn/Views/ods_wfjckcjsj/Index.js")

+ 105
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_wfjckcjsj/Index.js Näytä tiedosto

@@ -0,0 +1,105 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-11-09 14:59
* 描 述:文化基础课成绩数据表
*/
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 + '/Changyang_zhdn/ods_wfjckcjsj/Form',
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
});
// 编辑
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('GZZYQKSJID');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '编辑',
url: top.$.rootUrl + '/Changyang_zhdn/ods_wfjckcjsj/Form?keyValue=' + keyValue,
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
}
});
// 删除
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('GZZYQKSJID');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/Changyang_zhdn/ods_wfjckcjsj/DeleteForm', { keyValue: keyValue}, function () {
refreshGirdData();
});
}
});
}
});
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/Changyang_zhdn/ods_wfjckcjsj/GetPageList',
headData: [
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"},
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"},
{ label: "学年", name: "XN", width: 100, align: "left"},
{ label: "学期", name: "XQ", width: 100, align: "left"},
{ label: "年级", name: "NJ", width: 100, align: "left"},
{ label: "班级", name: "BJ", width: 100, align: "left"},
{ label: "专业名称", name: "ZYMC", width: 100, align: "left"},
{ label: "课程名称", name: "KCMC", width: 100, align: "left"},
{ label: "课程分类", name: "KCFL", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdLessonType',
key: value,
keyId: 'lessontypecode',
callback: function (_data) {
callback(_data['lessontypename']);
}
});
}},
{ label: "任课教师", name: "RKJS", width: 100, align: "left"},
{ label: "课程成绩", name: "KCCJ", width: 100, align: "left"},
{ label: "数据采集时间", name: "SJCJSJ", width: 100, align: "left"},
],
mainId:'GZZYQKSJID',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
$('#gridtable').jfGridSet('reload');
};
page.init();
}

+ 83
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Form.cshtml Näytä tiedosto

@@ -0,0 +1,83 @@
@{
ViewBag.Title = "中职学校概况基础数据表";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">省机构编码</div>
<input id="PROVINCEJGBM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">省机构名称</div>
<input id="PROVINCEJGMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">市机构编码</div>
<input id="CITYJGBM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">市机构名称</div>
<input id="CITYJGMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">区县机构编码</div>
<input id="COUNTYJGBM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">区县机构名称</div>
<input id="COUNTYJGMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">学校机构代码</div>
<input id="XXJGDM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">学校名称</div>
<input id="XXJGMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">学校类别</div>
<div id="XXLB" ></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">学校所属主管教育行政部门</div>
<input id="XXSSZGJYXZBM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">学校举办者名称</div>
<input id="XXJBZMC" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">学校举办者性质</div>
<input id="XXJBZXZ" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">学校负责人姓名(校长)</div>
<input id="XXFZRXM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">建校日期(年月)</div>
<input id="JXRQ" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">现有教职工总数</div>
<input id="XYJSS" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">现有学生数</div>
<input id="XYXSS" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">本校开设专业数</div>
<input id="BXKSZYS" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">是否国家双优学校/省级双优学校/否</div>
<div id="SYXX" ></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">数据采集时间</div>
<input id="SJCJSJ" type="text" class="form-control" />
</div>
</div>
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Form.js")

+ 52
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Form.js Näytä tiedosto

@@ -0,0 +1,52 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-11-09 12:34
* 描 述:中职学校概况基础数据表
*/
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 () {
$('#XXLB').lrDataItemSelect({ code: 'xxlbdm' });
$('#SYXX').lrDataItemSelect({ code: 'syxxdm' });
},
initData: function () {
if (!!keyValue) {
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_zzxxgkjcsj/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 + '/Changyang_zhdn/ods_zzxxgkjcsj/SaveForm?keyValue=' + keyValue, postData, function (res) {
// 保存成功后才回调
if (!!callBack) {
callBack();
}
});
};
page.init();
}

+ 26
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Index.cshtml Näytä tiedosto

@@ -0,0 +1,26 @@
@{
ViewBag.Title = "中职学校概况基础数据表";
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/Changyang_zhdn/Views/ods_zzxxgkjcsj/Index.js")

+ 120
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/ods_zzxxgkjcsj/Index.js Näytä tiedosto

@@ -0,0 +1,120 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-11-09 12:34
* 描 述:中职学校概况基础数据表
*/
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 + '/Changyang_zhdn/ods_zzxxgkjcsj/Form',
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
});
// 编辑
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('XYGKJCSJID');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '编辑',
url: top.$.rootUrl + '/Changyang_zhdn/ods_zzxxgkjcsj/Form?keyValue=' + keyValue,
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
}
});
// 删除
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('XYGKJCSJID');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/Changyang_zhdn/ods_zzxxgkjcsj/DeleteForm', { keyValue: keyValue}, function () {
refreshGirdData();
});
}
});
}
});
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/Changyang_zhdn/ods_zzxxgkjcsj/GetPageList',
headData: [
{ label: "省机构编码", name: "PROVINCEJGBM", width: 100, align: "left"},
{ label: "省机构名称", name: "PROVINCEJGMC", width: 100, align: "left"},
{ label: "市机构编码", name: "CITYJGBM", width: 100, align: "left"},
{ label: "市机构名称", name: "CITYJGMC", width: 100, align: "left"},
{ label: "区县机构编码", name: "COUNTYJGBM", width: 100, align: "left"},
{ label: "区县机构名称", name: "COUNTYJGMC", width: 100, align: "left"},
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"},
{ label: "学校名称", name: "XXJGMC", width: 100, align: "left"},
{ label: "学校类别", name: "XXLB", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'xxlbdm',
callback: function (_data) {
callback(_data.text);
}
});
}},
{ label: "学校所属主管教育行政部门", name: "XXSSZGJYXZBM", width: 100, align: "left"},
{ label: "学校举办者名称", name: "XXJBZMC", width: 100, align: "left"},
{ label: "学校举办者性质", name: "XXJBZXZ", width: 100, align: "left"},
{ label: "学校负责人姓名(校长)", name: "XXFZRXM", width: 100, align: "left"},
{ label: "建校日期(年月)", name: "JXRQ", width: 100, align: "left"},
{ label: "现有教职工总数", name: "XYJSS", width: 100, align: "left"},
{ label: "现有学生数", name: "XYXSS", width: 100, align: "left"},
{ label: "本校开设专业数", name: "BXKSZYS", width: 100, align: "left"},
{ label: "是否国家双优学校/省级双优学校/否", name: "SYXX", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'syxxdm',
callback: function (_data) {
callback(_data.text);
}
});
}},
{ label: "数据采集时间", name: "SJCJSJ", width: 100, align: "left"},
],
mainId:'XYGKJCSJID',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
$('#gridtable').jfGridSet('reload');
};
page.init();
}

+ 15
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Näytä tiedosto

@@ -877,6 +877,9 @@
<Compile Include="Areas\EducationalAdministration\Controllers\ScoreCheckInfoController.cs" />
<Compile Include="Areas\EducationalAdministration\Controllers\WelfarePositionController.cs" />
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_dyfzqkjcsjController.cs" />
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_gzpjsjController.cs" />
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_zzxxgkjcsjController.cs" />
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_wfjckcjsjController.cs" />
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_djhddygbxxsjController.cs" />
</ItemGroup>
<ItemGroup>
@@ -6945,6 +6948,18 @@
<Content Include="Areas\Changyang_zhdn\Views\ods_dyfzqkjcsj\Index.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_dyfzqkjcsj\Form.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_dyfzqkjcsj\Form.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_gzpjsj\Index.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_gzpjsj\Index.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_gzpjsj\Form.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_gzpjsj\Form.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_zzxxgkjcsj\Index.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_zzxxgkjcsj\Index.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_zzxxgkjcsj\Form.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_zzxxgkjcsj\Form.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_wfjckcjsj\Index.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_wfjckcjsj\Index.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_wfjckcjsj\Form.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_wfjckcjsj\Form.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddygbxxsj\Index.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddygbxxsj\Index.js" />
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddygbxxsj\Form.cshtml" />


+ 29
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Changyang_zhdn/ODS_GZPJSJMap.cs Näytä tiedosto

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

namespace Learun.Application.Mapping
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:16
/// 描 述:工作评价数据表
/// </summary>
public class ODS_GZPJSJMap : EntityTypeConfiguration<ODS_GZPJSJEntity>
{
public ODS_GZPJSJMap()
{
#region 表、主键
//表
this.ToTable("ODS_GZPJSJ");
//主键
this.HasKey(t => t.GZZYQKSJID);
#endregion

#region 配置关系
#endregion
}
}
}


+ 29
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Changyang_zhdn/ODS_WFJCKCJSJMap.cs Näytä tiedosto

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

namespace Learun.Application.Mapping
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 14:59
/// 描 述:文化基础课成绩数据表
/// </summary>
public class ODS_WFJCKCJSJMap : EntityTypeConfiguration<ODS_WFJCKCJSJEntity>
{
public ODS_WFJCKCJSJMap()
{
#region 表、主键
//表
this.ToTable("ODS_WFJCKCJSJ");
//主键
this.HasKey(t => t.GZZYQKSJID);
#endregion

#region 配置关系
#endregion
}
}
}


+ 29
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Changyang_zhdn/ODS_ZZXXGKJCSJMap.cs Näytä tiedosto

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

namespace Learun.Application.Mapping
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:34
/// 描 述:中职学校概况基础数据表
/// </summary>
public class ODS_ZZXXGKJCSJMap : EntityTypeConfiguration<ODS_ZZXXGKJCSJEntity>
{
public ODS_ZZXXGKJCSJMap()
{
#region 表、主键
//表
this.ToTable("ODS_ZZXXGKJCSJ");
//主键
this.HasKey(t => t.XYGKJCSJID);
#endregion

#region 配置关系
#endregion
}
}
}


+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj Näytä tiedosto

@@ -636,6 +636,9 @@
<Compile Include="EducationalAdministration\ScoreCheckInfoMap.cs" />
<Compile Include="EducationalAdministration\WelfarePositionMap.cs" />
<Compile Include="Changyang_zhdn\ODS_DYFZQKJCSJMap.cs" />
<Compile Include="Changyang_zhdn\ODS_GZPJSJMap.cs" />
<Compile Include="Changyang_zhdn\ODS_ZZXXGKJCSJMap.cs" />
<Compile Include="Changyang_zhdn\ODS_WFJCKCJSJMap.cs" />
<Compile Include="Changyang_zhdn\ODS_DJHDDYGBXXSJMap.cs" />
</ItemGroup>
<ItemGroup>


+ 75
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_gzpjsj/ODS_GZPJSJEntity.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:16
/// 描 述:工作评价数据表
/// </summary>
public class ODS_GZPJSJEntity
{
#region 实体成员
/// <summary>
/// GZZYQKSJID
/// </summary>
[Column("GZZYQKSJID")]
public string GZZYQKSJID { get; set; }
/// <summary>
/// XXJGDM
/// </summary>
[Column("XXJGDM")]
public string XXJGDM { get; set; }
/// <summary>
/// XXJGMC
/// </summary>
[Column("XXJGMC")]
public string XXJGMC { get; set; }
/// <summary>
/// GZRZTJCS
/// </summary>
[Column("GZRZTJCS")]
public int? GZRZTJCS { get; set; }
/// <summary>
/// HPJSRS
/// </summary>
[Column("HPJSRS")]
public int? HPJSRS { get; set; }
/// <summary>
/// TSGWJSRS
/// </summary>
[Column("TSGWJSRS")]
public int? TSGWJSRS { get; set; }
/// <summary>
/// SJCJSJ
/// </summary>
[Column("SJCJSJ")]
public string SJCJSJ { get; set; }
#endregion

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


+ 125
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_gzpjsj/ods_gzpjsjBLL.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:16
/// 描 述:工作评价数据表
/// </summary>
public class ods_gzpjsjBLL : ods_gzpjsjIBLL
{
private ods_gzpjsjService ods_gzpjsjService = new ods_gzpjsjService();

#region 获取数据

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

/// <summary>
/// 获取ODS_GZPJSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public ODS_GZPJSJEntity GetODS_GZPJSJEntity(string keyValue)
{
try
{
return ods_gzpjsjService.GetODS_GZPJSJEntity(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
{
ods_gzpjsjService.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, ODS_GZPJSJEntity entity)
{
try
{
ods_gzpjsjService.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/Changyang_zhdn/ods_gzpjsj/ods_gzpjsjIBLL.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:16
/// 描 述:工作评价数据表
/// </summary>
public interface ods_gzpjsjIBLL
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<ODS_GZPJSJEntity> GetPageList(Pagination pagination, string queryJson);
/// <summary>
/// 获取ODS_GZPJSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
ODS_GZPJSJEntity GetODS_GZPJSJEntity(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, ODS_GZPJSJEntity entity);
#endregion

}
}

+ 150
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_gzpjsj/ods_gzpjsjService.cs Näytä tiedosto

@@ -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.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:16
/// 描 述:工作评价数据表
/// </summary>
public class ods_gzpjsjService : RepositoryFactory
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">查询参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<ODS_GZPJSJEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.GZZYQKSJID,
t.XXJGDM,
t.XXJGMC,
t.GZRZTJCS,
t.HPJSRS,
t.TSGWJSRS,
t.SJCJSJ
");
strSql.Append(" FROM ODS_GZPJSJ t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
// 虚拟参数
var dp = new DynamicParameters(new { });
return this.BaseRepository("changyang").FindList<ODS_GZPJSJEntity>(strSql.ToString(),dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取ODS_GZPJSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public ODS_GZPJSJEntity GetODS_GZPJSJEntity(string keyValue)
{
try
{
return this.BaseRepository("changyang").FindEntity<ODS_GZPJSJEntity>(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("changyang").Delete<ODS_GZPJSJEntity>(t=>t.GZZYQKSJID == 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, ODS_GZPJSJEntity entity)
{
try
{
if (!string.IsNullOrEmpty(keyValue))
{
entity.Modify(keyValue);
this.BaseRepository("changyang").Update(entity);
}
else
{
entity.Create();
this.BaseRepository("changyang").Insert(entity);
}
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

}
}

+ 105
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_wfjckcjsj/ODS_WFJCKCJSJEntity.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 14:59
/// 描 述:文化基础课成绩数据表
/// </summary>
public class ODS_WFJCKCJSJEntity
{
#region 实体成员
/// <summary>
/// GZZYQKSJID
/// </summary>
[Column("GZZYQKSJID")]
public string GZZYQKSJID { get; set; }
/// <summary>
/// XXJGDM
/// </summary>
[Column("XXJGDM")]
public string XXJGDM { get; set; }
/// <summary>
/// XXJGMC
/// </summary>
[Column("XXJGMC")]
public string XXJGMC { get; set; }
/// <summary>
/// XN
/// </summary>
[Column("XN")]
public int? XN { get; set; }
/// <summary>
/// XQ
/// </summary>
[Column("XQ")]
public int? XQ { get; set; }
/// <summary>
/// NJ
/// </summary>
[Column("NJ")]
public string NJ { get; set; }
/// <summary>
/// BJ
/// </summary>
[Column("BJ")]
public string BJ { get; set; }
/// <summary>
/// ZYMC
/// </summary>
[Column("ZYMC")]
public string ZYMC { get; set; }
/// <summary>
/// KCMC
/// </summary>
[Column("KCMC")]
public string KCMC { get; set; }
/// <summary>
/// KCFL
/// </summary>
[Column("KCFL")]
public string KCFL { get; set; }
/// <summary>
/// RKJS
/// </summary>
[Column("RKJS")]
public string RKJS { get; set; }
/// <summary>
/// KCCJ
/// </summary>
[Column("KCCJ")]
public string KCCJ { get; set; }
/// <summary>
/// SJCJSJ
/// </summary>
[Column("SJCJSJ")]
public string SJCJSJ { get; set; }
#endregion

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


+ 125
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_wfjckcjsj/ods_wfjckcjsjBLL.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 14:59
/// 描 述:文化基础课成绩数据表
/// </summary>
public class ods_wfjckcjsjBLL : ods_wfjckcjsjIBLL
{
private ods_wfjckcjsjService ods_wfjckcjsjService = new ods_wfjckcjsjService();

#region 获取数据

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

/// <summary>
/// 获取ODS_WFJCKCJSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public ODS_WFJCKCJSJEntity GetODS_WFJCKCJSJEntity(string keyValue)
{
try
{
return ods_wfjckcjsjService.GetODS_WFJCKCJSJEntity(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
{
ods_wfjckcjsjService.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, ODS_WFJCKCJSJEntity entity)
{
try
{
ods_wfjckcjsjService.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/Changyang_zhdn/ods_wfjckcjsj/ods_wfjckcjsjIBLL.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 14:59
/// 描 述:文化基础课成绩数据表
/// </summary>
public interface ods_wfjckcjsjIBLL
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<ODS_WFJCKCJSJEntity> GetPageList(Pagination pagination, string queryJson);
/// <summary>
/// 获取ODS_WFJCKCJSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
ODS_WFJCKCJSJEntity GetODS_WFJCKCJSJEntity(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, ODS_WFJCKCJSJEntity entity);
#endregion

}
}

+ 156
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_wfjckcjsj/ods_wfjckcjsjService.cs Näytä tiedosto

@@ -0,0 +1,156 @@
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.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 14:59
/// 描 述:文化基础课成绩数据表
/// </summary>
public class ods_wfjckcjsjService : RepositoryFactory
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">查询参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<ODS_WFJCKCJSJEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.GZZYQKSJID,
t.XXJGDM,
t.XXJGMC,
t.XN,
t.XQ,
t.NJ,
t.BJ,
t.ZYMC,
t.KCMC,
t.KCFL,
t.RKJS,
t.KCCJ,
t.SJCJSJ
");
strSql.Append(" FROM ODS_WFJCKCJSJ t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
// 虚拟参数
var dp = new DynamicParameters(new { });
return this.BaseRepository("changyang").FindList<ODS_WFJCKCJSJEntity>(strSql.ToString(),dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取ODS_WFJCKCJSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public ODS_WFJCKCJSJEntity GetODS_WFJCKCJSJEntity(string keyValue)
{
try
{
return this.BaseRepository("changyang").FindEntity<ODS_WFJCKCJSJEntity>(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("changyang").Delete<ODS_WFJCKCJSJEntity>(t=>t.GZZYQKSJID == 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, ODS_WFJCKCJSJEntity entity)
{
try
{
if (!string.IsNullOrEmpty(keyValue))
{
entity.Modify(keyValue);
this.BaseRepository("changyang").Update(entity);
}
else
{
entity.Create();
this.BaseRepository("changyang").Insert(entity);
}
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

}
}

+ 140
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_zzxxgkjcsj/ODS_ZZXXGKJCSJEntity.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:34
/// 描 述:中职学校概况基础数据表
/// </summary>
public class ODS_ZZXXGKJCSJEntity
{
#region 实体成员
/// <summary>
/// XYGKJCSJID
/// </summary>
[Column("XYGKJCSJID")]
public string XYGKJCSJID { get; set; }
/// <summary>
/// XXLB
/// </summary>
[Column("XXLB")]
public string XXLB { get; set; }
/// <summary>
/// PROVINCEJGBM
/// </summary>
[Column("PROVINCEJGBM")]
public string PROVINCEJGBM { get; set; }
/// <summary>
/// PROVINCEJGMC
/// </summary>
[Column("PROVINCEJGMC")]
public string PROVINCEJGMC { get; set; }
/// <summary>
/// CITYJGBM
/// </summary>
[Column("CITYJGBM")]
public string CITYJGBM { get; set; }
/// <summary>
/// CITYJGMC
/// </summary>
[Column("CITYJGMC")]
public string CITYJGMC { get; set; }
/// <summary>
/// COUNTYJGBM
/// </summary>
[Column("COUNTYJGBM")]
public string COUNTYJGBM { get; set; }
/// <summary>
/// COUNTYJGMC
/// </summary>
[Column("COUNTYJGMC")]
public string COUNTYJGMC { get; set; }
/// <summary>
/// XXJGDM
/// </summary>
[Column("XXJGDM")]
public string XXJGDM { get; set; }
/// <summary>
/// XXJGMC
/// </summary>
[Column("XXJGMC")]
public string XXJGMC { get; set; }
/// <summary>
/// XXSSZGJYXZBM
/// </summary>
[Column("XXSSZGJYXZBM")]
public string XXSSZGJYXZBM { get; set; }
/// <summary>
/// XXJBZMC
/// </summary>
[Column("XXJBZMC")]
public string XXJBZMC { get; set; }
/// <summary>
/// XXJBZXZ
/// </summary>
[Column("XXJBZXZ")]
public string XXJBZXZ { get; set; }
/// <summary>
/// XXFZRXM
/// </summary>
[Column("XXFZRXM")]
public string XXFZRXM { get; set; }
/// <summary>
/// JXRQ
/// </summary>
[Column("JXRQ")]
public string JXRQ { get; set; }
/// <summary>
/// XYJSS
/// </summary>
[Column("XYJSS")]
public int? XYJSS { get; set; }
/// <summary>
/// XYXSS
/// </summary>
[Column("XYXSS")]
public int? XYXSS { get; set; }
/// <summary>
/// BXKSZYS
/// </summary>
[Column("BXKSZYS")]
public int? BXKSZYS { get; set; }
/// <summary>
/// SYXX
/// </summary>
[Column("SYXX")]
public string SYXX { get; set; }
/// <summary>
/// SJCJSJ
/// </summary>
[Column("SJCJSJ")]
public string SJCJSJ { get; set; }
#endregion

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


+ 125
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_zzxxgkjcsj/ods_zzxxgkjcsjBLL.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:34
/// 描 述:中职学校概况基础数据表
/// </summary>
public class ods_zzxxgkjcsjBLL : ods_zzxxgkjcsjIBLL
{
private ods_zzxxgkjcsjService ods_zzxxgkjcsjService = new ods_zzxxgkjcsjService();

#region 获取数据

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

/// <summary>
/// 获取ODS_ZZXXGKJCSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public ODS_ZZXXGKJCSJEntity GetODS_ZZXXGKJCSJEntity(string keyValue)
{
try
{
return ods_zzxxgkjcsjService.GetODS_ZZXXGKJCSJEntity(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
{
ods_zzxxgkjcsjService.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, ODS_ZZXXGKJCSJEntity entity)
{
try
{
ods_zzxxgkjcsjService.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/Changyang_zhdn/ods_zzxxgkjcsj/ods_zzxxgkjcsjIBLL.cs Näytä tiedosto

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

namespace Learun.Application.TwoDevelopment.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:34
/// 描 述:中职学校概况基础数据表
/// </summary>
public interface ods_zzxxgkjcsjIBLL
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<ODS_ZZXXGKJCSJEntity> GetPageList(Pagination pagination, string queryJson);
/// <summary>
/// 获取ODS_ZZXXGKJCSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
ODS_ZZXXGKJCSJEntity GetODS_ZZXXGKJCSJEntity(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, ODS_ZZXXGKJCSJEntity entity);
#endregion

}
}

+ 163
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Changyang_zhdn/ods_zzxxgkjcsj/ods_zzxxgkjcsjService.cs Näytä tiedosto

@@ -0,0 +1,163 @@
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.Changyang_zhdn
{
/// <summary>
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
/// 创 建:超级管理员
/// 日 期:2022-11-09 12:34
/// 描 述:中职学校概况基础数据表
/// </summary>
public class ods_zzxxgkjcsjService : RepositoryFactory
{
#region 获取数据

/// <summary>
/// 获取页面显示列表数据
/// </summary>
/// <param name="pagination">查询参数</param>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<ODS_ZZXXGKJCSJEntity> GetPageList(Pagination pagination, string queryJson)
{
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.XYGKJCSJID,
t.PROVINCEJGBM,
t.PROVINCEJGMC,
t.CITYJGBM,
t.CITYJGMC,
t.COUNTYJGBM,
t.COUNTYJGMC,
t.XXJGDM,
t.XXJGMC,
t.XXLB,
t.XXSSZGJYXZBM,
t.XXJBZMC,
t.XXJBZXZ,
t.XXFZRXM,
t.JXRQ,
t.XYJSS,
t.XYXSS,
t.BXKSZYS,
t.SYXX,
t.SJCJSJ
");
strSql.Append(" FROM ODS_ZZXXGKJCSJ t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
// 虚拟参数
var dp = new DynamicParameters(new { });
return this.BaseRepository("changyang").FindList<ODS_ZZXXGKJCSJEntity>(strSql.ToString(),dp, pagination);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取ODS_ZZXXGKJCSJ表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public ODS_ZZXXGKJCSJEntity GetODS_ZZXXGKJCSJEntity(string keyValue)
{
try
{
return this.BaseRepository("changyang").FindEntity<ODS_ZZXXGKJCSJEntity>(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("changyang").Delete<ODS_ZZXXGKJCSJEntity>(t=>t.XYGKJCSJID == 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, ODS_ZZXXGKJCSJEntity entity)
{
try
{
if (!string.IsNullOrEmpty(keyValue))
{
entity.Modify(keyValue);
this.BaseRepository("changyang").Update(entity);
}
else
{
entity.Create();
this.BaseRepository("changyang").Insert(entity);
}
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

}
}

+ 12
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj Näytä tiedosto

@@ -1967,6 +1967,18 @@
<Compile Include="Changyang_zhdn\ods_dyfzqkjcsj\ods_dyfzqkjcsjService.cs" />
<Compile Include="Changyang_zhdn\ods_dyfzqkjcsj\ods_dyfzqkjcsjBLL.cs" />
<Compile Include="Changyang_zhdn\ods_dyfzqkjcsj\ods_dyfzqkjcsjIBLL.cs" />
<Compile Include="Changyang_zhdn\ods_gzpjsj\ODS_GZPJSJEntity.cs" />
<Compile Include="Changyang_zhdn\ods_gzpjsj\ods_gzpjsjService.cs" />
<Compile Include="Changyang_zhdn\ods_gzpjsj\ods_gzpjsjBLL.cs" />
<Compile Include="Changyang_zhdn\ods_gzpjsj\ods_gzpjsjIBLL.cs" />
<Compile Include="Changyang_zhdn\ods_zzxxgkjcsj\ODS_ZZXXGKJCSJEntity.cs" />
<Compile Include="Changyang_zhdn\ods_zzxxgkjcsj\ods_zzxxgkjcsjService.cs" />
<Compile Include="Changyang_zhdn\ods_zzxxgkjcsj\ods_zzxxgkjcsjBLL.cs" />
<Compile Include="Changyang_zhdn\ods_zzxxgkjcsj\ods_zzxxgkjcsjIBLL.cs" />
<Compile Include="Changyang_zhdn\ods_wfjckcjsj\ODS_WFJCKCJSJEntity.cs" />
<Compile Include="Changyang_zhdn\ods_wfjckcjsj\ods_wfjckcjsjService.cs" />
<Compile Include="Changyang_zhdn\ods_wfjckcjsj\ods_wfjckcjsjBLL.cs" />
<Compile Include="Changyang_zhdn\ods_wfjckcjsj\ods_wfjckcjsjIBLL.cs" />
<Compile Include="Changyang_zhdn\ods_djhddygbxxsj\ODS_DJHDDYGBXXSJEntity.cs" />
<Compile Include="Changyang_zhdn\ods_djhddygbxxsj\ods_djhddygbxxsjService.cs" />
<Compile Include="Changyang_zhdn\ods_djhddygbxxsj\ods_djhddygbxxsjBLL.cs" />


Ladataan…
Peruuta
Tallenna