From a1c94b6ba317f8c319bdd5f315889dbb339eb562 Mon Sep 17 00:00:00 2001
From: dyy <18335927079@163.com>
Date: Tue, 19 Apr 2022 15:02:16 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E7=94=A8?=
=?UTF-8?q?=E5=8D=B0=E7=94=B3=E8=AF=B7=E7=BB=9F=E8=AE=A1=EF=BC=9A=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E5=A4=9A=E6=9D=A1=E4=BB=B6=E6=9F=A5=E8=AF=A2=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../NWFProcess/MonitorIndexOfyyspd.cshtml | 18 +++++++++++++++++
.../Views/NWFProcess/MonitorIndexOfyyspd.js | 3 +++
.../Process/NWFProcessSerivce.cs | 20 ++++++++++++++++++-
3 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.cshtml
index 4f4bb8414..874255043 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.cshtml
@@ -20,6 +20,24 @@
@*
*@
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.js
index 6e082bee0..0fc92a8fa 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexOfyyspd.js
@@ -43,6 +43,9 @@ var bootstrap = function ($, learun) {
page.search();
}
});
+ $('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
+ page.search(queryJson);
+ }, 220, 400);
// 查询
$('#btn_Search').on('click', function () {
var keyword = $('#txt_Keyword').val();
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessSerivce.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessSerivce.cs
index f2896c352..7a3d5be18 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessSerivce.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.WorkFlow/Process/NWFProcessSerivce.cs
@@ -805,7 +805,25 @@ namespace Learun.Application.WorkFlow
strSql.Append(" and t.F_IsFinished = 1 ");
}
}
- //用印名称、用印事项、用印时间
+ //用印名称
+ if (!queryParam["LC_yzmc"].IsEmpty())
+ {
+ dp.Add("LC_yzmc", "%" + queryParam["LC_yzmc"].ToString() + "%", DbType.String);
+ strSql.Append(" AND y.LC_yzmc like @LC_yzmc ");
+ }
+ //用印事项
+ if (!queryParam["LC_yysx"].IsEmpty())
+ {
+ dp.Add("LC_yysx", "%" + queryParam["LC_yysx"].ToString() + "%", DbType.String);
+ strSql.Append(" AND y.LC_yysx like @LC_yysx ");
+ }
+ //用印时间
+ if (!queryParam["LC_yysj"].IsEmpty())
+ {
+ dp.Add("LC_yysj", "%" + queryParam["LC_yysj"].ToString() + "%", DbType.String);
+ strSql.Append(" AND y.LC_yysj like @LC_yysj ");
+ }
+ //关键字:用印名称、用印事项、用印时间
if (!queryParam["keyword"].IsEmpty())
{
dp.Add("keyword", "%" + queryParam["keyword"].ToString() + "%", DbType.String);