From b7ec1aee80f6f1bc11020a6b8d5ab183459a6253 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Fri, 18 Sep 2026 09:55:57 +0900 Subject: [PATCH] =?UTF-8?q?260918=5F01=5FENH:=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=EC=A0=9D=ED=8A=B8=20=EB=85=B8=EC=B6=9C=20=EC=A1=B0=EA=B1=B4=20?= =?UTF-8?q?=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KART_API/Services/ProjectService.cs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/KART_API/Services/ProjectService.cs b/KART_API/Services/ProjectService.cs index 0cc9458..14f08ae 100644 --- a/KART_API/Services/ProjectService.cs +++ b/KART_API/Services/ProjectService.cs @@ -70,20 +70,16 @@ namespace KART_API.Services konSqlString += " and JSON_VALUE(PROJECTJSON, '$.must.title_inner') not like '%사례비%'" + Environment.NewLine; konSqlString += " and JSON_VALUE(PROJECTJSON, '$.must.companytype') not in ('4', '5')" + Environment.NewLine; - if (gkey != "M101" && isAdmin != "0") + if (gkey != "M101" && isAdmin != "0") //경문이 아니면서 관리자가 아니면 경문 프로젝트 제외 { konSqlString += " AND GKEY <> 'M101'" + Environment.NewLine; - } - else if (isAdmin == "4")//BC팀(M101이면서 JOB이 제작)은 KIWI 퀵서베이는 보이게 - { - //sqlString += " and JSON_VALUE(PROJECTJSON, '$.must.title_inner') like '%kiwisurvey%' "; - } - else if (gkey.StartsWith("R") || gkey == "M101")//AI 빅데이터 제외 + + if (gkey.StartsWith("R"))// 연구는 자기 프로젝트만 보이게 { konSqlString += " and GKEY = '" + gkey + "'" + Environment.NewLine; } - //if (gkey.StartsWith("R") || gkey == "M101" || gkey.StartsWith("A"))//AI 빅데이터 포함 + if (Convert.ToInt32(isAdmin) > 5) { konSqlString += " and pkey in (" + getAssignPkeys(mkey) + ")" + Environment.NewLine;