[이정표] 견적서 2차점 가격 보이도록 처리 (2차가 작성한 경우)

This commit is contained in:
jungpyo 2026-01-14 13:11:58 +09:00
parent 6682663381
commit 54471f06f9
2 changed files with 7 additions and 4 deletions

View File

@ -1667,8 +1667,8 @@ public class EstimateService {
String userId = estimateRequest.getUserId();
String storeLvl = estimateRequest.getStoreLvl();
String createStoreId = estimateRequest.getCreateStoreId();
if(storeLvl != null && storeLvl.equals("2")){
if(!Objects.equals(createStoreId, userId))
if(storeLvl != null && !storeLvl.equals("1")){
if(!Objects.equals(estimateResponse.getCreateSaleStoreId(), userId))
templateFilePath = "pdf_download_quotation_detail_template2.html";
}
@ -1721,8 +1721,8 @@ public class EstimateService {
String userId = estimateRequest.getUserId();
String storeLvl = estimateRequest.getStoreLvl();
String createStoreId = estimateRequest.getCreateStoreId();
if(storeLvl != null && storeLvl.equals("2")){
if(!Objects.equals(createStoreId, userId))
if(storeLvl != null && !storeLvl.equals("1")){
if(!Objects.equals(estimateResponse.getCreateSaleStoreId(), userId))
excelTemplateNam = "excel_download_quotation_detail_template2.xlsx";
}

View File

@ -307,5 +307,8 @@ public class EstimateResponse {
@Schema(description = "영업점 Fax번호")
private String salesOfficeFax;
@Schema(description = "작성자 판매점 ID")
private String createSaleStoreId;
}