* 프로젝트 검색 검색조건(부서) 수정
- 추가 : 퍼블릭R&D센터 - 제외 : 데이터AIO, 마케팅 4,5그룹, AI헬스케어
This commit is contained in:
@@ -183,7 +183,7 @@ end if
|
||||
query = ""
|
||||
query = query & " SELECT DISTINCT before_t_cd1 as d_code, LEFT(T_Name, 8) as d_name "
|
||||
query = query & " FROM project2.dbo.v_Department "
|
||||
query = query & " WHERE (before_t_cd1 in (12, 90) or before_t_cd1 between 20 and 90) "
|
||||
query = query & " WHERE (before_t_cd1 in (12, 90) or before_t_cd1 between 20 and 91) "
|
||||
query = query & " order by LEFT(T_Name, 8) "
|
||||
|
||||
Rs.Open query, adoConn, 1
|
||||
@@ -207,7 +207,7 @@ end if
|
||||
query = ""
|
||||
query = query & " SELECT DISTINCT p_no, p_name, p_team_name, p_team_name +'/'+ p_name as p_departname, p_depart "
|
||||
query = query & " FROM project2.dbo.v_person "
|
||||
query = query & " WHERE p_resign = 0 and (p_depart between '20' and '90' or p_depart = 90) "
|
||||
query = query & " WHERE p_resign = 0 and (p_depart between '20' and '91' or p_depart = 90) "
|
||||
if p_depart <> "" then
|
||||
query = query & " AND p_no in (select p_no from project2.dbo.person where p_depart = '" & p_depart & "' ) " '//-- 2020-10-20 16:49:55
|
||||
end if
|
||||
|
||||
Reference in New Issue
Block a user