瀏覽代碼

Changyang_zhdn

长阳分支推送专用
lifeng 2 年之前
父節點
當前提交
d4e6bb87b0
共有 15 個檔案被更改,包括 62 行新增801 行删除
  1. +24
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Changyang_zhdnAreaRegistration.cs
  2. +35
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/web.config
  3. +0
    -117
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/ods_zzxxgkjcsjController.cs
  4. +0
    -15
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Form.cshtml
  5. +0
    -51
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Form.js
  6. +0
    -26
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Index.cshtml
  7. +0
    -94
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Index.js
  8. +3
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  9. +0
    -29
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/LR_Desktop/ODS_ZZXXGKJCSJMap.cs
  10. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj
  11. +0
    -140
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ODS_ZZXXGKJCSJEntity.cs
  12. +0
    -125
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ods_zzxxgkjcsjBLL.cs
  13. +0
    -48
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ods_zzxxgkjcsjIBLL.cs
  14. +0
    -146
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ods_zzxxgkjcsjService.cs
  15. +0
    -4
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj

+ 24
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Changyang_zhdnAreaRegistration.cs 查看文件

@@ -0,0 +1,24 @@
using System.Web.Mvc;

namespace Learun.Application.Web.Areas.Changyang_zhdn
{
public class Changyang_zhdnAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Changyang_zhdn";
}
}

public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"Changyang_zhdn_default",
"Changyang_zhdn/{controller}/{action}/{id}",
new { action = "Index", id = UrlParameter.Optional }
);
}
}
}

+ 35
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Changyang_zhdn/Views/web.config 查看文件

@@ -0,0 +1,35 @@
<?xml version="1.0"?>

<configuration>
<configSections>
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
</sectionGroup>
</configSections>

<system.web.webPages.razor>
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.4.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<pages pageBaseType="System.Web.Mvc.WebViewPage">
<namespaces>
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="Learun.Application.Web" />
</namespaces>
</pages>
</system.web.webPages.razor>

<appSettings>
<add key="webpages:Enabled" value="false" />
</appSettings>

<system.webServer>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
</handlers>
</system.webServer>
</configuration>

+ 0
- 117
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/ods_zzxxgkjcsjController.cs 查看文件

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

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

#region 视图功能

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

#region 获取数据

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

#region 提交数据

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

}
}

+ 0
- 15
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Form.cshtml 查看文件

@@ -1,15 +0,0 @@
@{
ViewBag.Title = "中职学校概况基础数据表";
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">省机构编码</div>
<input id="PROVINCEJGBM" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="ODS_ZZXXGKJCSJ" >
<div class="lr-form-item-title">下拉框</div>
<div id="XXLB" ></div>
</div>
</div>
@Html.AppendJsFile("/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Form.js")

+ 0
- 51
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Form.js 查看文件

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

+ 0
- 26
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Index.cshtml 查看文件

@@ -1,26 +0,0 @@
@{
ViewBag.Title = "中职学校概况基础数据表";
Layout = "~/Views/Shared/_Index.cshtml";
}
<div class="lr-layout " >
<div class="lr-layout-center">
<div class="lr-layout-wrap lr-layout-wrap-notitle ">
<div class="lr-layout-tool">
<div class="lr-layout-tool-left">
</div>
<div class="lr-layout-tool-right">
<div class=" btn-group btn-group-sm">
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;新增</a>
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>
</div>
</div>
</div>
@Html.AppendJsFile("/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Index.js")

+ 0
- 94
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/ods_zzxxgkjcsj/Index.js 查看文件

@@ -1,94 +0,0 @@
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn)
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司
* 创建人:超级管理员
* 日 期:2022-11-09 10:20
* 描 述:中职学校概况基础数据表
*/
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 + '/LR_Desktop/ods_zzxxgkjcsj/Form',
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
});
// 编辑
$('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('XYGKJCSJID');
if (learun.checkrow(keyValue)) {
learun.layerForm({
id: 'form',
title: '编辑',
url: top.$.rootUrl + '/LR_Desktop/ods_zzxxgkjcsj/Form?keyValue=' + keyValue,
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}
});
}
});
// 删除
$('#lr_delete').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('XYGKJCSJID');
if (learun.checkrow(keyValue)) {
learun.layerConfirm('是否确认删除该项!', function (res) {
if (res) {
learun.deleteForm(top.$.rootUrl + '/LR_Desktop/ods_zzxxgkjcsj/DeleteForm', { keyValue: keyValue}, function () {
refreshGirdData();
});
}
});
}
});
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/LR_Desktop/ods_zzxxgkjcsj/GetPageList',
headData: [
{ label: "省机构编码", name: "PROVINCEJGBM", width: 100, align: "left"},
{ label: "下拉框", name: "XXLB", width: 100, align: "left",
formatterAsync: function (callback, value, row, op,$cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'xxlbdm',
callback: function (_data) {
callback(_data.text);
}
});
}},
],
mainId:'XYGKJCSJID',
isPage: true
});
page.search();
},
search: function (param) {
param = param || {};
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) });
}
};
refreshGirdData = function () {
$('#gridtable').jfGridSet('reload');
};
page.init();
}

+ 3
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj 查看文件

@@ -313,6 +313,7 @@
<Compile Include="Areas\AssetManagementSystem\Controllers\Ass_SupplierController.cs" />
<Compile Include="Areas\AssetManagementSystem\Controllers\Ass_UserChangeInfoController.cs" />
<Compile Include="Areas\AssetManagementSystem\Controllers\Ass_WarningController.cs" />
<Compile Include="Areas\Changyang_zhdn\Changyang_zhdnAreaRegistration.cs" />
<Compile Include="Areas\EducationalAdministration\Controllers\ArrangeExamTermNewController.cs" />
<Compile Include="Areas\EducationalAdministration\Controllers\ArrangeLessonSyncController.cs" />
<Compile Include="Areas\EducationalAdministration\Controllers\ArrangeLessonTermAttemperController.cs" />
@@ -875,7 +876,6 @@
<Compile Include="Areas\EducationalAdministration\Controllers\TE_MaterialOutboundController.cs" />
<Compile Include="Areas\EducationalAdministration\Controllers\ScoreCheckInfoController.cs" />
<Compile Include="Areas\EducationalAdministration\Controllers\WelfarePositionController.cs" />
<Compile Include="Areas\LR_Desktop\Controllers\ods_zzxxgkjcsjController.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" />
@@ -1269,6 +1269,7 @@
<Content Include="Areas\EducationalAdministration\Views\PM_YearAssess\StatisticIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Ououtsourcing\Form.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Ououtsourcing\Index.cshtml" />
<Content Include="Areas\Changyang_zhdn\Views\web.config" />
<None Include="Areas\EducationalAdministration\Views\StuInfoBasic\Printxjk.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\AllocationClassDC.js" />
<Content Include="Areas\EducationalAdministration\Views\StuInfoFresh\StatisticClassIndex.js" />
@@ -6938,12 +6939,9 @@
<Content Include="Areas\EducationalAdministration\Views\WelfarePosition\Index.js" />
<Content Include="Areas\EducationalAdministration\Views\WelfarePosition\Form.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\WelfarePosition\Form.js" />
<Content Include="Areas\LR_Desktop\Views\ods_zzxxgkjcsj\Index.cshtml" />
<Content Include="Areas\LR_Desktop\Views\ods_zzxxgkjcsj\Index.js" />
<Content Include="Areas\LR_Desktop\Views\ods_zzxxgkjcsj\Form.cshtml" />
<Content Include="Areas\LR_Desktop\Views\ods_zzxxgkjcsj\Form.js" />
</ItemGroup>
<ItemGroup>
<Folder Include="Areas\Changyang_zhdn\Controllers\" />
<Folder Include="Areas\EducationalAdministration\Views\OpenLessonPlanOfElectivePre\" />
<Folder Include="Areas\LR_Desktop\Models\" />
<Folder Include="Areas\LR_Desktop\Views\Shared\" />


+ 0
- 29
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/LR_Desktop/ODS_ZZXXGKJCSJMap.cs 查看文件

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

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

#region 配置关系
#endregion
}
}
}


+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/Learun.Application.Mapping.csproj 查看文件

@@ -635,7 +635,6 @@
<Compile Include="EducationalAdministration\TE_MaterialOutboundMap.cs" />
<Compile Include="EducationalAdministration\ScoreCheckInfoMap.cs" />
<Compile Include="EducationalAdministration\WelfarePositionMap.cs" />
<Compile Include="LR_Desktop\ODS_ZZXXGKJCSJMap.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj">


+ 0
- 140
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ODS_ZZXXGKJCSJEntity.cs 查看文件

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

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

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


+ 0
- 125
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ods_zzxxgkjcsjBLL.cs 查看文件

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

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

#region 获取数据

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

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

#endregion

#region 提交数据

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

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

#endregion

}
}

+ 0
- 48
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ods_zzxxgkjcsjIBLL.cs 查看文件

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

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

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

#region 提交数据

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

}
}

+ 0
- 146
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/ods_zzxxgkjcsj/ods_zzxxgkjcsjService.cs 查看文件

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

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

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

#endregion

#region 提交数据

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

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

#endregion

}
}

+ 0
- 4
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Learun.Application.TwoDevelopment.csproj 查看文件

@@ -1963,10 +1963,6 @@
<Compile Include="EducationalAdministration\WelfarePosition\WelfarePositionService.cs" />
<Compile Include="EducationalAdministration\WelfarePosition\WelfarePositionIBLL.cs" />
<Compile Include="EducationalAdministration\WelfarePosition\WelfarePositionBLL.cs" />
<Compile Include="LR_Desktop\ods_zzxxgkjcsj\ODS_ZZXXGKJCSJEntity.cs" />
<Compile Include="LR_Desktop\ods_zzxxgkjcsj\ods_zzxxgkjcsjService.cs" />
<Compile Include="LR_Desktop\ods_zzxxgkjcsj\ods_zzxxgkjcsjBLL.cs" />
<Compile Include="LR_Desktop\ods_zzxxgkjcsj\ods_zzxxgkjcsjIBLL.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj">


Loading…
取消
儲存