浏览代码

已上报数据+条件

金隅分支
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) {
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 查看文件

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


正在加载...
取消
保存