Преглед на файлове

【修改】经费管理-使用明细:修改表字段Use,与关键字重名;

金隅分支
dyy преди 2 години
родител
ревизия
14b478597c
променени са 4 файла, в които са добавени 6 реда и са изтрити 13 реда
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRFeesExpend/Form.cshtml
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRFeesExpend/Index.js
  3. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/SRFeesExpend/SRFeesExpendEntity.cs
  4. +1
    -8
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/SRFeesExpend/SRFeesExpendService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRFeesExpend/Form.cshtml Целия файл

@@ -17,7 +17,7 @@
</div>
<div class="col-xs-12 lr-form-item" data-table="SRFeesExpend" >
<div class="lr-form-item-title">使用用途</div>
<input id="Use" type="text" class="form-control" />
<input id="UseUse" type="text" class="form-control" />
</div>
</div>
@Html.AppendJsFile("/Areas/PersonnelManagement/Views/SRFeesExpend/Form.js")

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRFeesExpend/Index.js Целия файл

@@ -65,13 +65,13 @@ var bootstrap = function ($, learun) {
},
// 初始化列表
initGird: function () {
$('#gridtable').lrAuthorizeJfGrid({
$('#gridtable').jfGrid({
url: top.$.rootUrl + '/PersonnelManagement/SRFeesExpend/GetPageList',
headData: [
{ label: "课题", name: "Name", width: 100, align: "left"},
{ label: "金额", name: "Fees", width: 100, align: "left"},
{ label: "使用时间", name: "Time", width: 130, align: "left"},
{ label: "使用用途", name: "Use", width: 100, align: "left"},
{ label: "使用用途", name: "UseUse", width: 100, align: "left"},
],
mainId:'Id',
isPage: true


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/SRFeesExpend/SRFeesExpendEntity.cs Целия файл

@@ -37,8 +37,8 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// <summary>
/// 使用用途
/// </summary>
[Column("USE")]
public string Use { get; set; }
[Column("USEUSE")]
public string UseUse { get; set; }
#endregion

#region 扩展操作


+ 1
- 8
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/SRFeesExpend/SRFeesExpendService.cs Целия файл

@@ -29,14 +29,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
try
{
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.Id,
t.Name,
t.Fees,
t.Time,
t.Use
");
strSql.Append("SELECT t.* ");
strSql.Append(" FROM SRFeesExpend t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();


Зареждане…
Отказ
Запис