Преглед изворни кода

已上报数据+条件

金隅分支
zhangli пре 3 година
родитељ
комит
9b80d52048
2 измењених фајлова са 5 додато и 0 уклоњено
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/IndexReport.js
  2. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/QualityReportMain/QualityReportMainService.cs

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/IndexReport.js Прегледај датотеку

@@ -174,6 +174,7 @@ var bootstrap = function ($, learun) {
search: function (param) { search: function (param) {
param = param || {}; param = param || {};
param.FillInFromId = FillInFromId; param.FillInFromId = FillInFromId;
param.CreateUserId = learun.clientdata.get(['userinfo']).userId;
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
} }
}; };


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/QualityReportMain/QualityReportMainService.cs Прегледај датотеку

@@ -41,6 +41,10 @@ namespace Learun.Application.TwoDevelopment.LR_Desktop
{ {
strSql.Append($" AND a.FillInFromId='{queryParam["FillInFromId"].ToString()}' "); strSql.Append($" AND a.FillInFromId='{queryParam["FillInFromId"].ToString()}' ");
} }
if (!queryParam["CreateUserId"].IsEmpty() && queryParam["CreateUserId"].ToString() != "System")
{
strSql.Append($" AND a.CreateUserId='{queryParam["CreateUserId"].ToString()}' ");
}


return this.BaseRepository("CollegeMIS").FindList<QualityReportMainEntity>(strSql.ToString(), dp, pagination); return this.BaseRepository("CollegeMIS").FindList<QualityReportMainEntity>(strSql.ToString(), dp, pagination);
} }


Loading…
Откажи
Сачувај