From df7d830e97493f17aeea96aa262b2148d38b38d8 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期四, 11 九月 2025 21:41:46 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs b/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs index bfab458..d8c36e1 100644 --- a/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs +++ b/DevApp/Gs.DevApp/DevFrm/RkQC/RkDetect01.cs @@ -502,11 +502,17 @@ { gcMain1.DataSource = null; System.Text.StringBuilder _sbSqlWhere = new System.Text.StringBuilder(); + _sbSqlWhere.Append(" and a.ReceiveOrgId in"); + _sbSqlWhere.Append(ToolBox.UtilityHelper.GetOrgWhere()); _sbSqlWhere.Append(UtilityHelper.GetSearchWhere(_filterList)); if (strType == QcSeason.鍏跺畠鍏ュ簱妫�.ToString()) { _sbSqlWhere.Append(" and isnull(qtrk.qt028,0)=1 and isnull(qtrk.qt032,0)=1 and isnull(qtrk.qt015,0)=1 "); } + if (strType == QcSeason.鍙楁墭鍏ュ簱.ToString()) + { + _sbSqlWhere.Append(" and isnull(st.isCheck,0)=1 and isnull(st.qt032,0)=1"); + } PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "release_no", "asc", "", " and a.order_type='" + strType + "' " + _sbSqlWhere.ToString()); string json = JsonConvert.SerializeObject(pgq); try -- Gitblit v1.9.3