Browse Source

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

金隅分支
dyy 2 years ago
parent
commit
14b478597c
4 changed files with 6 additions and 13 deletions
  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 View File

@@ -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 View File

@@ -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 View File

@@ -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 View File

@@ -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();


Loading…
Cancel
Save