견적요청서관리 검색필터 상태 -> 메일발송
This commit is contained in:
@@ -356,8 +356,8 @@ function fn_openMailFormPopup(quotationRequestObjId){
|
||||
<td><label for="">공급업체</label></td>
|
||||
<td><select name="VENDOR_OBJID" id="VENDOR_OBJID" class="select2" autocomplete="off" style=""><option value="">선택</option>${code_map.vendor_objid}</select></td>
|
||||
|
||||
<td><label for="">상태</label></td>
|
||||
<td><select name="STATUS" id="STATUS" class="select2" autocomplete="off" style="">${code_map.status}</select></td>
|
||||
<td><label for="">메일발송</label></td>
|
||||
<td><select name="MAIL_SEND_YN" id="MAIL_SEND_YN" class="select2" autocomplete="off" style="">${code_map.mail_send_yn}</select></td>
|
||||
|
||||
<td><label for="">작성자</label></td>
|
||||
<td><select name="writer" id="writer" class="select2" autocomplete="off" style=""><option value="">선택</option>${code_map.writer}</select></td>
|
||||
|
||||
@@ -4992,8 +4992,16 @@ ORDER BY V.PATH2
|
||||
<if test="VENDOR_OBJID != null and VENDOR_OBJID != ''">
|
||||
AND QRM.VENDOR_OBJID::VARCHAR = #{VENDOR_OBJID}
|
||||
</if>
|
||||
<if test="STATUS != null and STATUS != ''">
|
||||
AND QRM.STATUS = #{STATUS}
|
||||
<!-- 메일발송 여부 검색 (날짜 유무 기준) -->
|
||||
<if test="MAIL_SEND_YN != null and MAIL_SEND_YN != ''">
|
||||
<choose>
|
||||
<when test="MAIL_SEND_YN == 'Y'.toString()">
|
||||
AND QRM.MAIL_SEND_DATE IS NOT NULL
|
||||
</when>
|
||||
<otherwise>
|
||||
AND QRM.MAIL_SEND_DATE IS NULL
|
||||
</otherwise>
|
||||
</choose>
|
||||
</if>
|
||||
<!-- 작성자 검색 -->
|
||||
<if test="writer != null and writer != ''">
|
||||
|
||||
@@ -1652,14 +1652,12 @@ public class SalesMngController {
|
||||
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"));
|
||||
// 상태
|
||||
// 메일발송 상태 (미발송/발송)
|
||||
String statusOptions = "";
|
||||
statusOptions += "<option value=''>전체</option>";
|
||||
statusOptions += "<option value='create'" + ("create".equals(paramMap.get("status")) ? " selected" : "") + ">작성중</option>";
|
||||
statusOptions += "<option value='sent'" + ("sent".equals(paramMap.get("status")) ? " selected" : "") + ">발송완료</option>";
|
||||
statusOptions += "<option value='received'" + ("received".equals(paramMap.get("status")) ? " selected" : "") + ">견적수신</option>";
|
||||
statusOptions += "<option value='completed'" + ("completed".equals(paramMap.get("status")) ? " selected" : "") + ">완료</option>";
|
||||
code_map.put("status", statusOptions);
|
||||
statusOptions += "<option value='N'" + ("N".equals(paramMap.get("MAIL_SEND_YN")) ? " selected" : "") + ">미발송</option>";
|
||||
statusOptions += "<option value='Y'" + ("Y".equals(paramMap.get("MAIL_SEND_YN")) ? " selected" : "") + ">발송</option>";
|
||||
code_map.put("mail_send_yn", statusOptions);
|
||||
// 작성자
|
||||
code_map.put("writer", commonService.bizMakeOptionList("", (String)paramMap.get("writer"), "common.getUserselect"));
|
||||
//제품구분
|
||||
|
||||
Reference in New Issue
Block a user