Browse Source

已上报数据+条件

金隅分支
zhangli 3 years ago
parent
commit
9b80d52048
2 changed files with 5 additions and 0 deletions
  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 View File

@@ -174,6 +174,7 @@ var bootstrap = function ($, learun) {
search: function (param) {
param = param || {};
param.FillInFromId = FillInFromId;
param.CreateUserId = learun.clientdata.get(['userinfo']).userId;
$('#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 View File

@@ -41,6 +41,10 @@ namespace Learun.Application.TwoDevelopment.LR_Desktop
{
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);
}


Loading…
Cancel
Save