@@ -0,0 +1,117 @@ | |||||
using Learun.Util; | |||||
using System.Data; | |||||
using Learun.Application.TwoDevelopment.CustomFunction; | |||||
using System.Web.Mvc; | |||||
using System.Collections.Generic; | |||||
namespace Learun.Application.Web.Areas.CustomFunction.Controllers | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:13 | |||||
/// 描 述:车辆编制信息 | |||||
/// </summary> | |||||
public class VehicleFormationController : MvcControllerBase | |||||
{ | |||||
private VehicleFormationIBLL vehicleFormationIBLL = new VehicleFormationBLL(); | |||||
#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 = vehicleFormationIBLL.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 VehicleFormationData = vehicleFormationIBLL.GetVehicleFormationEntity( keyValue ); | |||||
var jsonData = new { | |||||
VehicleFormation = VehicleFormationData, | |||||
}; | |||||
return Success(jsonData); | |||||
} | |||||
#endregion | |||||
#region 提交数据 | |||||
/// <summary> | |||||
/// 删除实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
[HttpPost] | |||||
[AjaxOnly] | |||||
public ActionResult DeleteForm(string keyValue) | |||||
{ | |||||
vehicleFormationIBLL.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) | |||||
{ | |||||
VehicleFormationEntity entity = strEntity.ToObject<VehicleFormationEntity>(); | |||||
vehicleFormationIBLL.SaveEntity(keyValue,entity); | |||||
if (string.IsNullOrEmpty(keyValue)) | |||||
{ | |||||
} | |||||
return Success("保存成功!"); | |||||
} | |||||
#endregion | |||||
} | |||||
} |
@@ -0,0 +1,117 @@ | |||||
using Learun.Util; | |||||
using System.Data; | |||||
using Learun.Application.TwoDevelopment.CustomFunction; | |||||
using System.Web.Mvc; | |||||
using System.Collections.Generic; | |||||
namespace Learun.Application.Web.Areas.CustomFunction.Controllers | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:32 | |||||
/// 描 述:车辆信息管理 | |||||
/// </summary> | |||||
public class VehicleInfoController : MvcControllerBase | |||||
{ | |||||
private VehicleInfoIBLL vehicleInfoIBLL = new VehicleInfoBLL(); | |||||
#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 = vehicleInfoIBLL.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 VehicleInfoData = vehicleInfoIBLL.GetVehicleInfoEntity( keyValue ); | |||||
var jsonData = new { | |||||
VehicleInfo = VehicleInfoData, | |||||
}; | |||||
return Success(jsonData); | |||||
} | |||||
#endregion | |||||
#region 提交数据 | |||||
/// <summary> | |||||
/// 删除实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
[HttpPost] | |||||
[AjaxOnly] | |||||
public ActionResult DeleteForm(string keyValue) | |||||
{ | |||||
vehicleInfoIBLL.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) | |||||
{ | |||||
VehicleInfoEntity entity = strEntity.ToObject<VehicleInfoEntity>(); | |||||
vehicleInfoIBLL.SaveEntity(keyValue,entity); | |||||
if (string.IsNullOrEmpty(keyValue)) | |||||
{ | |||||
} | |||||
return Success("保存成功!"); | |||||
} | |||||
#endregion | |||||
} | |||||
} |
@@ -0,0 +1,27 @@ | |||||
@{ | |||||
ViewBag.Title = "车辆编制信息"; | |||||
Layout = "~/Views/Shared/_Form.cshtml"; | |||||
} | |||||
<div class="lr-form-wrap" id="form"> | |||||
<div class="col-xs-12 lr-form-item" data-table="VehicleFormation" > | |||||
<div class="lr-form-item-title">车辆编制指标<font face="宋体">*</font></div> | |||||
<input id="Quota" type="text" class="form-control" isvalid="yes" checkexpession="NumOrNull" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item" data-table="VehicleFormation" > | |||||
<div class="lr-form-item-title">下达指标文号<font face="宋体">*</font></div> | |||||
<input id="DocNum" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item" data-table="VehicleFormation" > | |||||
<div class="lr-form-item-title">实有车辆数<font face="宋体">*</font></div> | |||||
<input id="Num" type="text" class="form-control" isvalid="yes" checkexpession="NumOrNull" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item" data-table="VehicleFormation" > | |||||
<div class="lr-form-item-title">编制指标总数<font face="宋体">*</font></div> | |||||
<input id="QuotaSum" type="text" class="form-control" isvalid="yes" checkexpession="NumOrNull" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item" data-table="VehicleFormation" > | |||||
<div class="lr-form-item-title">备注</div> | |||||
<textarea id="Remark" class="form-control" style="height:100px;" ></textarea> | |||||
</div> | |||||
</div> | |||||
@Html.AppendJsFile("/Areas/CustomFunction/Views/VehicleFormation/Form.js") |
@@ -0,0 +1,50 @@ | |||||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
* 创建人:超级管理员 | |||||
* 日 期:2021-07-21 15:13 | |||||
* 描 述:车辆编制信息 | |||||
*/ | |||||
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 + '/CustomFunction/VehicleFormation/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 + '/CustomFunction/VehicleFormation/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||||
// 保存成功后才回调 | |||||
if (!!callBack) { | |||||
callBack(); | |||||
} | |||||
}); | |||||
}; | |||||
page.init(); | |||||
} |
@@ -0,0 +1,37 @@ | |||||
@{ | |||||
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 class="lr-layout-tool-item"> | |||||
<div id="multiple_condition_query"> | |||||
<div class="lr-query-formcontent"> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">下达指标的文号</div> | |||||
<input id="DocNum" type="text" class="form-control" /> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="lr-layout-tool-right"> | |||||
<div class=" btn-group btn-group-sm"> | |||||
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a> | |||||
</div> | |||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||||
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</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> | |||||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="lr-layout-body" id="gridtable"></div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
@Html.AppendJsFile("/Areas/CustomFunction/Views/VehicleFormation/Index.js") |
@@ -0,0 +1,95 @@ | |||||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
* 创建人:超级管理员 | |||||
* 日 期:2021-07-21 15:13 | |||||
* 描 述:车辆编制信息 | |||||
*/ | |||||
var refreshGirdData; | |||||
var bootstrap = function ($, learun) { | |||||
"use strict"; | |||||
var page = { | |||||
init: function () { | |||||
page.initGird(); | |||||
page.bind(); | |||||
}, | |||||
bind: function () { | |||||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||||
page.search(queryJson); | |||||
}, 220, 400); | |||||
// 刷新 | |||||
$('#lr_refresh').on('click', function () { | |||||
location.reload(); | |||||
}); | |||||
// 新增 | |||||
$('#lr_add').on('click', function () { | |||||
learun.layerForm({ | |||||
id: 'form', | |||||
title: '新增', | |||||
url: top.$.rootUrl + '/CustomFunction/VehicleFormation/Form', | |||||
width: 600, | |||||
height: 400, | |||||
callBack: function (id) { | |||||
return top[id].acceptClick(refreshGirdData); | |||||
} | |||||
}); | |||||
}); | |||||
// 编辑 | |||||
$('#lr_edit').on('click', function () { | |||||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||||
if (learun.checkrow(keyValue)) { | |||||
learun.layerForm({ | |||||
id: 'form', | |||||
title: '编辑', | |||||
url: top.$.rootUrl + '/CustomFunction/VehicleFormation/Form?keyValue=' + keyValue, | |||||
width: 600, | |||||
height: 400, | |||||
callBack: function (id) { | |||||
return top[id].acceptClick(refreshGirdData); | |||||
} | |||||
}); | |||||
} | |||||
}); | |||||
// 删除 | |||||
$('#lr_delete').on('click', function () { | |||||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||||
if (learun.checkrow(keyValue)) { | |||||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||||
if (res) { | |||||
learun.deleteForm(top.$.rootUrl + '/CustomFunction/VehicleFormation/DeleteForm', { keyValue: keyValue}, function () { | |||||
refreshGirdData(); | |||||
}); | |||||
} | |||||
}); | |||||
} | |||||
}); | |||||
// 打印 | |||||
$('#lr_print').on('click', function () { | |||||
$('#gridtable').jqprintTable(); | |||||
}); | |||||
}, | |||||
// 初始化列表 | |||||
initGird: function () { | |||||
$('#gridtable').lrAuthorizeJfGrid({ | |||||
url: top.$.rootUrl + '/CustomFunction/VehicleFormation/GetPageList', | |||||
headData: [ | |||||
{ label: "本校车辆编制指标数", name: "Quota", width: 150, align: "left"}, | |||||
{ label: "下达指标的文号", name: "DocNum", width: 150, align: "left"}, | |||||
{ label: "实有车辆数", name: "Num", width: 100, align: "left"}, | |||||
{ label: "编制指标总数", name: "QuotaSum", width: 100, align: "left"}, | |||||
{ label: "备注", name: "Remark", width: 100, align: "left"}, | |||||
], | |||||
mainId:'Id', | |||||
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,59 @@ | |||||
@{ | |||||
ViewBag.Title = "车辆信息管理"; | |||||
Layout = "~/Views/Shared/_Form.cshtml"; | |||||
} | |||||
<div class="lr-form-wrap" id="form"> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">品牌型号<font face="宋体">*</font></div> | |||||
<input id="BrandModel" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">车辆类型<font face="宋体">*</font></div> | |||||
<div id="Type" isvalid="yes" checkexpession="NotNull" ></div> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">号牌号码<font face="宋体">*</font></div> | |||||
<input id="PlateNum" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">发动机号<font face="宋体">*</font></div> | |||||
<input id="EngineNum" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">车辆识别码<font face="宋体">*</font></div> | |||||
<input id="IdenCode" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">排气量</div> | |||||
<input id="AirDisplacement" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">入户时间<font face="宋体">*</font></div> | |||||
<input id="EntryTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#EntryTime').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">座位数<font face="宋体">*</font></div> | |||||
<input id="SeatNum" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">颜色</div> | |||||
<input id="Colour" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">使用部门<font face="宋体">*</font></div> | |||||
<div id="UseDeptId" isvalid="yes" checkexpession="NotNull"></div> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">审批文号<font face="宋体">*</font></div> | |||||
<input id="ApprovalNum" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | |||||
</div> | |||||
<div class="col-xs-6 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">车辆状态<font face="宋体">*</font></div> | |||||
<div id="Status" isvalid="yes" checkexpession="NotNull" ></div> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item" data-table="VehicleInfo" > | |||||
<div class="lr-form-item-title">备注</div> | |||||
<textarea id="Remark" class="form-control" style="height:100px;" ></textarea> | |||||
</div> | |||||
</div> | |||||
@Html.AppendJsFile("/Areas/CustomFunction/Views/VehicleInfo/Form.js") |
@@ -0,0 +1,61 @@ | |||||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
* 创建人:超级管理员 | |||||
* 日 期:2021-07-21 15:32 | |||||
* 描 述:车辆信息管理 | |||||
*/ | |||||
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 () { | |||||
$('#Type').lrDataItemSelect({ code: 'vehicleType' }); | |||||
$('#Status').lrDataItemSelect({ code: 'VehicleStatus' }); | |||||
$('#UseDeptId').lrselect({ | |||||
type: 'tree', | |||||
// 是否允许搜索 | |||||
allowSearch: true, | |||||
// 访问数据接口地址 | |||||
url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTreeNoCheck', | |||||
// 访问数据接口参数 | |||||
param: { } | |||||
}); | |||||
}, | |||||
initData: function () { | |||||
if (!!keyValue) { | |||||
$.lrSetForm(top.$.rootUrl + '/CustomFunction/VehicleInfo/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 + '/CustomFunction/VehicleInfo/SaveForm?keyValue=' + keyValue, postData, function (res) { | |||||
// 保存成功后才回调 | |||||
if (!!callBack) { | |||||
callBack(); | |||||
} | |||||
}); | |||||
}; | |||||
page.init(); | |||||
} |
@@ -0,0 +1,57 @@ | |||||
@{ | |||||
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 class="lr-layout-tool-item"> | |||||
<div id="multiple_condition_query"> | |||||
<div class="lr-query-formcontent"> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">品牌型号</div> | |||||
<input id="BrandModel" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">车辆类型</div> | |||||
<div id="Type"></div> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">号牌号码</div> | |||||
<input id="PlateNum" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">发动机号</div> | |||||
<input id="EngineNum" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">车辆识别码</div> | |||||
<input id="IdenCode" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">座位数</div> | |||||
<input id="SeatNum" type="text" class="form-control" /> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="lr-layout-tool-right"> | |||||
<div class=" btn-group btn-group-sm"> | |||||
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a> | |||||
</div> | |||||
<div class=" btn-group btn-group-sm" learun-authorize="yes"> | |||||
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i> 新增</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> | |||||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div class="lr-layout-body" id="gridtable"></div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
@Html.AppendJsFile("/Areas/CustomFunction/Views/VehicleInfo/Index.js") |
@@ -0,0 +1,127 @@ | |||||
/* * 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架(http://www.learun.cn) | |||||
* Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
* 创建人:超级管理员 | |||||
* 日 期:2021-07-21 15:32 | |||||
* 描 述:车辆信息管理 | |||||
*/ | |||||
var refreshGirdData; | |||||
var bootstrap = function ($, learun) { | |||||
"use strict"; | |||||
var page = { | |||||
init: function () { | |||||
page.initGird(); | |||||
page.bind(); | |||||
}, | |||||
bind: function () { | |||||
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { | |||||
page.search(queryJson); | |||||
}, 320, 400); | |||||
$('#Type').lrDataItemSelect({ code: 'vehicleType' }); | |||||
// 刷新 | |||||
$('#lr_refresh').on('click', function () { | |||||
location.reload(); | |||||
}); | |||||
// 新增 | |||||
$('#lr_add').on('click', function () { | |||||
learun.layerForm({ | |||||
id: 'form', | |||||
title: '新增', | |||||
url: top.$.rootUrl + '/CustomFunction/VehicleInfo/Form', | |||||
width: 600, | |||||
height: 450, | |||||
callBack: function (id) { | |||||
return top[id].acceptClick(refreshGirdData); | |||||
} | |||||
}); | |||||
}); | |||||
// 编辑 | |||||
$('#lr_edit').on('click', function () { | |||||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||||
if (learun.checkrow(keyValue)) { | |||||
learun.layerForm({ | |||||
id: 'form', | |||||
title: '编辑', | |||||
url: top.$.rootUrl + '/CustomFunction/VehicleInfo/Form?keyValue=' + keyValue, | |||||
width: 600, | |||||
height: 450, | |||||
callBack: function (id) { | |||||
return top[id].acceptClick(refreshGirdData); | |||||
} | |||||
}); | |||||
} | |||||
}); | |||||
// 删除 | |||||
$('#lr_delete').on('click', function () { | |||||
var keyValue = $('#gridtable').jfGridValue('Id'); | |||||
if (learun.checkrow(keyValue)) { | |||||
learun.layerConfirm('是否确认删除该项!', function (res) { | |||||
if (res) { | |||||
learun.deleteForm(top.$.rootUrl + '/CustomFunction/VehicleInfo/DeleteForm', { keyValue: keyValue}, function () { | |||||
refreshGirdData(); | |||||
}); | |||||
} | |||||
}); | |||||
} | |||||
}); | |||||
// 打印 | |||||
$('#lr_print').on('click', function () { | |||||
$('#gridtable').jqprintTable(); | |||||
}); | |||||
}, | |||||
// 初始化列表 | |||||
initGird: function () { | |||||
$('#gridtable').lrAuthorizeJfGrid({ | |||||
url: top.$.rootUrl + '/CustomFunction/VehicleInfo/GetPageList', | |||||
headData: [ | |||||
{ label: "品牌型号", name: "BrandModel", width: 100, align: "left"}, | |||||
{ label: "车辆类型", name: "Type", width: 100, align: "left", | |||||
formatterAsync: function (callback, value, row, op,$cell) { | |||||
learun.clientdata.getAsync('dataItem', { | |||||
key: value, | |||||
code: 'vehicleType', | |||||
callback: function (_data) { | |||||
callback(_data.text); | |||||
} | |||||
}); | |||||
}}, | |||||
{ label: "号牌号码", name: "PlateNum", width: 100, align: "left"}, | |||||
{ label: "发动机号", name: "EngineNum", width: 100, align: "left"}, | |||||
{ label: "车辆识别码", name: "IdenCode", width: 100, align: "left"}, | |||||
{ label: "文本框排气量", name: "AirDisplacement", width: 100, align: "left"}, | |||||
{ | |||||
label: "入户时间", name: "EntryTime", width: 100, align: "left", | |||||
formatter: function(value) { | |||||
return learun.formatDate(value,'yyyy-MM-dd'); | |||||
} | |||||
}, | |||||
{ label: "座位数", name: "SeatNum", width: 100, align: "left"}, | |||||
{ label: "颜色", name: "Colour", width: 100, align: "left"}, | |||||
{ label: "使用部门", name: "UseDeptId", width: 100, align: "left"}, | |||||
{ label: "审批文号", name: "ApprovalNum", width: 100, align: "left"}, | |||||
{ label: "车辆状态", name: "Status", width: 100, align: "left", | |||||
formatterAsync: function (callback, value, row, op,$cell) { | |||||
learun.clientdata.getAsync('dataItem', { | |||||
key: value, | |||||
code: 'VehicleStatus', | |||||
callback: function (_data) { | |||||
callback(_data.text); | |||||
} | |||||
}); | |||||
}}, | |||||
{ label: "备注", name: "Remark", width: 100, align: "left"}, | |||||
], | |||||
mainId:'Id', | |||||
isPage: true | |||||
}); | |||||
page.search(); | |||||
}, | |||||
search: function (param) { | |||||
param = param || {}; | |||||
$('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); | |||||
} | |||||
}; | |||||
refreshGirdData = function () { | |||||
$('#gridtable').jfGridSet('reload'); | |||||
}; | |||||
page.init(); | |||||
} |
@@ -826,6 +826,8 @@ | |||||
<Compile Include="Areas\CustomFunction\Controllers\ArchiveInfoController.cs" /> | <Compile Include="Areas\CustomFunction\Controllers\ArchiveInfoController.cs" /> | ||||
<Compile Include="Areas\CustomFunction\Controllers\ArchiveRecordInfoController.cs" /> | <Compile Include="Areas\CustomFunction\Controllers\ArchiveRecordInfoController.cs" /> | ||||
<Compile Include="Areas\CustomFunction\Controllers\ArchiveUserController.cs" /> | <Compile Include="Areas\CustomFunction\Controllers\ArchiveUserController.cs" /> | ||||
<Compile Include="Areas\CustomFunction\Controllers\VehicleFormationController.cs" /> | |||||
<Compile Include="Areas\CustomFunction\Controllers\VehicleInfoController.cs" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" /> | <Content Include="Areas\AdmissionsPlatform\Views\AP_OnlineUserInfo\DropOutIndex.js" /> | ||||
@@ -941,6 +943,12 @@ | |||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexTJ.js" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexTJ.js" /> | ||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexYJ.js" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexYJ.js" /> | ||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexData.js" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexData.js" /> | ||||
<Content Include="Areas\CustomFunction\Views\OfficialSealRecord\Form.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSealRecord\Index.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSealUse\Form.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSealUse\Index.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSeal\Form.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSeal\Index.js" /> | |||||
<Content Include="Areas\EducationalAdministration\Views\ArrangeLessonSync\Form.js" /> | <Content Include="Areas\EducationalAdministration\Views\ArrangeLessonSync\Form.js" /> | ||||
<Content Include="Areas\EducationalAdministration\Views\ArrangeLessonSync\Index.js" /> | <Content Include="Areas\EducationalAdministration\Views\ArrangeLessonSync\Index.js" /> | ||||
<Content Include="Areas\EducationalAdministration\Views\ArrangeLessonTermAttemper\Form.js" /> | <Content Include="Areas\EducationalAdministration\Views\ArrangeLessonTermAttemper\Form.js" /> | ||||
@@ -6453,6 +6461,14 @@ | |||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\Index.js" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\Index.js" /> | ||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\Form.cshtml" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\Form.cshtml" /> | ||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\Form.js" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\Form.js" /> | ||||
<Content Include="Areas\CustomFunction\Views\VehicleFormation\Index.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\VehicleFormation\Index.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\VehicleFormation\Form.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\VehicleFormation\Form.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\VehicleInfo\Index.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\VehicleInfo\Index.js" /> | |||||
<Content Include="Areas\CustomFunction\Views\VehicleInfo\Form.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\VehicleInfo\Form.js" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<Folder Include="Areas\LR_Desktop\Models\" /> | <Folder Include="Areas\LR_Desktop\Models\" /> | ||||
@@ -7268,6 +7284,12 @@ | |||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\FormGH.cshtml" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\FormGH.cshtml" /> | ||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexYJ.cshtml" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexYJ.cshtml" /> | ||||
<Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexTJ.cshtml" /> | <Content Include="Areas\CustomFunction\Views\ArchiveUser\IndexTJ.cshtml" /> | ||||
<Content Include="Areas\CustomFunction\Views\OfficialSeal\Form.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSeal\Index.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSealRecord\Form.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSealRecord\Index.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSealUse\Form.cshtml" /> | |||||
<Content Include="Areas\CustomFunction\Views\OfficialSealUse\Index.cshtml" /> | |||||
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> | <None Include="Properties\PublishProfiles\CustomProfile.pubxml" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyJoin.cshtml" /> | <Content Include="Areas\PersonnelManagement\Views\MeetingManagement\IndexOfMyJoin.cshtml" /> | ||||
<Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\IndexAttendance.cshtml" /> | <Content Include="Areas\PersonnelManagement\Views\MeetingSignInRecord\IndexAttendance.cshtml" /> | ||||
@@ -0,0 +1,29 @@ | |||||
using Learun.Application.TwoDevelopment.CustomFunction; | |||||
using System.Data.Entity.ModelConfiguration; | |||||
namespace Learun.Application.Mapping | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:13 | |||||
/// 描 述:车辆编制信息 | |||||
/// </summary> | |||||
public class VehicleFormationMap : EntityTypeConfiguration<VehicleFormationEntity> | |||||
{ | |||||
public VehicleFormationMap() | |||||
{ | |||||
#region 表、主键 | |||||
//表 | |||||
this.ToTable("VEHICLEFORMATION"); | |||||
//主键 | |||||
this.HasKey(t => t.Id); | |||||
#endregion | |||||
#region 配置关系 | |||||
#endregion | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,29 @@ | |||||
using Learun.Application.TwoDevelopment.CustomFunction; | |||||
using System.Data.Entity.ModelConfiguration; | |||||
namespace Learun.Application.Mapping | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:32 | |||||
/// 描 述:车辆信息管理 | |||||
/// </summary> | |||||
public class VehicleInfoMap : EntityTypeConfiguration<VehicleInfoEntity> | |||||
{ | |||||
public VehicleInfoMap() | |||||
{ | |||||
#region 表、主键 | |||||
//表 | |||||
this.ToTable("VEHICLEINFO"); | |||||
//主键 | |||||
this.HasKey(t => t.Id); | |||||
#endregion | |||||
#region 配置关系 | |||||
#endregion | |||||
} | |||||
} | |||||
} | |||||
@@ -575,6 +575,8 @@ | |||||
<Compile Include="CustomFunction\ArchiveInfoMap.cs" /> | <Compile Include="CustomFunction\ArchiveInfoMap.cs" /> | ||||
<Compile Include="CustomFunction\ArchiveRecordInfoMap.cs" /> | <Compile Include="CustomFunction\ArchiveRecordInfoMap.cs" /> | ||||
<Compile Include="CustomFunction\ArchiveUserMap.cs" /> | <Compile Include="CustomFunction\ArchiveUserMap.cs" /> | ||||
<Compile Include="CustomFunction\VehicleFormationMap.cs" /> | |||||
<Compile Include="CustomFunction\VehicleInfoMap.cs" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj"> | <ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj"> | ||||
@@ -0,0 +1,125 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.Data; | |||||
using System.Collections.Generic; | |||||
namespace Learun.Application.TwoDevelopment.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:13 | |||||
/// 描 述:车辆编制信息 | |||||
/// </summary> | |||||
public class VehicleFormationBLL : VehicleFormationIBLL | |||||
{ | |||||
private VehicleFormationService vehicleFormationService = new VehicleFormationService(); | |||||
#region 获取数据 | |||||
/// <summary> | |||||
/// 获取页面显示列表数据 | |||||
/// </summary> | |||||
/// <param name="pagination">分页参数</param> | |||||
/// <param name="queryJson">查询参数</param> | |||||
/// <returns></returns> | |||||
public IEnumerable<VehicleFormationEntity> GetPageList(Pagination pagination, string queryJson) | |||||
{ | |||||
try | |||||
{ | |||||
return vehicleFormationService.GetPageList(pagination, queryJson); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowBusinessException(ex); | |||||
} | |||||
} | |||||
} | |||||
/// <summary> | |||||
/// 获取VehicleFormation表实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
public VehicleFormationEntity GetVehicleFormationEntity(string keyValue) | |||||
{ | |||||
try | |||||
{ | |||||
return vehicleFormationService.GetVehicleFormationEntity(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 | |||||
{ | |||||
vehicleFormationService.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, VehicleFormationEntity entity) | |||||
{ | |||||
try | |||||
{ | |||||
vehicleFormationService.SaveEntity(keyValue, entity); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowBusinessException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | |||||
} | |||||
} |
@@ -0,0 +1,82 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.ComponentModel.DataAnnotations.Schema; | |||||
namespace Learun.Application.TwoDevelopment.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:13 | |||||
/// 描 述:车辆编制信息 | |||||
/// </summary> | |||||
public class VehicleFormationEntity | |||||
{ | |||||
#region 实体成员 | |||||
/// <summary> | |||||
/// 主键 | |||||
/// </summary> | |||||
[Column("ID")] | |||||
public string Id { get; set; } | |||||
/// <summary> | |||||
/// 本校车辆编制指标数 | |||||
/// </summary> | |||||
[Column("QUOTA")] | |||||
public int? Quota { get; set; } | |||||
/// <summary> | |||||
/// 下达指标的文号 | |||||
/// </summary> | |||||
[Column("DOCNUM")] | |||||
public string DocNum { get; set; } | |||||
/// <summary> | |||||
/// 实有车辆数 | |||||
/// </summary> | |||||
[Column("NUM")] | |||||
public int? Num { get; set; } | |||||
/// <summary> | |||||
/// 编制指标总数 | |||||
/// </summary> | |||||
[Column("QUOTASUM")] | |||||
public int? QuotaSum { get; set; } | |||||
/// <summary> | |||||
/// 备注 | |||||
/// </summary> | |||||
[Column("REMARK")] | |||||
public string Remark { get; set; } | |||||
/// <summary> | |||||
/// 创建时间 | |||||
/// </summary> | |||||
[Column("CREATETIME")] | |||||
public DateTime? CreateTime { get; set; } | |||||
/// <summary> | |||||
/// 创建人 | |||||
/// </summary> | |||||
[Column("CREATEUSERID")] | |||||
public string CreateUserId { get; set; } | |||||
#endregion | |||||
#region 扩展操作 | |||||
/// <summary> | |||||
/// 新增调用 | |||||
/// </summary> | |||||
public void Create() | |||||
{ | |||||
this.Id = Guid.NewGuid().ToString(); | |||||
this.CreateTime=DateTime.Now; | |||||
this.CreateUserId = LoginUserInfo.Get().userId; | |||||
} | |||||
/// <summary> | |||||
/// 编辑调用 | |||||
/// </summary> | |||||
/// <param name="keyValue"></param> | |||||
public void Modify(string keyValue) | |||||
{ | |||||
this.Id = keyValue; | |||||
} | |||||
#endregion | |||||
#region 扩展字段 | |||||
#endregion | |||||
} | |||||
} | |||||
@@ -0,0 +1,48 @@ | |||||
using Learun.Util; | |||||
using System.Data; | |||||
using System.Collections.Generic; | |||||
namespace Learun.Application.TwoDevelopment.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:13 | |||||
/// 描 述:车辆编制信息 | |||||
/// </summary> | |||||
public interface VehicleFormationIBLL | |||||
{ | |||||
#region 获取数据 | |||||
/// <summary> | |||||
/// 获取页面显示列表数据 | |||||
/// </summary> | |||||
/// <param name="queryJson">查询参数</param> | |||||
/// <returns></returns> | |||||
IEnumerable<VehicleFormationEntity> GetPageList(Pagination pagination, string queryJson); | |||||
/// <summary> | |||||
/// 获取VehicleFormation表实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
VehicleFormationEntity GetVehicleFormationEntity(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, VehicleFormationEntity 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.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:13 | |||||
/// 描 述:车辆编制信息 | |||||
/// </summary> | |||||
public class VehicleFormationService : RepositoryFactory | |||||
{ | |||||
#region 获取数据 | |||||
/// <summary> | |||||
/// 获取页面显示列表数据 | |||||
/// </summary> | |||||
/// <param name="pagination">查询参数</param> | |||||
/// <param name="queryJson">查询参数</param> | |||||
/// <returns></returns> | |||||
public IEnumerable<VehicleFormationEntity> GetPageList(Pagination pagination, string queryJson) | |||||
{ | |||||
try | |||||
{ | |||||
var strSql = new StringBuilder(); | |||||
strSql.Append("SELECT "); | |||||
strSql.Append(@" | |||||
t.Id, | |||||
t.Quota, | |||||
t.DocNum, | |||||
t.Num, | |||||
t.QuotaSum, | |||||
t.Remark | |||||
"); | |||||
strSql.Append(" FROM VehicleFormation t "); | |||||
strSql.Append(" WHERE 1=1 "); | |||||
var queryParam = queryJson.ToJObject(); | |||||
// 虚拟参数 | |||||
var dp = new DynamicParameters(new { }); | |||||
if (!queryParam["DocNum"].IsEmpty()) | |||||
{ | |||||
dp.Add("DocNum", "%" + queryParam["DocNum"].ToString() + "%", DbType.String); | |||||
strSql.Append(" AND t.DocNum Like @DocNum "); | |||||
} | |||||
return this.BaseRepository("CollegeMIS").FindList<VehicleFormationEntity>(strSql.ToString(),dp, pagination); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowServiceException(ex); | |||||
} | |||||
} | |||||
} | |||||
/// <summary> | |||||
/// 获取VehicleFormation表实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
public VehicleFormationEntity GetVehicleFormationEntity(string keyValue) | |||||
{ | |||||
try | |||||
{ | |||||
return this.BaseRepository("CollegeMIS").FindEntity<VehicleFormationEntity>(keyValue); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowServiceException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | |||||
#region 提交数据 | |||||
/// <summary> | |||||
/// 删除实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
public void DeleteEntity(string keyValue) | |||||
{ | |||||
try | |||||
{ | |||||
this.BaseRepository("CollegeMIS").Delete<VehicleFormationEntity>(t=>t.Id == 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, VehicleFormationEntity entity) | |||||
{ | |||||
try | |||||
{ | |||||
if (!string.IsNullOrEmpty(keyValue)) | |||||
{ | |||||
entity.Modify(keyValue); | |||||
this.BaseRepository("CollegeMIS").Update(entity); | |||||
} | |||||
else | |||||
{ | |||||
entity.Create(); | |||||
this.BaseRepository("CollegeMIS").Insert(entity); | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowServiceException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | |||||
} | |||||
} |
@@ -0,0 +1,125 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.Data; | |||||
using System.Collections.Generic; | |||||
namespace Learun.Application.TwoDevelopment.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:32 | |||||
/// 描 述:车辆信息管理 | |||||
/// </summary> | |||||
public class VehicleInfoBLL : VehicleInfoIBLL | |||||
{ | |||||
private VehicleInfoService vehicleInfoService = new VehicleInfoService(); | |||||
#region 获取数据 | |||||
/// <summary> | |||||
/// 获取页面显示列表数据 | |||||
/// </summary> | |||||
/// <param name="pagination">分页参数</param> | |||||
/// <param name="queryJson">查询参数</param> | |||||
/// <returns></returns> | |||||
public IEnumerable<VehicleInfoEntity> GetPageList(Pagination pagination, string queryJson) | |||||
{ | |||||
try | |||||
{ | |||||
return vehicleInfoService.GetPageList(pagination, queryJson); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowBusinessException(ex); | |||||
} | |||||
} | |||||
} | |||||
/// <summary> | |||||
/// 获取VehicleInfo表实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
public VehicleInfoEntity GetVehicleInfoEntity(string keyValue) | |||||
{ | |||||
try | |||||
{ | |||||
return vehicleInfoService.GetVehicleInfoEntity(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 | |||||
{ | |||||
vehicleInfoService.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, VehicleInfoEntity entity) | |||||
{ | |||||
try | |||||
{ | |||||
vehicleInfoService.SaveEntity(keyValue, entity); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowBusinessException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | |||||
} | |||||
} |
@@ -0,0 +1,149 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.ComponentModel.DataAnnotations.Schema; | |||||
namespace Learun.Application.TwoDevelopment.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:32 | |||||
/// 描 述:车辆信息管理 | |||||
/// </summary> | |||||
public class VehicleInfoEntity | |||||
{ | |||||
#region 实体成员 | |||||
/// <summary> | |||||
/// 主键 | |||||
/// </summary> | |||||
[Column("ID")] | |||||
public string Id { get; set; } | |||||
/// <summary> | |||||
/// 品牌型号 | |||||
/// </summary> | |||||
[Column("BRANDMODEL")] | |||||
public string BrandModel { get; set; } | |||||
/// <summary> | |||||
/// 车辆类型 | |||||
/// </summary> | |||||
[Column("TYPE")] | |||||
public string Type { get; set; } | |||||
/// <summary> | |||||
/// 号牌号码 | |||||
/// </summary> | |||||
[Column("PLATENUM")] | |||||
public string PlateNum { get; set; } | |||||
/// <summary> | |||||
/// 发动机号 | |||||
/// </summary> | |||||
[Column("ENGINENUM")] | |||||
public string EngineNum { get; set; } | |||||
/// <summary> | |||||
/// 车辆识别码 | |||||
/// </summary> | |||||
[Column("IDENCODE")] | |||||
public string IdenCode { get; set; } | |||||
/// <summary> | |||||
/// 排气量 | |||||
/// </summary> | |||||
[Column("AIRDISPLACEMENT")] | |||||
public string AirDisplacement { get; set; } | |||||
/// <summary> | |||||
/// 入户时间 | |||||
/// </summary> | |||||
[Column("ENTRYTIME")] | |||||
public DateTime? EntryTime { get; set; } | |||||
/// <summary> | |||||
/// 座位数 | |||||
/// </summary> | |||||
[Column("SEATNUM")] | |||||
public int? SeatNum { get; set; } | |||||
/// <summary> | |||||
/// 颜色 | |||||
/// </summary> | |||||
[Column("COLOUR")] | |||||
public string Colour { get; set; } | |||||
/// <summary> | |||||
/// 备注 | |||||
/// </summary> | |||||
[Column("REMARK")] | |||||
public string Remark { get; set; } | |||||
/// <summary> | |||||
/// 创建时间 | |||||
/// </summary> | |||||
[Column("CREATETIME")] | |||||
public DateTime? CreateTime { get; set; } | |||||
/// <summary> | |||||
/// 使用部门 | |||||
/// </summary> | |||||
[Column("USEDEPTID")] | |||||
public string UseDeptId { get; set; } | |||||
/// <summary> | |||||
/// 新增车辆编制审批文号 | |||||
/// </summary> | |||||
[Column("APPROVALNUM")] | |||||
public string ApprovalNum { get; set; } | |||||
/// <summary> | |||||
/// 车辆状态(在用、报废) | |||||
/// </summary> | |||||
[Column("STATUS")] | |||||
public string Status { get; set; } | |||||
/// <summary> | |||||
/// 报废时间 | |||||
/// </summary> | |||||
[Column("SCRAPTIME")] | |||||
public DateTime? ScrapTime { get; set; } | |||||
/// <summary> | |||||
/// 报废添加时间 | |||||
/// </summary> | |||||
[Column("SCRAPCREATETIME")] | |||||
public DateTime? ScrapCreateTime { get; set; } | |||||
/// <summary> | |||||
/// 报废添加人 | |||||
/// </summary> | |||||
[Column("SCRAPCREATEUSERID")] | |||||
public string ScrapCreateUserId { get; set; } | |||||
/// <summary> | |||||
/// 报废原因 | |||||
/// </summary> | |||||
[Column("SCRAPREASON")] | |||||
public string ScrapReason { get; set; } | |||||
/// <summary> | |||||
/// 创建人 | |||||
/// </summary> | |||||
[Column("CREATEUSERID")] | |||||
public string CreateUserId { get; set; } | |||||
/// <summary> | |||||
/// 创建人 | |||||
/// </summary> | |||||
[Column("CREATEUSERNAME")] | |||||
public string CreateUserName { get; set; } | |||||
#endregion | |||||
#region 扩展操作 | |||||
/// <summary> | |||||
/// 新增调用 | |||||
/// </summary> | |||||
public void Create() | |||||
{ | |||||
this.Id = Guid.NewGuid().ToString(); | |||||
this.CreateTime=DateTime.Now; | |||||
var userInfo = LoginUserInfo.Get(); | |||||
this.CreateUserId = userInfo.userId; | |||||
this.CreateUserName = userInfo.realName; | |||||
} | |||||
/// <summary> | |||||
/// 编辑调用 | |||||
/// </summary> | |||||
/// <param name="keyValue"></param> | |||||
public void Modify(string keyValue) | |||||
{ | |||||
this.Id = keyValue; | |||||
} | |||||
#endregion | |||||
#region 扩展字段 | |||||
#endregion | |||||
} | |||||
} | |||||
@@ -0,0 +1,48 @@ | |||||
using Learun.Util; | |||||
using System.Data; | |||||
using System.Collections.Generic; | |||||
namespace Learun.Application.TwoDevelopment.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:32 | |||||
/// 描 述:车辆信息管理 | |||||
/// </summary> | |||||
public interface VehicleInfoIBLL | |||||
{ | |||||
#region 获取数据 | |||||
/// <summary> | |||||
/// 获取页面显示列表数据 | |||||
/// </summary> | |||||
/// <param name="queryJson">查询参数</param> | |||||
/// <returns></returns> | |||||
IEnumerable<VehicleInfoEntity> GetPageList(Pagination pagination, string queryJson); | |||||
/// <summary> | |||||
/// 获取VehicleInfo表实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
VehicleInfoEntity GetVehicleInfoEntity(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, VehicleInfoEntity entity); | |||||
#endregion | |||||
} | |||||
} |
@@ -0,0 +1,187 @@ | |||||
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.CustomFunction | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS V7.0.6 力软敏捷开发框架 | |||||
/// Copyright (c) 2013-2020 力软信息技术(苏州)有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2021-07-21 15:32 | |||||
/// 描 述:车辆信息管理 | |||||
/// </summary> | |||||
public class VehicleInfoService : RepositoryFactory | |||||
{ | |||||
#region 获取数据 | |||||
/// <summary> | |||||
/// 获取页面显示列表数据 | |||||
/// </summary> | |||||
/// <param name="pagination">查询参数</param> | |||||
/// <param name="queryJson">查询参数</param> | |||||
/// <returns></returns> | |||||
public IEnumerable<VehicleInfoEntity> GetPageList(Pagination pagination, string queryJson) | |||||
{ | |||||
try | |||||
{ | |||||
var strSql = new StringBuilder(); | |||||
strSql.Append("SELECT "); | |||||
strSql.Append(@" | |||||
t.Id, | |||||
t.BrandModel, | |||||
t.Type, | |||||
t.PlateNum, | |||||
t.EngineNum, | |||||
t.IdenCode, | |||||
t.AirDisplacement, | |||||
t.EntryTime, | |||||
t.SeatNum, | |||||
t.Colour, | |||||
t.UseDeptId, | |||||
t.ApprovalNum, | |||||
t.Status, | |||||
t.Remark | |||||
"); | |||||
strSql.Append(" FROM VehicleInfo t "); | |||||
strSql.Append(" WHERE 1=1 "); | |||||
var queryParam = queryJson.ToJObject(); | |||||
// 虚拟参数 | |||||
var dp = new DynamicParameters(new { }); | |||||
if (!queryParam["BrandModel"].IsEmpty()) | |||||
{ | |||||
dp.Add("BrandModel", "%" + queryParam["BrandModel"].ToString() + "%", DbType.String); | |||||
strSql.Append(" AND t.BrandModel Like @BrandModel "); | |||||
} | |||||
if (!queryParam["Type"].IsEmpty()) | |||||
{ | |||||
dp.Add("Type",queryParam["Type"].ToString(), DbType.String); | |||||
strSql.Append(" AND t.Type = @Type "); | |||||
} | |||||
if (!queryParam["PlateNum"].IsEmpty()) | |||||
{ | |||||
dp.Add("PlateNum", "%" + queryParam["PlateNum"].ToString() + "%", DbType.String); | |||||
strSql.Append(" AND t.PlateNum Like @PlateNum "); | |||||
} | |||||
if (!queryParam["EngineNum"].IsEmpty()) | |||||
{ | |||||
dp.Add("EngineNum", "%" + queryParam["EngineNum"].ToString() + "%", DbType.String); | |||||
strSql.Append(" AND t.EngineNum Like @EngineNum "); | |||||
} | |||||
if (!queryParam["IdenCode"].IsEmpty()) | |||||
{ | |||||
dp.Add("IdenCode", "%" + queryParam["IdenCode"].ToString() + "%", DbType.String); | |||||
strSql.Append(" AND t.IdenCode Like @IdenCode "); | |||||
} | |||||
if (!queryParam["SeatNum"].IsEmpty()) | |||||
{ | |||||
dp.Add("SeatNum", "%" + queryParam["SeatNum"].ToString() + "%", DbType.String); | |||||
strSql.Append(" AND t.SeatNum Like @SeatNum "); | |||||
} | |||||
return this.BaseRepository("CollegeMIS").FindList<VehicleInfoEntity>(strSql.ToString(),dp, pagination); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowServiceException(ex); | |||||
} | |||||
} | |||||
} | |||||
/// <summary> | |||||
/// 获取VehicleInfo表实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
/// <returns></returns> | |||||
public VehicleInfoEntity GetVehicleInfoEntity(string keyValue) | |||||
{ | |||||
try | |||||
{ | |||||
return this.BaseRepository("CollegeMIS").FindEntity<VehicleInfoEntity>(keyValue); | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowServiceException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | |||||
#region 提交数据 | |||||
/// <summary> | |||||
/// 删除实体数据 | |||||
/// </summary> | |||||
/// <param name="keyValue">主键</param> | |||||
public void DeleteEntity(string keyValue) | |||||
{ | |||||
try | |||||
{ | |||||
this.BaseRepository("CollegeMIS").Delete<VehicleInfoEntity>(t=>t.Id == 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, VehicleInfoEntity entity) | |||||
{ | |||||
try | |||||
{ | |||||
if (!string.IsNullOrEmpty(keyValue)) | |||||
{ | |||||
entity.Modify(keyValue); | |||||
this.BaseRepository("CollegeMIS").Update(entity); | |||||
} | |||||
else | |||||
{ | |||||
entity.Create(); | |||||
this.BaseRepository("CollegeMIS").Insert(entity); | |||||
} | |||||
} | |||||
catch (Exception ex) | |||||
{ | |||||
if (ex is ExceptionEx) | |||||
{ | |||||
throw; | |||||
} | |||||
else | |||||
{ | |||||
throw ExceptionEx.ThrowServiceException(ex); | |||||
} | |||||
} | |||||
} | |||||
#endregion | |||||
} | |||||
} |
@@ -1718,6 +1718,14 @@ | |||||
<Compile Include="CustomFunction\ArchiveUser\ArchiveUserService.cs" /> | <Compile Include="CustomFunction\ArchiveUser\ArchiveUserService.cs" /> | ||||
<Compile Include="CustomFunction\ArchiveUser\ArchiveUserBLL.cs" /> | <Compile Include="CustomFunction\ArchiveUser\ArchiveUserBLL.cs" /> | ||||
<Compile Include="CustomFunction\ArchiveUser\ArchiveUserIBLL.cs" /> | <Compile Include="CustomFunction\ArchiveUser\ArchiveUserIBLL.cs" /> | ||||
<Compile Include="CustomFunction\VehicleFormation\VehicleFormationEntity.cs" /> | |||||
<Compile Include="CustomFunction\VehicleFormation\VehicleFormationService.cs" /> | |||||
<Compile Include="CustomFunction\VehicleFormation\VehicleFormationBLL.cs" /> | |||||
<Compile Include="CustomFunction\VehicleFormation\VehicleFormationIBLL.cs" /> | |||||
<Compile Include="CustomFunction\VehicleInfo\VehicleInfoEntity.cs" /> | |||||
<Compile Include="CustomFunction\VehicleInfo\VehicleInfoService.cs" /> | |||||
<Compile Include="CustomFunction\VehicleInfo\VehicleInfoBLL.cs" /> | |||||
<Compile Include="CustomFunction\VehicleInfo\VehicleInfoIBLL.cs" /> | |||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj"> | <ProjectReference Include="..\..\..\Learun.Application.Organization\Learun.Application.Organization.csproj"> | ||||