견적요청서 검색 입력 -> 셀렉트로 변경

This commit is contained in:
2026-02-09 16:15:56 +09:00
parent 92233da3f1
commit 1739fdca7c
3 changed files with 11 additions and 1 deletions

View File

@@ -5078,6 +5078,14 @@ ORDER BY V.PATH2
ORDER BY QRD.OBJID
</select>
<!-- 견적요청서 번호 셀렉트 목록 -->
<select id="getQuotationRequestNoList" parameterType="map" resultType="map">
SELECT DISTINCT QUOTATION_REQUEST_NO AS "CODE", QUOTATION_REQUEST_NO AS "NAME"
FROM QUOTATION_REQUEST_MASTER
WHERE QUOTATION_REQUEST_NO IS NOT NULL AND QUOTATION_REQUEST_NO != ''
ORDER BY QUOTATION_REQUEST_NO DESC
</select>
<!-- 견적요청서 번호 생성 -->
<select id="getNextQuotationRequestNo" parameterType="map" resultType="string">
SELECT 'Q' || TO_CHAR(NOW(), 'YYYYMMDD') || '-' || LPAD(NEXTVAL('SEQ_QUOTATION_REQUEST_NO')::VARCHAR, 3, '0')

View File

@@ -1648,6 +1648,8 @@ public class SalesMngController {
try {
// 프로젝트번호
code_map.put("project_no", commonService.bizMakeOptionList("", (String)paramMap.get("project_no"), "common.getProjectNameList"));
// 견적요청서 번호 목록
code_map.put("quotation_request_no", commonService.bizMakeOptionList("", (String)paramMap.get("QUOTATION_REQUEST_NO"), "salesMng.getQuotationRequestNoList"));
// 업체 목록
code_map.put("vendor_objid", commonService.bizMakeOptionList("", (String)paramMap.get("vendor_objid"), "common.getClientMngSupplySelect"));
// 상태