445 lines
15 KiB
Markdown
445 lines
15 KiB
Markdown
# Extracted SQL Queries
|
|
|
|
- Source: E:\project\PQ\Restored_Source\extracted_queries.txt
|
|
- Generated at: 2026-07-27 13:26:06
|
|
- Total query blocks: 38
|
|
|
|
## Query 1
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개발실적 생성 / frmDevelop_Load; 투자실적 생성 / frmInvest_Load; 활용실적 생성 / frmMost_Load; R & D 실적 생성 / frmRD_Load
|
|
- Source function: LoadSection
|
|
- Line: 205
|
|
|
|
```csharp
|
|
string cmdText = "select * from section_tbl where ServiceSection='" + i_Section + "'";
|
|
```
|
|
|
|
## Query 2
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개발실적 생성 > 저장 / btnSave_Click; 투자실적 생성 > 저장 / btnSave_Click; 활용실적 생성 > 저장 / btnSave_Click; R & D 실적 생성 > 저장 / btnSave_Click
|
|
- Source function: SaveSection
|
|
- Line: 264
|
|
|
|
```csharp
|
|
string i_szsql = "delete from section_tbl where ServiceSection='" + i_Section + "'";
|
|
```
|
|
|
|
## Query 3
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개발실적 생성 > 저장 / btnSave_Click; 투자실적 생성 > 저장 / btnSave_Click; 활용실적 생성 > 저장 / btnSave_Click; R & D 실적 생성 > 저장 / btnSave_Click
|
|
- Source function: SaveSection
|
|
- Line: 294
|
|
|
|
```csharp
|
|
i_szsql = "insert into section_tbl(ServiceSection,seq,viewdata) values(";
|
|
i_szsql = i_szsql + "'" + i_Section + "',";
|
|
i_szsql = i_szsql + "" + Conversions.ToString(num) + ",";
|
|
i_szsql = i_szsql + "'" + text + "')";
|
|
```
|
|
|
|
## Query 4
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 조건검색 / frmReportFindCondition_Load
|
|
- Source function: LoadSearchCondition
|
|
- Line: 325
|
|
|
|
```csharp
|
|
string cmdText = "select * from section_tbl where jobcode='" + i_JobCode + "' and mode='" + i_Mode + "'";
|
|
```
|
|
|
|
## Query 5
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 조건검색 > 선택 정보 적용 / btnSave_Click
|
|
- Source function: SaveSearchCondition
|
|
- Line: 386
|
|
|
|
```csharp
|
|
string i_szsql = "delete from search_condition_tbl where jobcode='" + i_JobCode + "' and mode='" + i_Mode + "'";
|
|
```
|
|
|
|
## Query 6
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 조건검색 > 선택 정보 적용 / btnSave_Click
|
|
- Source function: SaveSearchCondition
|
|
- Line: 417
|
|
|
|
```csharp
|
|
i_szsql = "insert into search_condition_tbl(jobcode,mode,seq,viewdata) values(";
|
|
i_szsql = i_szsql + "'" + i_JobCode + "',";
|
|
i_szsql = i_szsql + "'" + i_Mode + "',";
|
|
i_szsql = i_szsql + "" + Conversions.ToString(num) + ",";
|
|
i_szsql = i_szsql + "'" + text + "')";
|
|
```
|
|
|
|
## Query 7
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인작업 초기화 / menuUserJobClear_Click
|
|
- Source function: InitDataBase
|
|
- Line: 451
|
|
|
|
```csharp
|
|
string cmdText = "delete from hwp_Person_Detail_tbl ";
|
|
```
|
|
|
|
## Query 8
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인작업 초기화 / menuUserJobClear_Click
|
|
- Source function: InitDataBase
|
|
- Line: 455
|
|
|
|
```csharp
|
|
cmdText = "delete from hwp_Person_JobList_tbl ";
|
|
```
|
|
|
|
## Query 9
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인작업 초기화 / menuUserJobClear_Click
|
|
- Source function: InitDataBase
|
|
- Line: 459
|
|
|
|
```csharp
|
|
cmdText = "delete from hwp_person_tbl ";
|
|
```
|
|
|
|
## Query 10
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인작업 초기화 / menuUserJobClear_Click
|
|
- Source function: InitDataBase
|
|
- Line: 463
|
|
|
|
```csharp
|
|
cmdText = "delete from person_job_tbl ";
|
|
```
|
|
|
|
## Query 11
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인작업 초기화 / menuUserJobClear_Click
|
|
- Source function: InitDataBase
|
|
- Line: 467
|
|
|
|
```csharp
|
|
cmdText = "delete from project_user_define_tbl ";
|
|
```
|
|
|
|
## Query 12
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인작업 초기화 / menuUserJobClear_Click
|
|
- Source function: InitDataBase
|
|
- Line: 471
|
|
|
|
```csharp
|
|
cmdText = "delete from search_condition_tbl ";
|
|
```
|
|
|
|
## Query 13
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인작업 초기화 / menuUserJobClear_Click
|
|
- Source function: InitDataBase
|
|
- Line: 475
|
|
|
|
```csharp
|
|
cmdText = "delete from section_tbl ";
|
|
```
|
|
|
|
## Query 14
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: frmHwpCtrlView.cs / MakeHwpReportPerson
|
|
- Source function: GetPersonList
|
|
- Line: 526
|
|
|
|
```csharp
|
|
string cmdText = "select membercode from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' group by membercode";
|
|
```
|
|
|
|
## Query 15
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: frmHwpCtrlView.cs / MakeHwpReportPerson
|
|
- Source function: SaveFileDetailSection
|
|
- Line: 584
|
|
|
|
```csharp
|
|
string cmdText = "select * from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' order by seq";
|
|
```
|
|
|
|
## Query 16
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: frmHwpCtrlView.cs / MakeHwpReportPerson
|
|
- Source function: GetPersonDetailSection
|
|
- Line: 644
|
|
|
|
```csharp
|
|
string cmdText = "select * from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "'";
|
|
```
|
|
|
|
## Query 17
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: frmHwpCtrlView.cs / MakeHwpReportPerson; 기술자실적 생성 / DownloadDataView_01; 기술자실적 생성 / WebQueryLib1_OnResultMessage
|
|
- Source function: GetPersonDetailChoice
|
|
- Line: 702
|
|
|
|
```csharp
|
|
string cmdText = "select * from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' and choice=1";
|
|
```
|
|
|
|
## Query 18
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 기술자실적 생성 / DownloadDataView_01; 기술자실적 생성 > 저장 / btnSave_Click
|
|
- Source function: UpdatePersonDetailChoiceSection
|
|
- Line: 747
|
|
|
|
```csharp
|
|
string i_szsql = "update hwp_Person_Detail_tbl set choice=0 where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "'";
|
|
```
|
|
|
|
## Query 19
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 기술자실적 생성 / DownloadDataView_01; 기술자실적 생성 > 저장 / btnSave_Click
|
|
- Source function: UpdatePersonDetailChoiceSection
|
|
- Line: 749
|
|
|
|
```csharp
|
|
i_szsql = "update hwp_Person_Detail_tbl set choice=1 where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' and viewdata='" + i_WriteData + "'";
|
|
```
|
|
|
|
## Query 20
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 기술자실적 생성 / DownloadDataView_01; 기술자실적 생성 / AddSearchItem; 기술자실적 생성 > 저장 / btnSave_Click
|
|
- Source function: SavePersonDetailSection
|
|
- Line: 758
|
|
|
|
```csharp
|
|
string i_szsql = "delete from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' and section_item='" + i_Section + "' and seq=" + Conversions.ToString(i_Seq);
|
|
```
|
|
|
|
## Query 21
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 기술자실적 생성 / DownloadDataView_01; 기술자실적 생성 / AddSearchItem; 기술자실적 생성 > 저장 / btnSave_Click
|
|
- Source function: SavePersonDetailSection
|
|
- Line: 760
|
|
|
|
```csharp
|
|
i_szsql = "insert into hwp_Person_Detail_tbl(jobcode,membercode,section_item,seq,viewdata) values(";
|
|
i_szsql = i_szsql + "'" + i_JobCode + "',";
|
|
i_szsql = i_szsql + "'" + i_MemberNo + "',";
|
|
i_szsql = i_szsql + "'" + i_Section + "',";
|
|
i_szsql = i_szsql + "" + Conversions.ToString(i_Seq) + ",";
|
|
i_szsql = i_szsql + "'" + i_WriteData + "')";
|
|
```
|
|
|
|
## Query 22
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 프로젝트 코드 생성 > 저장 / btnSave_Click
|
|
- Source function: ClearPersonDetailSection
|
|
- Line: 777
|
|
|
|
```csharp
|
|
string i_szsql = "delete from hwp_Person_Detail_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "'";
|
|
```
|
|
|
|
## Query 23
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 프로젝트 코드 생성 > 저장 / btnSave_Click
|
|
- Source function: ClearPersonDetailSection
|
|
- Line: 803
|
|
|
|
```csharp
|
|
string cmdText = "select * from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' order by seq asc ";
|
|
```
|
|
|
|
## Query 24
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 기술자실적 생성 > 첨부자료 조회 및 다운로드 / btnDownloadFile_Click
|
|
- Source function: LoadJobList
|
|
- Line: 960
|
|
|
|
```csharp
|
|
string cmdText = "select * from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "'";
|
|
```
|
|
|
|
## Query 25
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: frmHwpCtrlView.cs / MakeHwpReportPerson
|
|
- Source function: SaveFilePersonJobList
|
|
- Line: 1336
|
|
|
|
```csharp
|
|
cmdText = "select * from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "' order by seq asc ";
|
|
```
|
|
|
|
## Query 26
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 프로젝트 코드 생성 > 저장 / btnSave_Click; 기술자실적 생성 / AddSearchItem; 기술자실적 생성 > 저장 / btnSave_Click; 기술자실적 생성 > 자료 초기화 / btnClearPersonData_Click
|
|
- Source function: ClearPersonJobList
|
|
- Line: 1651
|
|
|
|
```csharp
|
|
string i_szsql = "delete from hwp_Person_JobList_tbl where jobcode='" + i_JobCode + "' and membercode='" + i_MemberNo + "'";
|
|
```
|
|
|
|
## Query 27
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 기술자실적 생성 / AddSearchItem; 기술자실적 생성 > 저장 / btnSave_Click
|
|
- Source function: SavePersonJobList
|
|
- Line: 1663
|
|
|
|
```csharp
|
|
string text = "insert into hwp_Person_JobList_tbl(jobcode,membercode,seq,viewdata) values(";
|
|
text = text + "'" + i_JobCode + "',";
|
|
text = text + "'" + i_MemberNo + "',";
|
|
text = text + "" + i_Seq + ",";
|
|
text = text + "'" + i_WriteData + "')";
|
|
```
|
|
|
|
## Query 28
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 프로젝트 코드 생성 > ... / btnSearchProject_Click_1; 사업코드 찾기 / DownloadDataView_01
|
|
- Source function: GetProjectUserName
|
|
- Line: 1695
|
|
|
|
```csharp
|
|
string cmdText = "select * from project_user_define_tbl where jobcode='" + i_JobCode + "'";
|
|
```
|
|
|
|
## Query 29
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 프로젝트 코드 생성 > 저장 / btnSave_Click
|
|
- Source function: SaveProjectUserName
|
|
- Line: 1753
|
|
|
|
```csharp
|
|
string i_szsql = "delete from project_user_define_tbl where jobcode='" + i_JobCode + "'";
|
|
```
|
|
|
|
## Query 30
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 프로젝트 코드 생성 > 저장 / btnSave_Click
|
|
- Source function: SaveProjectUserName
|
|
- Line: 1758
|
|
|
|
```csharp
|
|
i_szsql = "insert into project_user_define_tbl (JobCode,projectname) values('" + i_JobCode + "','" + i_ProjectName + "')";
|
|
```
|
|
|
|
## Query 31
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: DB 공통 처리 / DatabaseTableCheck_FindCondition
|
|
- Source function: CheckTableAlive
|
|
- Line: 1812
|
|
|
|
```csharp
|
|
string text = "select count(*) from find_condition ";
|
|
```
|
|
|
|
## Query 32
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 개인백업 / btnPersonDBBackup_Click; frmMainMDI.cs / DatabaseTableCheck_FindCondition
|
|
- Source function: DatabaseTableCheck_FindCondition
|
|
- Line: 1870
|
|
|
|
```csharp
|
|
string i_szsql = "create table find_condition( kind text(50), data_key text(50), data_seq counter, contents text(250) )";
|
|
```
|
|
|
|
## Query 33
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 조건검색 / frmReportFindCondition_FormClosed
|
|
- Source function: FindConditionClear
|
|
- Line: 1923
|
|
|
|
```csharp
|
|
string cmdText = "delete from find_condition where kind='" + i_kind + "' and data_key='" + i_data_key + "'";
|
|
```
|
|
|
|
## Query 34
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 조건검색 / frmReportFindCondition_FormClosed
|
|
- Source function: FindConditionAdd
|
|
- Line: 1974
|
|
|
|
```csharp
|
|
string text = "insert into find_condition(kind,data_key,data_seq,contents) values(";
|
|
text = text + "'" + i_kind + "'";
|
|
text = text + ",'" + i_data_key + "'";
|
|
text = text + ",'" + Conversions.ToString(i_seq) + "'";
|
|
text = text + ",'" + i_contents + "'";
|
|
```
|
|
|
|
## Query 35
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\ClassDataBase.cs
|
|
- Menu: 조건검색 / frmReportFindCondition_Load
|
|
- Source function: FindConditionLoad
|
|
- Line: 2030
|
|
|
|
```csharp
|
|
string cmdText = "select * from find_condition where kind='" + i_kind + "' and data_key='" + i_data_key + "' order by data_seq asc";
|
|
```
|
|
|
|
## Query 36
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\frmCompanyProjectInfo.cs
|
|
- Menu: 회사실적관리 / AxfpSpread1_ClickEvent; 회사실적관리 / WebQueryLib1_OnResultMessage; 개발투자 편집 / AxfpSpread1_ClickEvent; 개발투자 편집 / WebQueryLib1_OnResultMessage; 투자실적 편집 / AxfpSpread1_ClickEvent; 투자실적 편집 / WebQueryLib1_OnResultMessage; 활용실적 편집 / AxfpSpread1_ClickEvent; 활용실적 편집 / WebQueryLib1_OnResultMessage; 기술자실적 생성 / WebQueryLib1_OnResultMessage; 기술자실적 생성 / AxfpSpread1_ClickEvent; 기술자별 설적관리 / AxfpSpread1_ClickEvent; 기술자별 설적관리 / WebQueryLib1_OnResultMessage; 개인정보 편집 / frmPersonInfo_Load; 개인정보 편집 / AxfpSpread1_ClickEvent; 개인정보 편집 / WebQueryLib1_OnResultMessage; R & D 실적 편집 / AxfpSpread1_ClickEvent; R & D 실적 편집 / WebQueryLib1_OnResultMessage; 기술자별 용역현황 / AxfpSpread1_ClickEvent; 기술자별 용역현황 / WebQueryLib2_OnResultMessage; 개인별 업무중복도 / WebQueryLib2_OnResultMessage; 개인별 업무중복도 / AxfpSpread1_ClickEvent
|
|
- Source function: ViewTableData
|
|
- Line: 5023
|
|
|
|
```csharp
|
|
mNewProject = "select";
|
|
```
|
|
|
|
## Query 37
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\frmMainMDI.cs
|
|
- Menu: frmMainMDI.cs / frmMainMDI_Load
|
|
- Source function: frmMainMDI_Load
|
|
- Line: 4677
|
|
|
|
```csharp
|
|
i_URL = "http://" + CommonModule.gServerAddress + "/pq/Update.php?ActionMode=VersionCheck";
|
|
```
|
|
|
|
## Query 38
|
|
|
|
- File: E:\project\PQ\Restored_Source\PQProject\PQProject\frmUserAuth.cs
|
|
- Menu: 회사실적 문서생성 > 화면 초기화 / btnClearItem_Click; 개발실적 생성 > 화면 초기화 / btnClearItem_Click; 투자실적 생성 > 화면 초기화 / btnClearItem_Click; 활용실적 생성 > 화면 초기화 / btnClearItem_Click; R & D 실적 생성 > 화면 초기화 / btnClearItem_Click
|
|
- Source function: btnSave_Click
|
|
- Line: 754
|
|
|
|
```csharp
|
|
string i_URL = "http://" + CommonModule.gServerAddress + "/pq/sys/controller/ClientAjax_controller.php?ActionMode=Screen_00_001&SubAction=userlist-update";
|
|
```
|
|
|