Explorar el Código

数据上报设置列表条件

金隅分支
zhangli hace 3 años
padre
commit
4ccd32e582
Se han modificado 2 ficheros con 6 adiciones y 3 borrados
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/Index.js
  2. +5
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/FillinFrom/FillinFromService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/QualityReport/Index.js Ver fichero

@@ -142,7 +142,7 @@ var bootstrap = function ($, learun) {
search: function (param) {
param = param || {};
param.SqlParameter = ' AND (FillingPeople is not null and len(FillingPeople)>0) and (Formula is not null and len(Formula)>0)';
param.FillingPeople = learun.clientdata.get(['userinfo']).userId;
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
}
};


+ 5
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/FillinFrom/FillinFromService.cs Ver fichero

@@ -70,8 +70,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
if (!queryParam["FillingPeople"].IsEmpty())
{
dp.Add("FillingPeople", queryParam["FillingPeople"].ToString(), DbType.String);
strSql.Append(" AND t.FillingPeople = @FillingPeople ");
if (queryParam["FillingPeople"].ToString() != "System")
{
dp.Add("FillingPeople", queryParam["FillingPeople"].ToString(), DbType.String);
strSql.Append(" AND t.FillingPeople = @FillingPeople ");
}
}
if (!queryParam["IsFlag"].IsEmpty())
{


Cargando…
Cancelar
Guardar