@@ -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-10 11:35 | |||
/// 描 述:参加赛事活动数据表 | |||
/// </summary> | |||
public class ods_cjsxhdsjController : MvcControllerBase | |||
{ | |||
private ods_cjsxhdsjIBLL ods_cjsxhdsjIBLL = new ods_cjsxhdsjBLL(); | |||
#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_cjsxhdsjIBLL.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_CJSXHDSJData = ods_cjsxhdsjIBLL.GetODS_CJSXHDSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_CJSXHDSJ = ODS_CJSXHDSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_cjsxhdsjIBLL.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_CJSXHDSJEntity entity = strEntity.ToObject<ODS_CJSXHDSJEntity>(); | |||
ods_cjsxhdsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -10,7 +10,7 @@ namespace Learun.Application.Web.Areas.Changyang_zhdn.Controllers | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2022-11-09 16:15 | |||
/// 日 期:2022-11-09 16:18 | |||
/// 描 述:党建活动党员大会数据表 | |||
/// </summary> | |||
public class ods_djhddydhsjController : MvcControllerBase | |||
@@ -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-10 11:12 | |||
/// 描 述:党建活动党员日常数据表 | |||
/// </summary> | |||
public class ods_djhddyrcsjController : MvcControllerBase | |||
{ | |||
private ods_djhddyrcsjIBLL ods_djhddyrcsjIBLL = new ods_djhddyrcsjBLL(); | |||
#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_djhddyrcsjIBLL.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_DJHDDYRCSJData = ods_djhddyrcsjIBLL.GetODS_DJHDDYRCSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_DJHDDYRCSJ = ODS_DJHDDYRCSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_djhddyrcsjIBLL.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_DJHDDYRCSJEntity entity = strEntity.ToObject<ODS_DJHDDYRCSJEntity>(); | |||
ods_djhddyrcsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:24 | |||
/// 描 述:党建活动党员主题党日数据表 | |||
/// </summary> | |||
public class ods_djhddyztdrsjController : MvcControllerBase | |||
{ | |||
private ods_djhddyztdrsjIBLL ods_djhddyztdrsjIBLL = new ods_djhddyztdrsjBLL(); | |||
#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_djhddyztdrsjIBLL.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_DJHDDYZTDRSJData = ods_djhddyztdrsjIBLL.GetODS_DJHDDYZTDRSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_DJHDDYZTDRSJ = ODS_DJHDDYZTDRSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_djhddyztdrsjIBLL.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_DJHDDYZTDRSJEntity entity = strEntity.ToObject<ODS_DJHDDYZTDRSJEntity>(); | |||
ods_djhddyztdrsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:55 | |||
/// 描 述:德育活动数据表 | |||
/// </summary> | |||
public class ods_dyhdsjController : MvcControllerBase | |||
{ | |||
private ods_dyhdsjIBLL ods_dyhdsjIBLL = new ods_dyhdsjBLL(); | |||
#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_dyhdsjIBLL.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_DYHDSJData = ods_dyhdsjIBLL.GetODS_DYHDSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_DYHDSJ = ODS_DYHDSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_dyhdsjIBLL.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_DYHDSJEntity entity = strEntity.ToObject<ODS_DYHDSJEntity>(); | |||
ods_dyhdsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 14:24 | |||
/// 描 述:党组织情况基础数据表 | |||
/// </summary> | |||
public class ods_dzzqkjcsjController : MvcControllerBase | |||
{ | |||
private ods_dzzqkjcsjIBLL ods_dzzqkjcsjIBLL = new ods_dzzqkjcsjBLL(); | |||
#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_dzzqkjcsjIBLL.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_DZZQKJCSJData = ods_dzzqkjcsjIBLL.GetODS_DZZQKJCSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_DZZQKJCSJ = ODS_DZZQKJCSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_dzzqkjcsjIBLL.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_DZZQKJCSJEntity entity = strEntity.ToObject<ODS_DZZQKJCSJEntity>(); | |||
ods_dzzqkjcsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:51 | |||
/// 描 述:教材选用数据表 | |||
/// </summary> | |||
public class ods_jcxysjController : MvcControllerBase | |||
{ | |||
private ods_jcxysjIBLL ods_jcxysjIBLL = new ods_jcxysjBLL(); | |||
#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_jcxysjIBLL.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_JCXYSJData = ods_jcxysjIBLL.GetODS_JCXYSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_JCXYSJ = ODS_JCXYSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_jcxysjIBLL.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_JCXYSJEntity entity = strEntity.ToObject<ODS_JCXYSJEntity>(); | |||
ods_jcxysjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:36 | |||
/// 描 述:校外实训基地数据表 | |||
/// </summary> | |||
public class ods_xwsxjdsjController : MvcControllerBase | |||
{ | |||
private ods_xwsxjdsjIBLL ods_xwsxjdsjIBLL = new ods_xwsxjdsjBLL(); | |||
#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_xwsxjdsjIBLL.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_XWSXJDSJData = ods_xwsxjdsjIBLL.GetODS_XWSXJDSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_XWSXJDSJ = ODS_XWSXJDSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_xwsxjdsjIBLL.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_XWSXJDSJEntity entity = strEntity.ToObject<ODS_XWSXJDSJEntity>(); | |||
ods_xwsxjdsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 10:28 | |||
/// 描 述:中职毕业去向【未就业】数据表 | |||
/// </summary> | |||
public class ods_zzbyqxwjysjController : MvcControllerBase | |||
{ | |||
private ods_zzbyqxwjysjIBLL ods_zzbyqxwjysjIBLL = new ods_zzbyqxwjysjBLL(); | |||
#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_zzbyqxwjysjIBLL.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_ZZBYQXWJYSJData = ods_zzbyqxwjysjIBLL.GetODS_ZZBYQXWJYSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_ZZBYQXWJYSJ = ODS_ZZBYQXWJYSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_zzbyqxwjysjIBLL.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_ZZBYQXWJYSJEntity entity = strEntity.ToObject<ODS_ZZBYQXWJYSJEntity>(); | |||
ods_zzbyqxwjysjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:43 | |||
/// 描 述:职参加社团活动数据表 | |||
/// </summary> | |||
public class ods_zzcjsthdsjController : MvcControllerBase | |||
{ | |||
private ods_zzcjsthdsjIBLL ods_zzcjsthdsjIBLL = new ods_zzcjsthdsjBLL(); | |||
#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_zzcjsthdsjIBLL.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_ZZCJSTHDSJData = ods_zzcjsthdsjIBLL.GetODS_ZZCJSTHDSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_ZZCJSTHDSJ = ODS_ZZCJSTHDSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_zzcjsthdsjIBLL.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_ZZCJSTHDSJEntity entity = strEntity.ToObject<ODS_ZZCJSTHDSJEntity>(); | |||
ods_zzcjsthdsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 12:17 | |||
/// 描 述:中职实习基础数据表 | |||
/// </summary> | |||
public class ods_zzsxjcsjController : MvcControllerBase | |||
{ | |||
private ods_zzsxjcsjIBLL ods_zzsxjcsjIBLL = new ods_zzsxjcsjBLL(); | |||
#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_zzsxjcsjIBLL.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_ZZSXJCSJData = ods_zzsxjcsjIBLL.GetODS_ZZSXJCSJEntity( keyValue ); | |||
var jsonData = new { | |||
ODS_ZZSXJCSJ = ODS_ZZSXJCSJData, | |||
}; | |||
return Success(jsonData); | |||
} | |||
#endregion | |||
#region 提交数据 | |||
/// <summary> | |||
/// 删除实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
[HttpPost] | |||
[AjaxOnly] | |||
public ActionResult DeleteForm(string keyValue) | |||
{ | |||
ods_zzsxjcsjIBLL.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_ZZSXJCSJEntity entity = strEntity.ToObject<ODS_ZZSXJCSJEntity>(); | |||
ods_zzsxjcsjIBLL.SaveEntity(keyValue,entity); | |||
if (string.IsNullOrEmpty(keyValue)) | |||
{ | |||
} | |||
return Success("保存成功!"); | |||
} | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,63 @@ | |||
@{ | |||
ViewBag.Title = "参加赛事活动数据表"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">学校机构代码<font face="宋体">*</font></div> | |||
<input id="XXJGDM" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">学校机构名称<font face="宋体">*</font></div> | |||
<input id="XXJGMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">活动名称<font face="宋体">*</font></div> | |||
<input id="HDMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">活动主题<font face="宋体">*</font></div> | |||
<input id="HDZT" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">活动形式<font face="宋体">*</font></div> | |||
<input id="HDXS" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">活动内容<font face="宋体">*</font></div> | |||
<input id="HDNR" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">主办单位</div> | |||
<input id="ZBDW" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">主办单位级别</div> | |||
<div id="ZBDWJB" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">活动开始日期</div> | |||
<input id="HDKSRQ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">活动结束日期</div> | |||
<input id="HDJSRQ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">校方负责人<font face="宋体">*</font></div> | |||
<input id="XFFZR" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">参与教师数<font face="宋体">*</font></div> | |||
<input id="CYJSS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">参与学生数<font face="宋体">*</font></div> | |||
<input id="CYXSS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_CJSXHDSJ" > | |||
<div class="lr-form-item-title">数据采集时间</div> | |||
<input id="SJCJSJ" type="text" class="form-control" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_cjsxhdsj/Form.js") |
@@ -0,0 +1,51 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:35 | |||
* 描 述:参加赛事活动数据表 | |||
*/ | |||
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 () { | |||
$('#ZBDWJB').lrDataItemSelect({ code: 'zbdwjbdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_cjsxhdsj/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_cjsxhdsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_cjsxhdsj/Index.js") |
@@ -0,0 +1,106 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:35 | |||
* 描 述:参加赛事活动数据表 | |||
*/ | |||
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_cjsxhdsj/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_cjsxhdsj/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_cjsxhdsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_cjsxhdsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "活动名称", name: "HDMC", width: 100, align: "left"}, | |||
{ label: "活动主题", name: "HDZT", width: 100, align: "left"}, | |||
{ label: "活动形式", name: "HDXS", width: 100, align: "left"}, | |||
{ label: "活动内容", name: "HDNR", width: 100, align: "left"}, | |||
{ label: "主办单位", name: "ZBDW", width: 100, align: "left"}, | |||
{ label: "主办单位级别", name: "ZBDWJB", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'zbdwjbdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "活动开始日期", name: "HDKSRQ", width: 100, align: "left"}, | |||
{ label: "活动结束日期", name: "HDJSRQ", width: 100, align: "left"}, | |||
{ label: "校方负责人", name: "XFFZR", width: 100, align: "left"}, | |||
{ label: "参与教师数", name: "CYJSS", width: 100, align: "left"}, | |||
{ label: "参与学生数", name: "CYXSS", 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(); | |||
} |
@@ -1,7 +1,7 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-09 16:15 | |||
* 日 期:2022-11-09 16:18 | |||
* 描 述:党建活动党员大会数据表 | |||
*/ | |||
var acceptClick; | |||
@@ -1,7 +1,7 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-09 16:15 | |||
* 日 期:2022-11-09 16:18 | |||
* 描 述:党建活动党员大会数据表 | |||
*/ | |||
var refreshGirdData; | |||
@@ -0,0 +1,47 @@ | |||
@{ | |||
ViewBag.Title = "党建活动党员日常数据表"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">学校机构代码<font face="宋体">*</font></div> | |||
<input id="XXJGDM" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">学校机构名称</div> | |||
<input id="XXJGMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">党组织名称<font face="宋体">*</font></div> | |||
<input id="DZZMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">党组织编号<font face="宋体">*</font></div> | |||
<input id="DZZBH" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">活动地点</div> | |||
<input id="HDDD" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">活动内容</div> | |||
<input id="HDNR" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">活动开始时间<font face="宋体">*</font></div> | |||
<input id="HDKSSJ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">活动结束时间</div> | |||
<input id="HDJSSJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">参与人数<font face="宋体">*</font></div> | |||
<input id="CYRS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYRCSJ" > | |||
<div class="lr-form-item-title">数据采集时间<font face="宋体">*</font></div> | |||
<input id="SJCJSJ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_djhddyrcsj/Form.js") |
@@ -0,0 +1,50 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:12 | |||
* 描 述:党建活动党员日常数据表 | |||
*/ | |||
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_djhddyrcsj/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_djhddyrcsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_djhddyrcsj/Index.js") |
@@ -0,0 +1,93 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:12 | |||
* 描 述:党建活动党员日常数据表 | |||
*/ | |||
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_djhddyrcsj/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_djhddyrcsj/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_djhddyrcsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_djhddyrcsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "党组织名称", name: "DZZMC", width: 100, align: "left"}, | |||
{ label: "党组织编号", name: "DZZBH", width: 100, align: "left"}, | |||
{ label: "活动地点", name: "HDDD", width: 100, align: "left"}, | |||
{ label: "活动内容", name: "HDNR", width: 100, align: "left"}, | |||
{ label: "活动开始时间", name: "HDKSSJ", width: 100, align: "left"}, | |||
{ label: "活动结束时间", name: "HDJSSJ", width: 100, align: "left"}, | |||
{ label: "参与人数", name: "CYRS", 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(); | |||
} |
@@ -0,0 +1,47 @@ | |||
@{ | |||
ViewBag.Title = "党建活动党员主题党日数据表"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">学校机构代码<font face="宋体">*</font></div> | |||
<input id="XXJGDM" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">学校机构名称<font face="宋体">*</font></div> | |||
<input id="XXJGMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">党组织名称<font face="宋体">*</font></div> | |||
<input id="DZZMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">党组织编号<font face="宋体">*</font></div> | |||
<input id="DZZBH" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">活动地点</div> | |||
<input id="HDDD" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">活动内容</div> | |||
<div id="HDNR" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">活动开始时间<font face="宋体">*</font></div> | |||
<input id="HDKSSJ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">活动结束时间<font face="宋体">*</font></div> | |||
<input id="HDJSSJ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">参与人数<font face="宋体">*</font></div> | |||
<input id="CYRS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DJHDDYZTDRSJ" > | |||
<div class="lr-form-item-title">数据采集时间<font face="宋体">*</font></div> | |||
<input id="SJCJSJ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_djhddyztdrsj/Form.js") |
@@ -0,0 +1,51 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:24 | |||
* 描 述:党建活动党员主题党日数据表 | |||
*/ | |||
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 () { | |||
$('#HDNR').lrDataItemSelect({ code: 'ztdrhdnrdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_djhddyztdrsj/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_djhddyztdrsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_djhddyztdrsj/Index.js") |
@@ -0,0 +1,102 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:24 | |||
* 描 述:党建活动党员主题党日数据表 | |||
*/ | |||
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_djhddyztdrsj/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_djhddyztdrsj/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_djhddyztdrsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_djhddyztdrsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "党组织名称", name: "DZZMC", width: 100, align: "left"}, | |||
{ label: "党组织编号", name: "DZZBH", width: 100, align: "left"}, | |||
{ label: "活动地点", name: "HDDD", width: 100, align: "left"}, | |||
{ label: "活动内容", name: "HDNR", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'ztdrhdnrdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "活动开始时间", name: "HDKSSJ", width: 100, align: "left"}, | |||
{ label: "活动结束时间", name: "HDJSSJ", width: 100, align: "left"}, | |||
{ label: "参与人数", name: "CYRS", 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(); | |||
} |
@@ -0,0 +1,75 @@ | |||
@{ | |||
ViewBag.Title = "德育活动数据表"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">学校机构代码<font face="宋体">*</font></div> | |||
<input id="XXJGDM" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">学校机构名称<font face="宋体">*</font></div> | |||
<input id="XXJGMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">活动名称<font face="宋体">*</font></div> | |||
<input id="HDMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">所属专题</div> | |||
<input id="SSZT" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">活动版块</div> | |||
<input id="HDBK" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">活动主题</div> | |||
<div id="HDZT" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">活动类型</div> | |||
<div id="HDLX" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">活动内容</div> | |||
<input id="HDNR" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">主办单位<font face="宋体">*</font></div> | |||
<input id="ZBDW" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">主办单位级别<font face="宋体">*</font></div> | |||
<div id="ZBDWJB" isvalid="yes" checkexpession="NotNull" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">活动开始日期<font face="宋体">*</font></div> | |||
<input id="HDKSRQ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">活动结束日期<font face="宋体">*</font></div> | |||
<input id="HDJSRQ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">校方负责人</div> | |||
<input id="XFFZR" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">参与班级数<font face="宋体">*</font></div> | |||
<input id="CYBJS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">参与教师数<font face="宋体">*</font></div> | |||
<input id="CYJSS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">参与学生数<font face="宋体">*</font></div> | |||
<input id="CYXSS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DYHDSJ" > | |||
<div class="lr-form-item-title">数据采集时间<font face="宋体">*</font></div> | |||
<input id="SJCJSJ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_dyhdsj/Form.js") |
@@ -0,0 +1,53 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:55 | |||
* 描 述:德育活动数据表 | |||
*/ | |||
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 () { | |||
$('#HDZT').lrDataItemSelect({ code: 'dyhdztdm' }); | |||
$('#HDLX').lrDataItemSelect({ code: 'dyhdlxdm' }); | |||
$('#ZBDWJB').lrDataItemSelect({ code: 'zbdwjbdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_dyhdsj/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_dyhdsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_dyhdsj/Index.js") |
@@ -0,0 +1,127 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:55 | |||
* 描 述:德育活动数据表 | |||
*/ | |||
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_dyhdsj/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_dyhdsj/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_dyhdsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_dyhdsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "活动名称", name: "HDMC", width: 100, align: "left"}, | |||
{ label: "所属专题", name: "SSZT", width: 100, align: "left"}, | |||
{ label: "活动版块", name: "HDBK", width: 100, align: "left"}, | |||
{ label: "活动主题", name: "HDZT", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'dyhdztdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "活动类型", name: "HDLX", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'dyhdlxdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "活动内容", name: "HDNR", width: 100, align: "left"}, | |||
{ label: "主办单位", name: "ZBDW", width: 100, align: "left"}, | |||
{ label: "主办单位级别", name: "ZBDWJB", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'zbdwjbdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "活动开始日期", name: "HDKSRQ", width: 100, align: "left"}, | |||
{ label: "活动结束日期", name: "HDJSRQ", width: 100, align: "left"}, | |||
{ label: "校方负责人", name: "XFFZR", width: 100, align: "left"}, | |||
{ label: "参与班级数", name: "CYBJS", width: 100, align: "left"}, | |||
{ label: "参与教师数", name: "CYJSS", width: 100, align: "left"}, | |||
{ label: "参与学生数", name: "CYXSS", 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(); | |||
} |
@@ -0,0 +1,51 @@ | |||
@{ | |||
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_DZZQKJCSJ" > | |||
<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_DZZQKJCSJ" > | |||
<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_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">党组织类型</div> | |||
<input id="DZZLX" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">党组织名称</div> | |||
<input id="DZZMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">党组织编号</div> | |||
<input id="DZZBH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">隶属上级党组织</div> | |||
<input id="SJDZZ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">党内领导姓名</div> | |||
<input id="DNLDXM" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">党内领导教工号</div> | |||
<input id="DNLDJGH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">党内领导职务</div> | |||
<div id="DNLDZW" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">党组织党员人数</div> | |||
<input id="DZZDYRS" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_DZZQKJCSJ" > | |||
<div class="lr-form-item-title">数据采集时间</div> | |||
<input id="SJCJSJ" type="text" class="form-control" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_dzzqkjcsj/Form.js") |
@@ -0,0 +1,51 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 14:24 | |||
* 描 述:党组织情况基础数据表 | |||
*/ | |||
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 () { | |||
$('#DNLDZW').lrDataItemSelect({ code: 'dnldrzwdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_dzzqkjcsj/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_dzzqkjcsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,29 @@ | |||
@{ | |||
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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_dzzqkjcsj/Index.js") |
@@ -0,0 +1,106 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 14:24 | |||
* 描 述:党组织情况基础数据表 | |||
*/ | |||
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_dzzqkjcsj/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_dzzqkjcsj/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_dzzqkjcsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 导入 | |||
$('#lr_import').on('click', function () { | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_dzzqkjcsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "党组织类型", name: "DZZLX", width: 100, align: "left"}, | |||
{ label: "党组织名称", name: "DZZMC", width: 100, align: "left"}, | |||
{ label: "党组织编号", name: "DZZBH", width: 100, align: "left"}, | |||
{ label: "隶属上级党组织", name: "SJDZZ", width: 100, align: "left"}, | |||
{ label: "党内领导姓名", name: "DNLDXM", width: 100, align: "left"}, | |||
{ label: "党内领导教工号", name: "DNLDJGH", width: 100, align: "left"}, | |||
{ label: "党内领导职务", name: "DNLDZW", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'dnldrzwdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "党组织党员人数", name: "DZZDYRS", 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(); | |||
} |
@@ -0,0 +1,75 @@ | |||
@{ | |||
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_JCXYSJ" > | |||
<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_JCXYSJ" > | |||
<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_JCXYSJ" > | |||
<div class="lr-form-item-title">教材名称</div> | |||
<input id="JCMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">教材编号</div> | |||
<input id="JCBH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">教材性质</div> | |||
<div id="JCXZ" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">ISBN号</div> | |||
<input id="ISBN" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">作者</div> | |||
<input id="ZZXM" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">出版日期</div> | |||
<input id="CBRQ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">出版社</div> | |||
<input id="CBS" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">适用层次</div> | |||
<div id="SYCC" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">价格(元)</div> | |||
<input id="JG" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">版次</div> | |||
<input id="BC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">印次</div> | |||
<input id="YC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">是否有练习册</div> | |||
<input id="SFYLXC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">是否有教参教辅</div> | |||
<input id="SFYJCJF" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">获奖情况</div> | |||
<div id="HJQK" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_JCXYSJ" > | |||
<div class="lr-form-item-title">数据采集时间</div> | |||
<input id="SJCJSJ" type="text" class="form-control" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_jcxysj/Form.js") |
@@ -0,0 +1,53 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:51 | |||
* 描 述:教材选用数据表 | |||
*/ | |||
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 () { | |||
$('#JCXZ').lrDataItemSelect({ code: 'jcxzdm' }); | |||
$('#SYCC').lrDataItemSelect({ code: 'jcsyccdm' }); | |||
$('#HJQK').lrDataItemSelect({ code: 'jchjqkdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_jcxysj/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_jcxysj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,29 @@ | |||
@{ | |||
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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_jcxysj/Index.js") |
@@ -0,0 +1,130 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:51 | |||
* 描 述:教材选用数据表 | |||
*/ | |||
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_jcxysj/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_jcxysj/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_jcxysj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 导入 | |||
$('#lr_import').on('click', function () { | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_jcxysj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "教材名称", name: "JCMC", width: 100, align: "left"}, | |||
{ label: "教材编号", name: "JCBH", width: 100, align: "left"}, | |||
{ label: "教材性质", name: "JCXZ", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'jcxzdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "ISBN号", name: "ISBN", width: 100, align: "left"}, | |||
{ label: "作者", name: "ZZXM", width: 100, align: "left"}, | |||
{ label: "出版日期", name: "CBRQ", width: 100, align: "left"}, | |||
{ label: "出版社", name: "CBS", width: 100, align: "left"}, | |||
{ label: "适用层次", name: "SYCC", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'jcsyccdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "价格(元)", name: "JG", width: 100, align: "left"}, | |||
{ label: "版次", name: "BC", width: 100, align: "left"}, | |||
{ label: "印次", name: "YC", width: 100, align: "left"}, | |||
{ label: "是否有练习册", name: "SFYLXC", width: 100, align: "left"}, | |||
{ label: "是否有教参教辅", name: "SFYJCJF", width: 100, align: "left"}, | |||
{ label: "获奖情况", name: "HJQK", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'jchjqkdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ 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(); | |||
} |
@@ -0,0 +1,95 @@ | |||
@{ | |||
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_XWSXJDSJ" > | |||
<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_XWSXJDSJ" > | |||
<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_XWSXJDSJ" > | |||
<div class="lr-form-item-title">实习实训基地号</div> | |||
<input id="SXSXJDH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">实习实训基地名称</div> | |||
<input id="SXSXJDMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">依托单位名称</div> | |||
<input id="YTDWMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">依托单位性质</div> | |||
<div id="YTDWXZ" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">单位组织机构代码</div> | |||
<input id="DWZZJGDM" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">在岗职工总数</div> | |||
<input id="ZGZGZS" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">所在区域</div> | |||
<input id="SZQY" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">详细地址</div> | |||
<input id="XXDZ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">基地联系人姓名</div> | |||
<input id="JDLXRXM" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">联系人电话</div> | |||
<input id="LXRDH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">联系人邮箱</div> | |||
<input id="LXRYX" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">基地成立年月</div> | |||
<input id="JDCLNY" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">所属行业</div> | |||
<div id="SSHY" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">所属产业</div> | |||
<div id="SSCY" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">面向专业</div> | |||
<input id="MXZY" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">合作开始时间</div> | |||
<input id="HZKSSJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">合作结束时间</div> | |||
<input id="HZJSSJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">合作协议签署状态</div> | |||
<input id="HZXYQSZT" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">合作状态</div> | |||
<input id="HZZT" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_XWSXJDSJ" > | |||
<div class="lr-form-item-title">数据采集时间</div> | |||
<input id="SJCJSJ" type="text" class="form-control" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_xwsxjdsj/Form.js") |
@@ -0,0 +1,53 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:36 | |||
* 描 述:校外实训基地数据表 | |||
*/ | |||
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 () { | |||
$('#YTDWXZ').lrDataItemSelect({ code: 'dwxzdm' }); | |||
$('#SSHY').lrDataItemSelect({ code: 'sxhydm' }); | |||
$('#SSCY').lrDataItemSelect({ code: 'cydm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_xwsxjdsj/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_xwsxjdsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,29 @@ | |||
@{ | |||
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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_xwsxjdsj/Index.js") |
@@ -0,0 +1,135 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:36 | |||
* 描 述:校外实训基地数据表 | |||
*/ | |||
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_xwsxjdsj/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_xwsxjdsj/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_xwsxjdsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 导入 | |||
$('#lr_import').on('click', function () { | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_xwsxjdsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "实习实训基地号", name: "SXSXJDH", width: 100, align: "left"}, | |||
{ label: "实习实训基地名称", name: "SXSXJDMC", width: 100, align: "left"}, | |||
{ label: "依托单位名称", name: "YTDWMC", width: 100, align: "left"}, | |||
{ label: "依托单位性质", name: "YTDWXZ", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'dwxzdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "单位组织机构代码", name: "DWZZJGDM", width: 100, align: "left"}, | |||
{ label: "在岗职工总数", name: "ZGZGZS", width: 100, align: "left"}, | |||
{ label: "所在区域", name: "SZQY", width: 100, align: "left"}, | |||
{ label: "详细地址", name: "XXDZ", width: 100, align: "left"}, | |||
{ label: "基地联系人姓名", name: "JDLXRXM", width: 100, align: "left"}, | |||
{ label: "联系人电话", name: "LXRDH", width: 100, align: "left"}, | |||
{ label: "联系人邮箱", name: "LXRYX", width: 100, align: "left"}, | |||
{ label: "基地成立年月", name: "JDCLNY", width: 100, align: "left"}, | |||
{ label: "所属行业", name: "SSHY", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'sxhydm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "所属产业", name: "SSCY", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'cydm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "面向专业", name: "MXZY", width: 100, align: "left"}, | |||
{ label: "合作开始时间", name: "HZKSSJ", width: 100, align: "left"}, | |||
{ label: "合作结束时间", name: "HZJSSJ", width: 100, align: "left"}, | |||
{ label: "合作协议签署状态", name: "HZXYQSZT", width: 100, align: "left"}, | |||
{ label: "合作状态", name: "HZZT", 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(); | |||
} |
@@ -0,0 +1,43 @@ | |||
@{ | |||
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_ZZBYQXWJYSJ" > | |||
<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_ZZBYQXWJYSJ" > | |||
<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_ZZBYQXWJYSJ" > | |||
<div class="lr-form-item-title">学号</div> | |||
<input id="XH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZBYQXWJYSJ" > | |||
<div class="lr-form-item-title">姓名</div> | |||
<input id="XM" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZBYQXWJYSJ" > | |||
<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_ZZBYQXWJYSJ" > | |||
<div class="lr-form-item-title">班级名称</div> | |||
<input id="BJMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZBYQXWJYSJ" > | |||
<div class="lr-form-item-title">身份证号</div> | |||
<input id="SFZH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZBYQXWJYSJ" > | |||
<div class="lr-form-item-title">未就业类型</div> | |||
<div id="WJYLX" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZBYQXWJYSJ" > | |||
<div class="lr-form-item-title">数据采集时间</div> | |||
<input id="SJCJSJ" type="text" class="form-control" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_zzbyqxwjysj/Form.js") |
@@ -0,0 +1,51 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 10:28 | |||
* 描 述:中职毕业去向【未就业】数据表 | |||
*/ | |||
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 () { | |||
$('#WJYLX').lrDataItemSelect({ code: 'wjylxdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_zzbyqxwjysj/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_zzbyqxwjysj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,29 @@ | |||
@{ | |||
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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_zzbyqxwjysj/Index.js") |
@@ -0,0 +1,104 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 10:28 | |||
* 描 述:中职毕业去向【未就业】数据表 | |||
*/ | |||
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_zzbyqxwjysj/Form', | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ZZSXJYSJID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_zzbyqxwjysj/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('ZZSXJYSJID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/Changyang_zhdn/ods_zzbyqxwjysj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 导入 | |||
$('#lr_import').on('click', function () { | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_zzbyqxwjysj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "学号", name: "XH", width: 100, align: "left"}, | |||
{ label: "姓名", name: "XM", width: 100, align: "left"}, | |||
{ label: "专业名称", name: "ZYMC", width: 100, align: "left"}, | |||
{ label: "班级名称", name: "BJMC", width: 100, align: "left"}, | |||
{ label: "身份证号", name: "SFZH", width: 100, align: "left"}, | |||
{ label: "未就业类型", name: "WJYLX", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'wjylxdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "数据采集时间", name: "SJCJSJ", width: 100, align: "left"}, | |||
], | |||
mainId:'ZZSXJYSJID', | |||
isPage: true | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,35 @@ | |||
@{ | |||
ViewBag.Title = "职参加社团活动数据表"; | |||
Layout = "~/Views/Shared/_Form.cshtml"; | |||
} | |||
<div class="lr-form-wrap" id="form"> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_ZZCJSTHDSJ" > | |||
<div class="lr-form-item-title">学校机构代码<font face="宋体">*</font></div> | |||
<input id="XXJGDM" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_ZZCJSTHDSJ" > | |||
<div class="lr-form-item-title">学校机构名称<font face="宋体">*</font></div> | |||
<input id="XXJGMC" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_ZZCJSTHDSJ" > | |||
<div class="lr-form-item-title">参与学生数<font face="宋体">*</font></div> | |||
<input id="CYXSS" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_ZZCJSTHDSJ" > | |||
<div class="lr-form-item-title">参加社团活动类型</div> | |||
<div id="CJSTHDLX" ></div> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_ZZCJSTHDSJ" > | |||
<div class="lr-form-item-title">参加社团活动开始时间</div> | |||
<input id="CJSTHDKSSJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-6 lr-form-item" data-table="ODS_ZZCJSTHDSJ" > | |||
<div class="lr-form-item-title">参加社团活动结束时间</div> | |||
<input id="CJSTHDJSSJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZCJSTHDSJ" > | |||
<div class="lr-form-item-title">数据采集时间<font face="宋体">*</font></div> | |||
<input id="SJCJSJ" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_zzcjsthdsj/Form.js") |
@@ -0,0 +1,51 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:43 | |||
* 描 述:职参加社团活动数据表 | |||
*/ | |||
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 () { | |||
$('#CJSTHDLX').lrDataItemSelect({ code: 'sthdlxdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_zzcjsthdsj/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_zzcjsthdsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_zzcjsthdsj/Index.js") |
@@ -0,0 +1,99 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 11:43 | |||
* 描 述:职参加社团活动数据表 | |||
*/ | |||
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_zzcjsthdsj/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_zzcjsthdsj/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_zzcjsthdsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_zzcjsthdsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "参与学生数", name: "CYXSS", width: 100, align: "left"}, | |||
{ label: "参加社团活动类型", name: "CJSTHDLX", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'sthdlxdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "参加社团活动开始时间", name: "CJSTHDKSSJ", width: 100, align: "left"}, | |||
{ label: "参加社团活动结束时间", name: "CJSTHDJSSJ", 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(); | |||
} |
@@ -0,0 +1,115 @@ | |||
@{ | |||
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_ZZSXJCSJ" > | |||
<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_ZZSXJCSJ" > | |||
<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_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">学生学号</div> | |||
<input id="XSXH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">学生姓名</div> | |||
<input id="XSXM" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<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_ZZSXJCSJ" > | |||
<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_ZZSXJCSJ" > | |||
<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_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习班级</div> | |||
<input id="SXBJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习项目名称</div> | |||
<input id="SXXMMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习类别</div> | |||
<div id="SXLB" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习是否开始</div> | |||
<input id="SXSFKS" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习是否结束</div> | |||
<input id="SXSFJS" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习行业</div> | |||
<div id="SXHY"></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习开始时间</div> | |||
<input id="SXKSSJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习结束时间</div> | |||
<input id="SXJSSJ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习去向</div> | |||
<div id="SXQX" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习单位来源</div> | |||
<div id="SXDWLY" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习场所类型</div> | |||
<div id="SXCSLX" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实训基地号</div> | |||
<input id="SXJDH" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习单位名称</div> | |||
<input id="SXDWMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习单位地址</div> | |||
<input id="SXDWDZ" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">实习岗位名称</div> | |||
<input id="SXGWMC" type="text" class="form-control" /> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">住宿安排</div> | |||
<div id="ZSAP" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">专业对口程度</div> | |||
<div id="ZYDKCD" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">购买保险种类</div> | |||
<div id="GMBXZL" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">保险购买方</div> | |||
<div id="BXGMF" ></div> | |||
</div> | |||
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZSXJCSJ" > | |||
<div class="lr-form-item-title">数据采集时间</div> | |||
<input id="SJCJSJ" type="text" class="form-control" /> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_zzsxjcsj/Form.js") |
@@ -0,0 +1,62 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 12:17 | |||
* 描 述:中职实习基础数据表 | |||
*/ | |||
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 () { | |||
$('#SXLB').lrDataItemSelect({ code: 'sxlbdm' }); | |||
$('#SXHY').lrRadioCheckbox({ | |||
type: 'radio', | |||
code: 'sxhydm', | |||
}); | |||
$('#SXQX').lrDataItemSelect({ code: 'sxqxdm' }); | |||
$('#SXDWLY').lrDataItemSelect({ code: 'sxdwlydm' }); | |||
$('#SXCSLX').lrDataItemSelect({ code: 'sxcslxdm' }); | |||
$('#ZSAP').lrDataItemSelect({ code: 'zxapdm' }); | |||
$('#ZYDKCD').lrDataItemSelect({ code: 'zydkcddm' }); | |||
$('#GMBXZL').lrDataItemSelect({ code: 'bxgmzldm' }); | |||
$('#BXGMF').lrDataItemSelect({ code: 'bxgmfdm' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
$.lrSetForm(top.$.rootUrl + '/Changyang_zhdn/ods_zzsxjcsj/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_zzsxjcsj/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||
// 保存成功后才回调 | |||
if (!!callBack) { | |||
callBack(); | |||
} | |||
}); | |||
}; | |||
page.init(); | |||
} |
@@ -0,0 +1,29 @@ | |||
@{ | |||
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> 新增</a> | |||
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i> 删除</a> | |||
</div> | |||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||
<a id="lr_import" class="btn btn-default"><i class="fa fa-plus"></i> 导入</a> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="lr-layout-body" id="gridtable"></div> | |||
</div> | |||
</div> | |||
</div> | |||
@Html.AppendJsFile("/Areas/Changyang_zhdn/Views/ods_zzsxjcsj/Index.js") |
@@ -0,0 +1,194 @@ | |||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
* 创建人:超级管理员 | |||
* 日 期:2022-11-10 12:17 | |||
* 描 述:中职实习基础数据表 | |||
*/ | |||
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_zzsxjcsj/Form', | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
}); | |||
// 编辑 | |||
$('#lr_edit').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('GZSXJYSJID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerForm({ | |||
id: 'form', | |||
title: '编辑', | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_zzsxjcsj/Form?keyValue=' + keyValue, | |||
width: 600, | |||
height: 400, | |||
callBack: function (id) { | |||
return top[id].acceptClick(refreshGirdData); | |||
} | |||
}); | |||
} | |||
}); | |||
// 删除 | |||
$('#lr_delete').on('click', function () { | |||
var keyValue = $('#gridtable').jfGridValue('GZSXJYSJID'); | |||
if (learun.checkrow(keyValue)) { | |||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||
if (res) { | |||
learun.deleteForm(top.$.rootUrl + '/Changyang_zhdn/ods_zzsxjcsj/DeleteForm', { keyValue: keyValue}, function () { | |||
refreshGirdData(); | |||
}); | |||
} | |||
}); | |||
} | |||
}); | |||
// 导入 | |||
$('#lr_import').on('click', function () { | |||
}); | |||
}, | |||
// 初始化列表 | |||
initGird: function () { | |||
$('#gridtable').lrAuthorizeJfGrid({ | |||
url: top.$.rootUrl + '/Changyang_zhdn/ods_zzsxjcsj/GetPageList', | |||
headData: [ | |||
{ label: "学校机构代码", name: "XXJGDM", width: 100, align: "left"}, | |||
{ label: "学校机构名称", name: "XXJGMC", width: 100, align: "left"}, | |||
{ label: "学生学号", name: "XSXH", width: 100, align: "left"}, | |||
{ label: "学生姓名", name: "XSXM", width: 100, align: "left"}, | |||
{ label: "专业名称", name: "ZYMC", width: 100, align: "left"}, | |||
{ label: "学年", name: "XN", width: 100, align: "left"}, | |||
{ label: "学期", name: "XQ", width: 100, align: "left"}, | |||
{ label: "实习班级", name: "SXBJ", width: 100, align: "left"}, | |||
{ label: "实习项目名称", name: "SXXMMC", width: 100, align: "left"}, | |||
{ label: "实习类别", name: "SXLB", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'sxlbdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "实习是否开始", name: "SXSFKS", width: 100, align: "left"}, | |||
{ label: "实习是否结束", name: "SXSFJS", width: 100, align: "left"}, | |||
{ label: "实习行业", name: "SXHY", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'sxhydm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "实习开始时间", name: "SXKSSJ", width: 100, align: "left"}, | |||
{ label: "实习结束时间", name: "SXJSSJ", width: 100, align: "left"}, | |||
{ label: "实习去向", name: "SXQX", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'sxqxdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "实习单位来源", name: "SXDWLY", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'sxdwlydm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "实习场所类型", name: "SXCSLX", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'sxcslxdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "实训基地号", name: "SXJDH", width: 100, align: "left"}, | |||
{ label: "实习单位名称", name: "SXDWMC", width: 100, align: "left"}, | |||
{ label: "实习单位地址", name: "SXDWDZ", width: 100, align: "left"}, | |||
{ label: "实习岗位名称", name: "SXGWMC", width: 100, align: "left"}, | |||
{ label: "住宿安排", name: "ZSAP", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'zxapdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "专业对口程度", name: "ZYDKCD", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'zydkcddm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "购买保险种类", name: "GMBXZL", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'bxgmzldm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "保险购买方", name: "BXGMF", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op,$cell) { | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
code: 'bxgmfdm', | |||
callback: function (_data) { | |||
callback(_data.text); | |||
} | |||
}); | |||
}}, | |||
{ label: "数据采集时间", name: "SJCJSJ", width: 100, align: "left"}, | |||
], | |||
mainId:'GZSXJYSJID', | |||
isPage: true | |||
}); | |||
page.search(); | |||
}, | |||
search: function (param) { | |||
param = param || {}; | |||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||
} | |||
}; | |||
refreshGirdData = function () { | |||
$('#gridtable').jfGridSet('reload'); | |||
}; | |||
page.init(); | |||
} |
@@ -887,6 +887,16 @@ | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_zzbyqxsxsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_zzbyqxjysjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_djhddydhsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_zzbyqxwjysjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_djhddyrcsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_djhddyztdrsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_cjsxhdsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_xwsxjdsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_zzcjsthdsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_jcxysjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_dyhdsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_zzsxjcsjController.cs" /> | |||
<Compile Include="Areas\Changyang_zhdn\Controllers\ods_dzzqkjcsjController.cs" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" /> | |||
@@ -6994,6 +7004,46 @@ | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddydhsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddydhsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddydhsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzbyqxwjysj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzbyqxwjysj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzbyqxwjysj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzbyqxwjysj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyrcsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyrcsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyrcsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyrcsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyztdrsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyztdrsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyztdrsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_djhddyztdrsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_cjsxhdsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_cjsxhdsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_cjsxhdsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_cjsxhdsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_xwsxjdsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_xwsxjdsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_xwsxjdsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_xwsxjdsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzcjsthdsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzcjsthdsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzcjsthdsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzcjsthdsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_jcxysj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_jcxysj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_jcxysj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_jcxysj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dyhdsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dyhdsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dyhdsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dyhdsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzsxjcsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzsxjcsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzsxjcsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_zzsxjcsj\Form.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dzzqkjcsj\Index.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dzzqkjcsj\Index.js" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dzzqkjcsj\Form.cshtml" /> | |||
<Content Include="Areas\Changyang_zhdn\Views\ods_dzzqkjcsj\Form.js" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Folder Include="Areas\EducationalAdministration\Views\OpenLessonPlanOfElectivePre\" /> | |||
@@ -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-10 11:35 | |||
/// 描 述:参加赛事活动数据表 | |||
/// </summary> | |||
public class ODS_CJSXHDSJMap : EntityTypeConfiguration<ODS_CJSXHDSJEntity> | |||
{ | |||
public ODS_CJSXHDSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_CJSXHDSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -7,7 +7,7 @@ namespace Learun.Application.Mapping | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2022-11-09 16:15 | |||
/// 日 期:2022-11-09 16:18 | |||
/// 描 述:党建活动党员大会数据表 | |||
/// </summary> | |||
public class ODS_DJHDDYDHSJMap : EntityTypeConfiguration<ODS_DJHDDYDHSJEntity> | |||
@@ -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-10 11:12 | |||
/// 描 述:党建活动党员日常数据表 | |||
/// </summary> | |||
public class ODS_DJHDDYRCSJMap : EntityTypeConfiguration<ODS_DJHDDYRCSJEntity> | |||
{ | |||
public ODS_DJHDDYRCSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_DJHDDYRCSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 11:24 | |||
/// 描 述:党建活动党员主题党日数据表 | |||
/// </summary> | |||
public class ODS_DJHDDYZTDRSJMap : EntityTypeConfiguration<ODS_DJHDDYZTDRSJEntity> | |||
{ | |||
public ODS_DJHDDYZTDRSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_DJHDDYZTDRSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 11:55 | |||
/// 描 述:德育活动数据表 | |||
/// </summary> | |||
public class ODS_DYHDSJMap : EntityTypeConfiguration<ODS_DYHDSJEntity> | |||
{ | |||
public ODS_DYHDSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_DYHDSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 14:24 | |||
/// 描 述:党组织情况基础数据表 | |||
/// </summary> | |||
public class ODS_DZZQKJCSJMap : EntityTypeConfiguration<ODS_DZZQKJCSJEntity> | |||
{ | |||
public ODS_DZZQKJCSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_DZZQKJCSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 11:51 | |||
/// 描 述:教材选用数据表 | |||
/// </summary> | |||
public class ODS_JCXYSJMap : EntityTypeConfiguration<ODS_JCXYSJEntity> | |||
{ | |||
public ODS_JCXYSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_JCXYSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 11:36 | |||
/// 描 述:校外实训基地数据表 | |||
/// </summary> | |||
public class ODS_XWSXJDSJMap : EntityTypeConfiguration<ODS_XWSXJDSJEntity> | |||
{ | |||
public ODS_XWSXJDSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_XWSXJDSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 10:28 | |||
/// 描 述:中职毕业去向【未就业】数据表 | |||
/// </summary> | |||
public class ODS_ZZBYQXWJYSJMap : EntityTypeConfiguration<ODS_ZZBYQXWJYSJEntity> | |||
{ | |||
public ODS_ZZBYQXWJYSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_ZZBYQXWJYSJ"); | |||
//主键 | |||
this.HasKey(t => t.ZZSXJYSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 11:43 | |||
/// 描 述:职参加社团活动数据表 | |||
/// </summary> | |||
public class ODS_ZZCJSTHDSJMap : EntityTypeConfiguration<ODS_ZZCJSTHDSJEntity> | |||
{ | |||
public ODS_ZZCJSTHDSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_ZZCJSTHDSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZZYQKSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -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-10 12:17 | |||
/// 描 述:中职实习基础数据表 | |||
/// </summary> | |||
public class ODS_ZZSXJCSJMap : EntityTypeConfiguration<ODS_ZZSXJCSJEntity> | |||
{ | |||
public ODS_ZZSXJCSJMap() | |||
{ | |||
#region 表、主键 | |||
//表 | |||
this.ToTable("ODS_ZZSXJCSJ"); | |||
//主键 | |||
this.HasKey(t => t.GZSXJYSJID); | |||
#endregion | |||
#region 配置关系 | |||
#endregion | |||
} | |||
} | |||
} | |||
@@ -646,6 +646,16 @@ | |||
<Compile Include="Changyang_zhdn\ODS_ZZBYQXSXSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_ZZBYQXJYSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_DJHDDYDHSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_ZZBYQXWJYSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_DJHDDYRCSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_DJHDDYZTDRSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_CJSXHDSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_XWSXJDSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_ZZCJSTHDSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_JCXYSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_DYHDSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_ZZSXJCSJMap.cs" /> | |||
<Compile Include="Changyang_zhdn\ODS_DZZQKJCSJMap.cs" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj"> | |||
@@ -0,0 +1,115 @@ | |||
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-10 11:35 | |||
/// 描 述:参加赛事活动数据表 | |||
/// </summary> | |||
public class ODS_CJSXHDSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// 主键数据唯一性标识 | |||
/// </summary> | |||
[Column("GZZYQKSJID")] | |||
public string GZZYQKSJID { get; set; } | |||
/// <summary> | |||
/// 学校机构代码 | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// 学校机构名称 | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// 活动名称 | |||
/// </summary> | |||
[Column("HDMC")] | |||
public string HDMC { get; set; } | |||
/// <summary> | |||
/// 活动主题 | |||
/// </summary> | |||
[Column("HDZT")] | |||
public string HDZT { get; set; } | |||
/// <summary> | |||
/// 活动形式 | |||
/// </summary> | |||
[Column("HDXS")] | |||
public string HDXS { get; set; } | |||
/// <summary> | |||
/// 活动内容 | |||
/// </summary> | |||
[Column("HDNR")] | |||
public string HDNR { get; set; } | |||
/// <summary> | |||
/// 主办单位 | |||
/// </summary> | |||
[Column("ZBDW")] | |||
public string ZBDW { get; set; } | |||
/// <summary> | |||
/// 主办单位级别 | |||
/// </summary> | |||
[Column("ZBDWJB")] | |||
public string ZBDWJB { get; set; } | |||
/// <summary> | |||
/// 活动开始日期 | |||
/// </summary> | |||
[Column("HDKSRQ")] | |||
public string HDKSRQ { get; set; } | |||
/// <summary> | |||
/// 活动结束日期 | |||
/// </summary> | |||
[Column("HDJSRQ")] | |||
public string HDJSRQ { get; set; } | |||
/// <summary> | |||
/// 校方负责人 | |||
/// </summary> | |||
[Column("XFFZR")] | |||
public string XFFZR { get; set; } | |||
/// <summary> | |||
/// 参与教师数 | |||
/// </summary> | |||
[Column("CYJSS")] | |||
public int? CYJSS { get; set; } | |||
/// <summary> | |||
/// 参与学生数 | |||
/// </summary> | |||
[Column("CYXSS")] | |||
public int? CYXSS { get; set; } | |||
/// <summary> | |||
/// 数据采集时间 | |||
/// </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 | |||
} | |||
} | |||
@@ -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-10 11:35 | |||
/// 描 述:参加赛事活动数据表 | |||
/// </summary> | |||
public class ods_cjsxhdsjBLL : ods_cjsxhdsjIBLL | |||
{ | |||
private ods_cjsxhdsjService ods_cjsxhdsjService = new ods_cjsxhdsjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_CJSXHDSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_cjsxhdsjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_CJSXHDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_CJSXHDSJEntity GetODS_CJSXHDSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_cjsxhdsjService.GetODS_CJSXHDSJEntity(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_cjsxhdsjService.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_CJSXHDSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_cjsxhdsjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:35 | |||
/// 描 述:参加赛事活动数据表 | |||
/// </summary> | |||
public interface ods_cjsxhdsjIBLL | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
IEnumerable<ODS_CJSXHDSJEntity> GetPageList(Pagination pagination, string queryJson); | |||
/// <summary> | |||
/// 获取ODS_CJSXHDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
ODS_CJSXHDSJEntity GetODS_CJSXHDSJEntity(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_CJSXHDSJEntity entity); | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,158 @@ | |||
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-10 11:35 | |||
/// 描 述:参加赛事活动数据表 | |||
/// </summary> | |||
public class ods_cjsxhdsjService : RepositoryFactory | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">查询参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_CJSXHDSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
var strSql = new StringBuilder(); | |||
strSql.Append("SELECT "); | |||
strSql.Append(@" | |||
t.GZZYQKSJID, | |||
t.XXJGDM, | |||
t.XXJGMC, | |||
t.HDMC, | |||
t.HDZT, | |||
t.HDXS, | |||
t.HDNR, | |||
t.ZBDW, | |||
t.ZBDWJB, | |||
t.HDKSRQ, | |||
t.HDJSRQ, | |||
t.XFFZR, | |||
t.CYJSS, | |||
t.CYXSS, | |||
t.SJCJSJ | |||
"); | |||
strSql.Append(" FROM ODS_CJSXHDSJ t "); | |||
strSql.Append(" WHERE 1=1 "); | |||
var queryParam = queryJson.ToJObject(); | |||
// 虚拟参数 | |||
var dp = new DynamicParameters(new { }); | |||
return this.BaseRepository("changyang").FindList<ODS_CJSXHDSJEntity>(strSql.ToString(),dp, pagination); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_CJSXHDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_CJSXHDSJEntity GetODS_CJSXHDSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return this.BaseRepository("changyang").FindEntity<ODS_CJSXHDSJEntity>(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_CJSXHDSJEntity>(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_CJSXHDSJEntity 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 | |||
} | |||
} |
@@ -8,7 +8,7 @@ namespace Learun.Application.TwoDevelopment.Changyang_zhdn | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2022-11-09 16:15 | |||
/// 日 期:2022-11-09 16:18 | |||
/// 描 述:党建活动党员大会数据表 | |||
/// </summary> | |||
public class ODS_DJHDDYDHSJEntity | |||
@@ -9,7 +9,7 @@ namespace Learun.Application.TwoDevelopment.Changyang_zhdn | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2022-11-09 16:15 | |||
/// 日 期:2022-11-09 16:18 | |||
/// 描 述:党建活动党员大会数据表 | |||
/// </summary> | |||
public class ods_djhddydhsjBLL : ods_djhddydhsjIBLL | |||
@@ -8,7 +8,7 @@ namespace Learun.Application.TwoDevelopment.Changyang_zhdn | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2022-11-09 16:15 | |||
/// 日 期:2022-11-09 16:18 | |||
/// 描 述:党建活动党员大会数据表 | |||
/// </summary> | |||
public interface ods_djhddydhsjIBLL | |||
@@ -12,7 +12,7 @@ namespace Learun.Application.TwoDevelopment.Changyang_zhdn | |||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||
/// 创 建:超级管理员 | |||
/// 日 期:2022-11-09 16:15 | |||
/// 日 期:2022-11-09 16:18 | |||
/// 描 述:党建活动党员大会数据表 | |||
/// </summary> | |||
public class ods_djhddydhsjService : RepositoryFactory | |||
@@ -0,0 +1,95 @@ | |||
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-10 11:12 | |||
/// 描 述:党建活动党员日常数据表 | |||
/// </summary> | |||
public class ODS_DJHDDYRCSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// 主键数据唯一性标识 | |||
/// </summary> | |||
[Column("GZZYQKSJID")] | |||
public string GZZYQKSJID { get; set; } | |||
/// <summary> | |||
/// 学校机构代码 | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// 学校机构名称 | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// 党组织名称 | |||
/// </summary> | |||
[Column("DZZMC")] | |||
public string DZZMC { get; set; } | |||
/// <summary> | |||
/// 党组织编号 | |||
/// </summary> | |||
[Column("DZZBH")] | |||
public string DZZBH { get; set; } | |||
/// <summary> | |||
/// 活动地点 | |||
/// </summary> | |||
[Column("HDDD")] | |||
public string HDDD { get; set; } | |||
/// <summary> | |||
/// 活动内容 | |||
/// </summary> | |||
[Column("HDNR")] | |||
public string HDNR { get; set; } | |||
/// <summary> | |||
/// 活动开始时间 | |||
/// </summary> | |||
[Column("HDKSSJ")] | |||
public string HDKSSJ { get; set; } | |||
/// <summary> | |||
/// 活动结束时间 | |||
/// </summary> | |||
[Column("HDJSSJ")] | |||
public string HDJSSJ { get; set; } | |||
/// <summary> | |||
/// 参与人数 | |||
/// </summary> | |||
[Column("CYRS")] | |||
public int? CYRS { get; set; } | |||
/// <summary> | |||
/// 数据采集时间 | |||
/// </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 | |||
} | |||
} | |||
@@ -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-10 11:12 | |||
/// 描 述:党建活动党员日常数据表 | |||
/// </summary> | |||
public class ods_djhddyrcsjBLL : ods_djhddyrcsjIBLL | |||
{ | |||
private ods_djhddyrcsjService ods_djhddyrcsjService = new ods_djhddyrcsjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DJHDDYRCSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_djhddyrcsjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DJHDDYRCSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DJHDDYRCSJEntity GetODS_DJHDDYRCSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_djhddyrcsjService.GetODS_DJHDDYRCSJEntity(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_djhddyrcsjService.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_DJHDDYRCSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_djhddyrcsjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:12 | |||
/// 描 述:党建活动党员日常数据表 | |||
/// </summary> | |||
public interface ods_djhddyrcsjIBLL | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
IEnumerable<ODS_DJHDDYRCSJEntity> GetPageList(Pagination pagination, string queryJson); | |||
/// <summary> | |||
/// 获取ODS_DJHDDYRCSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
ODS_DJHDDYRCSJEntity GetODS_DJHDDYRCSJEntity(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_DJHDDYRCSJEntity entity); | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,154 @@ | |||
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-10 11:12 | |||
/// 描 述:党建活动党员日常数据表 | |||
/// </summary> | |||
public class ods_djhddyrcsjService : RepositoryFactory | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">查询参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DJHDDYRCSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
var strSql = new StringBuilder(); | |||
strSql.Append("SELECT "); | |||
strSql.Append(@" | |||
t.GZZYQKSJID, | |||
t.XXJGDM, | |||
t.XXJGMC, | |||
t.DZZMC, | |||
t.DZZBH, | |||
t.HDDD, | |||
t.HDNR, | |||
t.HDKSSJ, | |||
t.HDJSSJ, | |||
t.CYRS, | |||
t.SJCJSJ | |||
"); | |||
strSql.Append(" FROM ODS_DJHDDYRCSJ t "); | |||
strSql.Append(" WHERE 1=1 "); | |||
var queryParam = queryJson.ToJObject(); | |||
// 虚拟参数 | |||
var dp = new DynamicParameters(new { }); | |||
return this.BaseRepository("changyang").FindList<ODS_DJHDDYRCSJEntity>(strSql.ToString(),dp, pagination); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DJHDDYRCSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DJHDDYRCSJEntity GetODS_DJHDDYRCSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return this.BaseRepository("changyang").FindEntity<ODS_DJHDDYRCSJEntity>(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_DJHDDYRCSJEntity>(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_DJHDDYRCSJEntity 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 | |||
} | |||
} |
@@ -0,0 +1,95 @@ | |||
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-10 11:24 | |||
/// 描 述:党建活动党员主题党日数据表 | |||
/// </summary> | |||
public class ODS_DJHDDYZTDRSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// 主键数据唯一性标识 | |||
/// </summary> | |||
[Column("GZZYQKSJID")] | |||
public string GZZYQKSJID { get; set; } | |||
/// <summary> | |||
/// 学校机构代码 | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// 学校机构名称 | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// 党组织名称 | |||
/// </summary> | |||
[Column("DZZMC")] | |||
public string DZZMC { get; set; } | |||
/// <summary> | |||
/// 党组织编号 | |||
/// </summary> | |||
[Column("DZZBH")] | |||
public string DZZBH { get; set; } | |||
/// <summary> | |||
/// 活动地点 | |||
/// </summary> | |||
[Column("HDDD")] | |||
public string HDDD { get; set; } | |||
/// <summary> | |||
/// 活动内容 | |||
/// </summary> | |||
[Column("HDNR")] | |||
public string HDNR { get; set; } | |||
/// <summary> | |||
/// 活动开始时间 | |||
/// </summary> | |||
[Column("HDKSSJ")] | |||
public string HDKSSJ { get; set; } | |||
/// <summary> | |||
/// 活动结束时间 | |||
/// </summary> | |||
[Column("HDJSSJ")] | |||
public string HDJSSJ { get; set; } | |||
/// <summary> | |||
/// 参与人数 | |||
/// </summary> | |||
[Column("CYRS")] | |||
public int? CYRS { get; set; } | |||
/// <summary> | |||
/// 数据采集时间 | |||
/// </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 | |||
} | |||
} | |||
@@ -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-10 11:24 | |||
/// 描 述:党建活动党员主题党日数据表 | |||
/// </summary> | |||
public class ods_djhddyztdrsjBLL : ods_djhddyztdrsjIBLL | |||
{ | |||
private ods_djhddyztdrsjService ods_djhddyztdrsjService = new ods_djhddyztdrsjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DJHDDYZTDRSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_djhddyztdrsjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DJHDDYZTDRSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DJHDDYZTDRSJEntity GetODS_DJHDDYZTDRSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_djhddyztdrsjService.GetODS_DJHDDYZTDRSJEntity(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_djhddyztdrsjService.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_DJHDDYZTDRSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_djhddyztdrsjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:24 | |||
/// 描 述:党建活动党员主题党日数据表 | |||
/// </summary> | |||
public interface ods_djhddyztdrsjIBLL | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
IEnumerable<ODS_DJHDDYZTDRSJEntity> GetPageList(Pagination pagination, string queryJson); | |||
/// <summary> | |||
/// 获取ODS_DJHDDYZTDRSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
ODS_DJHDDYZTDRSJEntity GetODS_DJHDDYZTDRSJEntity(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_DJHDDYZTDRSJEntity entity); | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,154 @@ | |||
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-10 11:24 | |||
/// 描 述:党建活动党员主题党日数据表 | |||
/// </summary> | |||
public class ods_djhddyztdrsjService : RepositoryFactory | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">查询参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DJHDDYZTDRSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
var strSql = new StringBuilder(); | |||
strSql.Append("SELECT "); | |||
strSql.Append(@" | |||
t.GZZYQKSJID, | |||
t.XXJGDM, | |||
t.XXJGMC, | |||
t.DZZMC, | |||
t.DZZBH, | |||
t.HDDD, | |||
t.HDNR, | |||
t.HDKSSJ, | |||
t.HDJSSJ, | |||
t.CYRS, | |||
t.SJCJSJ | |||
"); | |||
strSql.Append(" FROM ODS_DJHDDYZTDRSJ t "); | |||
strSql.Append(" WHERE 1=1 "); | |||
var queryParam = queryJson.ToJObject(); | |||
// 虚拟参数 | |||
var dp = new DynamicParameters(new { }); | |||
return this.BaseRepository("changyang").FindList<ODS_DJHDDYZTDRSJEntity>(strSql.ToString(),dp, pagination); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DJHDDYZTDRSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DJHDDYZTDRSJEntity GetODS_DJHDDYZTDRSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return this.BaseRepository("changyang").FindEntity<ODS_DJHDDYZTDRSJEntity>(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_DJHDDYZTDRSJEntity>(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_DJHDDYZTDRSJEntity 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 | |||
} | |||
} |
@@ -0,0 +1,130 @@ | |||
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-10 11:55 | |||
/// 描 述:德育活动数据表 | |||
/// </summary> | |||
public class ODS_DYHDSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// 主键数据唯一性标识 | |||
/// </summary> | |||
[Column("GZZYQKSJID")] | |||
public string GZZYQKSJID { get; set; } | |||
/// <summary> | |||
/// 学校机构代码 | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// 学校机构名称 | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// 活动名称 | |||
/// </summary> | |||
[Column("HDMC")] | |||
public string HDMC { get; set; } | |||
/// <summary> | |||
/// 所属专题 | |||
/// </summary> | |||
[Column("SSZT")] | |||
public string SSZT { get; set; } | |||
/// <summary> | |||
/// 活动版块 | |||
/// </summary> | |||
[Column("HDBK")] | |||
public string HDBK { get; set; } | |||
/// <summary> | |||
/// 活动主题 | |||
/// </summary> | |||
[Column("HDZT")] | |||
public string HDZT { get; set; } | |||
/// <summary> | |||
/// 活动类型 | |||
/// </summary> | |||
[Column("HDLX")] | |||
public string HDLX { get; set; } | |||
/// <summary> | |||
/// 活动内容 | |||
/// </summary> | |||
[Column("HDNR")] | |||
public string HDNR { get; set; } | |||
/// <summary> | |||
/// 主办单位 | |||
/// </summary> | |||
[Column("ZBDW")] | |||
public string ZBDW { get; set; } | |||
/// <summary> | |||
/// 主办单位级别 | |||
/// </summary> | |||
[Column("ZBDWJB")] | |||
public string ZBDWJB { get; set; } | |||
/// <summary> | |||
/// 活动开始日期 | |||
/// </summary> | |||
[Column("HDKSRQ")] | |||
public string HDKSRQ { get; set; } | |||
/// <summary> | |||
/// 活动结束日期 | |||
/// </summary> | |||
[Column("HDJSRQ")] | |||
public string HDJSRQ { get; set; } | |||
/// <summary> | |||
/// 校方负责人 | |||
/// </summary> | |||
[Column("XFFZR")] | |||
public string XFFZR { get; set; } | |||
/// <summary> | |||
/// 参与班级数 | |||
/// </summary> | |||
[Column("CYBJS")] | |||
public string CYBJS { get; set; } | |||
/// <summary> | |||
/// 参与教师数 | |||
/// </summary> | |||
[Column("CYJSS")] | |||
public string CYJSS { get; set; } | |||
/// <summary> | |||
/// 参与学生数 | |||
/// </summary> | |||
[Column("CYXSS")] | |||
public string CYXSS { get; set; } | |||
/// <summary> | |||
/// 数据采集时间 | |||
/// </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 | |||
} | |||
} | |||
@@ -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-10 11:55 | |||
/// 描 述:德育活动数据表 | |||
/// </summary> | |||
public class ods_dyhdsjBLL : ods_dyhdsjIBLL | |||
{ | |||
private ods_dyhdsjService ods_dyhdsjService = new ods_dyhdsjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DYHDSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_dyhdsjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DYHDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DYHDSJEntity GetODS_DYHDSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_dyhdsjService.GetODS_DYHDSJEntity(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_dyhdsjService.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_DYHDSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_dyhdsjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:55 | |||
/// 描 述:德育活动数据表 | |||
/// </summary> | |||
public interface ods_dyhdsjIBLL | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
IEnumerable<ODS_DYHDSJEntity> GetPageList(Pagination pagination, string queryJson); | |||
/// <summary> | |||
/// 获取ODS_DYHDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
ODS_DYHDSJEntity GetODS_DYHDSJEntity(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_DYHDSJEntity entity); | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,161 @@ | |||
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-10 11:55 | |||
/// 描 述:德育活动数据表 | |||
/// </summary> | |||
public class ods_dyhdsjService : RepositoryFactory | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">查询参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DYHDSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
var strSql = new StringBuilder(); | |||
strSql.Append("SELECT "); | |||
strSql.Append(@" | |||
t.GZZYQKSJID, | |||
t.XXJGDM, | |||
t.XXJGMC, | |||
t.HDMC, | |||
t.SSZT, | |||
t.HDBK, | |||
t.HDZT, | |||
t.HDLX, | |||
t.HDNR, | |||
t.ZBDW, | |||
t.ZBDWJB, | |||
t.HDKSRQ, | |||
t.HDJSRQ, | |||
t.XFFZR, | |||
t.CYBJS, | |||
t.CYJSS, | |||
t.CYXSS, | |||
t.SJCJSJ | |||
"); | |||
strSql.Append(" FROM ODS_DYHDSJ t "); | |||
strSql.Append(" WHERE 1=1 "); | |||
var queryParam = queryJson.ToJObject(); | |||
// 虚拟参数 | |||
var dp = new DynamicParameters(new { }); | |||
return this.BaseRepository("changyang").FindList<ODS_DYHDSJEntity>(strSql.ToString(),dp, pagination); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DYHDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DYHDSJEntity GetODS_DYHDSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return this.BaseRepository("changyang").FindEntity<ODS_DYHDSJEntity>(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_DYHDSJEntity>(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_DYHDSJEntity 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 | |||
} | |||
} |
@@ -0,0 +1,100 @@ | |||
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-10 14:24 | |||
/// 描 述:党组织情况基础数据表 | |||
/// </summary> | |||
public class ODS_DZZQKJCSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// GZZYQKSJID | |||
/// </summary> | |||
[Column("GZZYQKSJID")] | |||
public string GZZYQKSJID { get; set; } | |||
/// <summary> | |||
/// 学校机构代码 | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// 学校机构名称 | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// 党组织类型 | |||
/// </summary> | |||
[Column("DZZLX")] | |||
public string DZZLX { get; set; } | |||
/// <summary> | |||
/// 党组织名称 | |||
/// </summary> | |||
[Column("DZZMC")] | |||
public string DZZMC { get; set; } | |||
/// <summary> | |||
/// 党组织编号 | |||
/// </summary> | |||
[Column("DZZBH")] | |||
public string DZZBH { get; set; } | |||
/// <summary> | |||
/// 隶属上级党组织 | |||
/// </summary> | |||
[Column("SJDZZ")] | |||
public string SJDZZ { get; set; } | |||
/// <summary> | |||
/// 党内领导姓名 | |||
/// </summary> | |||
[Column("DNLDXM")] | |||
public string DNLDXM { get; set; } | |||
/// <summary> | |||
/// 党内领导教工号 | |||
/// </summary> | |||
[Column("DNLDJGH")] | |||
public string DNLDJGH { get; set; } | |||
/// <summary> | |||
/// 党内领导职务 | |||
/// </summary> | |||
[Column("DNLDZW")] | |||
public string DNLDZW { get; set; } | |||
/// <summary> | |||
/// 党组织党员人数 | |||
/// </summary> | |||
[Column("DZZDYRS")] | |||
public int? DZZDYRS { get; set; } | |||
/// <summary> | |||
/// 数据采集时间 | |||
/// </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 | |||
} | |||
} | |||
@@ -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-10 14:24 | |||
/// 描 述:党组织情况基础数据表 | |||
/// </summary> | |||
public class ods_dzzqkjcsjBLL : ods_dzzqkjcsjIBLL | |||
{ | |||
private ods_dzzqkjcsjService ods_dzzqkjcsjService = new ods_dzzqkjcsjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DZZQKJCSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_dzzqkjcsjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DZZQKJCSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DZZQKJCSJEntity GetODS_DZZQKJCSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_dzzqkjcsjService.GetODS_DZZQKJCSJEntity(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_dzzqkjcsjService.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_DZZQKJCSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_dzzqkjcsjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 14:24 | |||
/// 描 述:党组织情况基础数据表 | |||
/// </summary> | |||
public interface ods_dzzqkjcsjIBLL | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
IEnumerable<ODS_DZZQKJCSJEntity> GetPageList(Pagination pagination, string queryJson); | |||
/// <summary> | |||
/// 获取ODS_DZZQKJCSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
ODS_DZZQKJCSJEntity GetODS_DZZQKJCSJEntity(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_DZZQKJCSJEntity entity); | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,155 @@ | |||
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-10 14:24 | |||
/// 描 述:党组织情况基础数据表 | |||
/// </summary> | |||
public class ods_dzzqkjcsjService : RepositoryFactory | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">查询参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_DZZQKJCSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
var strSql = new StringBuilder(); | |||
strSql.Append("SELECT "); | |||
strSql.Append(@" | |||
t.GZZYQKSJID, | |||
t.XXJGDM, | |||
t.XXJGMC, | |||
t.DZZLX, | |||
t.DZZMC, | |||
t.DZZBH, | |||
t.SJDZZ, | |||
t.DNLDXM, | |||
t.DNLDJGH, | |||
t.DNLDZW, | |||
t.DZZDYRS, | |||
t.SJCJSJ | |||
"); | |||
strSql.Append(" FROM ODS_DZZQKJCSJ t "); | |||
strSql.Append(" WHERE 1=1 "); | |||
var queryParam = queryJson.ToJObject(); | |||
// 虚拟参数 | |||
var dp = new DynamicParameters(new { }); | |||
return this.BaseRepository("changyang").FindList<ODS_DZZQKJCSJEntity>(strSql.ToString(),dp, pagination); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_DZZQKJCSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_DZZQKJCSJEntity GetODS_DZZQKJCSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return this.BaseRepository("changyang").FindEntity<ODS_DZZQKJCSJEntity>(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_DZZQKJCSJEntity>(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_DZZQKJCSJEntity 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 | |||
} | |||
} |
@@ -0,0 +1,130 @@ | |||
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-10 11:51 | |||
/// 描 述:教材选用数据表 | |||
/// </summary> | |||
public class ODS_JCXYSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// GZZYQKSJID | |||
/// </summary> | |||
[Column("GZZYQKSJID")] | |||
public string GZZYQKSJID { get; set; } | |||
/// <summary> | |||
/// 学校机构代码 | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// 学校机构名称 | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// 教材名称 | |||
/// </summary> | |||
[Column("JCMC")] | |||
public string JCMC { get; set; } | |||
/// <summary> | |||
/// 教材编号 | |||
/// </summary> | |||
[Column("JCBH")] | |||
public string JCBH { get; set; } | |||
/// <summary> | |||
/// 教材性质 | |||
/// </summary> | |||
[Column("JCXZ")] | |||
public string JCXZ { get; set; } | |||
/// <summary> | |||
/// ISBN号 | |||
/// </summary> | |||
[Column("ISBN")] | |||
public string ISBN { get; set; } | |||
/// <summary> | |||
/// 作者 | |||
/// </summary> | |||
[Column("ZZXM")] | |||
public string ZZXM { get; set; } | |||
/// <summary> | |||
/// 出版日期 | |||
/// </summary> | |||
[Column("CBRQ")] | |||
public string CBRQ { get; set; } | |||
/// <summary> | |||
/// 出版社 | |||
/// </summary> | |||
[Column("CBS")] | |||
public string CBS { get; set; } | |||
/// <summary> | |||
/// 适用层次 | |||
/// </summary> | |||
[Column("SYCC")] | |||
public string SYCC { get; set; } | |||
/// <summary> | |||
/// 价格(元) | |||
/// </summary> | |||
[Column("JG")] | |||
public string JG { get; set; } | |||
/// <summary> | |||
/// 版次 | |||
/// </summary> | |||
[Column("BC")] | |||
public int? BC { get; set; } | |||
/// <summary> | |||
/// 印次 | |||
/// </summary> | |||
[Column("YC")] | |||
public int? YC { get; set; } | |||
/// <summary> | |||
/// 是否有练习册 | |||
/// </summary> | |||
[Column("SFYLXC")] | |||
public string SFYLXC { get; set; } | |||
/// <summary> | |||
/// 是否有教参教辅 | |||
/// </summary> | |||
[Column("SFYJCJF")] | |||
public string SFYJCJF { get; set; } | |||
/// <summary> | |||
/// 获奖情况 | |||
/// </summary> | |||
[Column("HJQK")] | |||
public string HJQK { get; set; } | |||
/// <summary> | |||
/// 数据采集时间 | |||
/// </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 | |||
} | |||
} | |||
@@ -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-10 11:51 | |||
/// 描 述:教材选用数据表 | |||
/// </summary> | |||
public class ods_jcxysjBLL : ods_jcxysjIBLL | |||
{ | |||
private ods_jcxysjService ods_jcxysjService = new ods_jcxysjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_JCXYSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_jcxysjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_JCXYSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_JCXYSJEntity GetODS_JCXYSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_jcxysjService.GetODS_JCXYSJEntity(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_jcxysjService.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_JCXYSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_jcxysjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:51 | |||
/// 描 述:教材选用数据表 | |||
/// </summary> | |||
public interface ods_jcxysjIBLL | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
IEnumerable<ODS_JCXYSJEntity> GetPageList(Pagination pagination, string queryJson); | |||
/// <summary> | |||
/// 获取ODS_JCXYSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
ODS_JCXYSJEntity GetODS_JCXYSJEntity(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_JCXYSJEntity entity); | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,161 @@ | |||
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-10 11:51 | |||
/// 描 述:教材选用数据表 | |||
/// </summary> | |||
public class ods_jcxysjService : RepositoryFactory | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">查询参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_JCXYSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
var strSql = new StringBuilder(); | |||
strSql.Append("SELECT "); | |||
strSql.Append(@" | |||
t.GZZYQKSJID, | |||
t.XXJGDM, | |||
t.XXJGMC, | |||
t.JCMC, | |||
t.JCBH, | |||
t.JCXZ, | |||
t.ISBN, | |||
t.ZZXM, | |||
t.CBRQ, | |||
t.CBS, | |||
t.SYCC, | |||
t.JG, | |||
t.BC, | |||
t.YC, | |||
t.SFYLXC, | |||
t.SFYJCJF, | |||
t.HJQK, | |||
t.SJCJSJ | |||
"); | |||
strSql.Append(" FROM ODS_JCXYSJ t "); | |||
strSql.Append(" WHERE 1=1 "); | |||
var queryParam = queryJson.ToJObject(); | |||
// 虚拟参数 | |||
var dp = new DynamicParameters(new { }); | |||
return this.BaseRepository("changyang").FindList<ODS_JCXYSJEntity>(strSql.ToString(),dp, pagination); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_JCXYSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_JCXYSJEntity GetODS_JCXYSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return this.BaseRepository("changyang").FindEntity<ODS_JCXYSJEntity>(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_JCXYSJEntity>(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_JCXYSJEntity 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 | |||
} | |||
} |
@@ -0,0 +1,155 @@ | |||
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-10 11:36 | |||
/// 描 述:校外实训基地数据表 | |||
/// </summary> | |||
public class ODS_XWSXJDSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// GZZYQKSJID | |||
/// </summary> | |||
[Column("GZZYQKSJID")] | |||
public string GZZYQKSJID { get; set; } | |||
/// <summary> | |||
/// 学校机构代码 | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// 学校机构名称 | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// 实习实训基地号 | |||
/// </summary> | |||
[Column("SXSXJDH")] | |||
public string SXSXJDH { get; set; } | |||
/// <summary> | |||
/// 实习实训基地名称 | |||
/// </summary> | |||
[Column("SXSXJDMC")] | |||
public string SXSXJDMC { get; set; } | |||
/// <summary> | |||
/// 依托单位名称 | |||
/// </summary> | |||
[Column("YTDWMC")] | |||
public string YTDWMC { get; set; } | |||
/// <summary> | |||
/// 依托单位性质 | |||
/// </summary> | |||
[Column("YTDWXZ")] | |||
public string YTDWXZ { get; set; } | |||
/// <summary> | |||
/// 单位组织机构代码 | |||
/// </summary> | |||
[Column("DWZZJGDM")] | |||
public string DWZZJGDM { get; set; } | |||
/// <summary> | |||
/// 在岗职工总数 | |||
/// </summary> | |||
[Column("ZGZGZS")] | |||
public int? ZGZGZS { get; set; } | |||
/// <summary> | |||
/// 所在区域 | |||
/// </summary> | |||
[Column("SZQY")] | |||
public string SZQY { get; set; } | |||
/// <summary> | |||
/// 详细地址 | |||
/// </summary> | |||
[Column("XXDZ")] | |||
public string XXDZ { get; set; } | |||
/// <summary> | |||
/// 基地联系人姓名 | |||
/// </summary> | |||
[Column("JDLXRXM")] | |||
public string JDLXRXM { get; set; } | |||
/// <summary> | |||
/// 联系人电话 | |||
/// </summary> | |||
[Column("LXRDH")] | |||
public int? LXRDH { get; set; } | |||
/// <summary> | |||
/// 联系人邮箱 | |||
/// </summary> | |||
[Column("LXRYX")] | |||
public int? LXRYX { get; set; } | |||
/// <summary> | |||
/// 基地成立年月 | |||
/// </summary> | |||
[Column("JDCLNY")] | |||
public string JDCLNY { get; set; } | |||
/// <summary> | |||
/// 所属行业 | |||
/// </summary> | |||
[Column("SSHY")] | |||
public string SSHY { get; set; } | |||
/// <summary> | |||
/// 所属产业 | |||
/// </summary> | |||
[Column("SSCY")] | |||
public string SSCY { get; set; } | |||
/// <summary> | |||
/// 面向专业 | |||
/// </summary> | |||
[Column("MXZY")] | |||
public string MXZY { get; set; } | |||
/// <summary> | |||
/// 合作开始时间 | |||
/// </summary> | |||
[Column("HZKSSJ")] | |||
public string HZKSSJ { get; set; } | |||
/// <summary> | |||
/// 合作结束时间 | |||
/// </summary> | |||
[Column("HZJSSJ")] | |||
public string HZJSSJ { get; set; } | |||
/// <summary> | |||
/// 合作协议签署状态 | |||
/// </summary> | |||
[Column("HZXYQSZT")] | |||
public string HZXYQSZT { get; set; } | |||
/// <summary> | |||
/// 合作状态 | |||
/// </summary> | |||
[Column("HZZT")] | |||
public string HZZT { get; set; } | |||
/// <summary> | |||
/// 数据采集时间 | |||
/// </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 | |||
} | |||
} | |||
@@ -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-10 11:36 | |||
/// 描 述:校外实训基地数据表 | |||
/// </summary> | |||
public class ods_xwsxjdsjBLL : ods_xwsxjdsjIBLL | |||
{ | |||
private ods_xwsxjdsjService ods_xwsxjdsjService = new ods_xwsxjdsjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_XWSXJDSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_xwsxjdsjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_XWSXJDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_XWSXJDSJEntity GetODS_XWSXJDSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_xwsxjdsjService.GetODS_XWSXJDSJEntity(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_xwsxjdsjService.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_XWSXJDSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_xwsxjdsjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |
@@ -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-10 11:36 | |||
/// 描 述:校外实训基地数据表 | |||
/// </summary> | |||
public interface ods_xwsxjdsjIBLL | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
IEnumerable<ODS_XWSXJDSJEntity> GetPageList(Pagination pagination, string queryJson); | |||
/// <summary> | |||
/// 获取ODS_XWSXJDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
ODS_XWSXJDSJEntity GetODS_XWSXJDSJEntity(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_XWSXJDSJEntity entity); | |||
#endregion | |||
} | |||
} |
@@ -0,0 +1,166 @@ | |||
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-10 11:36 | |||
/// 描 述:校外实训基地数据表 | |||
/// </summary> | |||
public class ods_xwsxjdsjService : RepositoryFactory | |||
{ | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">查询参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_XWSXJDSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
var strSql = new StringBuilder(); | |||
strSql.Append("SELECT "); | |||
strSql.Append(@" | |||
t.GZZYQKSJID, | |||
t.XXJGDM, | |||
t.XXJGMC, | |||
t.SXSXJDH, | |||
t.SXSXJDMC, | |||
t.YTDWMC, | |||
t.YTDWXZ, | |||
t.DWZZJGDM, | |||
t.ZGZGZS, | |||
t.SZQY, | |||
t.XXDZ, | |||
t.JDLXRXM, | |||
t.LXRDH, | |||
t.LXRYX, | |||
t.JDCLNY, | |||
t.SSHY, | |||
t.SSCY, | |||
t.MXZY, | |||
t.HZKSSJ, | |||
t.HZJSSJ, | |||
t.HZXYQSZT, | |||
t.HZZT, | |||
t.SJCJSJ | |||
"); | |||
strSql.Append(" FROM ODS_XWSXJDSJ t "); | |||
strSql.Append(" WHERE 1=1 "); | |||
var queryParam = queryJson.ToJObject(); | |||
// 虚拟参数 | |||
var dp = new DynamicParameters(new { }); | |||
return this.BaseRepository("changyang").FindList<ODS_XWSXJDSJEntity>(strSql.ToString(),dp, pagination); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowServiceException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_XWSXJDSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_XWSXJDSJEntity GetODS_XWSXJDSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return this.BaseRepository("changyang").FindEntity<ODS_XWSXJDSJEntity>(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_XWSXJDSJEntity>(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_XWSXJDSJEntity 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 | |||
} | |||
} |
@@ -0,0 +1,90 @@ | |||
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-10 10:28 | |||
/// 描 述:中职毕业去向【未就业】数据表 | |||
/// </summary> | |||
public class ODS_ZZBYQXWJYSJEntity | |||
{ | |||
#region 实体成员 | |||
/// <summary> | |||
/// ZZSXJYSJID | |||
/// </summary> | |||
[Column("ZZSXJYSJID")] | |||
public string ZZSXJYSJID { get; set; } | |||
/// <summary> | |||
/// XXJGDM | |||
/// </summary> | |||
[Column("XXJGDM")] | |||
public string XXJGDM { get; set; } | |||
/// <summary> | |||
/// XXJGMC | |||
/// </summary> | |||
[Column("XXJGMC")] | |||
public string XXJGMC { get; set; } | |||
/// <summary> | |||
/// XH | |||
/// </summary> | |||
[Column("XH")] | |||
public string XH { get; set; } | |||
/// <summary> | |||
/// XM | |||
/// </summary> | |||
[Column("XM")] | |||
public string XM { get; set; } | |||
/// <summary> | |||
/// ZYMC | |||
/// </summary> | |||
[Column("ZYMC")] | |||
public string ZYMC { get; set; } | |||
/// <summary> | |||
/// BJMC | |||
/// </summary> | |||
[Column("BJMC")] | |||
public string BJMC { get; set; } | |||
/// <summary> | |||
/// SFZH | |||
/// </summary> | |||
[Column("SFZH")] | |||
public string SFZH { get; set; } | |||
/// <summary> | |||
/// WJYLX | |||
/// </summary> | |||
[Column("WJYLX")] | |||
public string WJYLX { get; set; } | |||
/// <summary> | |||
/// SJCJSJ | |||
/// </summary> | |||
[Column("SJCJSJ")] | |||
public string SJCJSJ { get; set; } | |||
#endregion | |||
#region 扩展操作 | |||
/// <summary> | |||
/// 新增调用 | |||
/// </summary> | |||
public void Create() | |||
{ | |||
this.ZZSXJYSJID = Guid.NewGuid().ToString(); | |||
} | |||
/// <summary> | |||
/// 编辑调用 | |||
/// </summary> | |||
/// <param name="keyValue"></param> | |||
public void Modify(string keyValue) | |||
{ | |||
this.ZZSXJYSJID = keyValue; | |||
} | |||
#endregion | |||
#region 扩展字段 | |||
#endregion | |||
} | |||
} | |||
@@ -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-10 10:28 | |||
/// 描 述:中职毕业去向【未就业】数据表 | |||
/// </summary> | |||
public class ods_zzbyqxwjysjBLL : ods_zzbyqxwjysjIBLL | |||
{ | |||
private ods_zzbyqxwjysjService ods_zzbyqxwjysjService = new ods_zzbyqxwjysjService(); | |||
#region 获取数据 | |||
/// <summary> | |||
/// 获取页面显示列表数据 | |||
/// </summary> | |||
/// <param name="pagination">分页参数</param> | |||
/// <param name="queryJson">查询参数</param> | |||
/// <returns></returns> | |||
public IEnumerable<ODS_ZZBYQXWJYSJEntity> GetPageList(Pagination pagination, string queryJson) | |||
{ | |||
try | |||
{ | |||
return ods_zzbyqxwjysjService.GetPageList(pagination, queryJson); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
/// <summary> | |||
/// 获取ODS_ZZBYQXWJYSJ表实体数据 | |||
/// </summary> | |||
/// <param name="keyValue">主键</param> | |||
/// <returns></returns> | |||
public ODS_ZZBYQXWJYSJEntity GetODS_ZZBYQXWJYSJEntity(string keyValue) | |||
{ | |||
try | |||
{ | |||
return ods_zzbyqxwjysjService.GetODS_ZZBYQXWJYSJEntity(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_zzbyqxwjysjService.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_ZZBYQXWJYSJEntity entity) | |||
{ | |||
try | |||
{ | |||
ods_zzbyqxwjysjService.SaveEntity(keyValue, entity); | |||
} | |||
catch (Exception ex) | |||
{ | |||
if (ex is ExceptionEx) | |||
{ | |||
throw; | |||
} | |||
else | |||
{ | |||
throw ExceptionEx.ThrowBusinessException(ex); | |||
} | |||
} | |||
} | |||
#endregion | |||
} | |||
} |