209 Commits

Author SHA1 Message Date
597f67303e feat: 로그인 요청 시 referer 추가 2025-07-02 11:35:53 +09:00
f64cc4ea41 fix: 조사매물 조회/제출/저장/삭제 조건 강화
- AdminSub(2차 판매점 super 유저) 조회 조건 강화
- 임시저장 매물 제출 조건 강화
- 미제출 매물 pdf 다운로드 버튼 비활성화
2025-07-02 10:43:19 +09:00
5120764108 feat: surveySale pdf 생성 방식 변경
- pdf 생성 시 response에 blob으로 반환하도록 방식 변경
- 제출 시 메일 href pdf 생성 페이지 링크에서 request url로 변경
2025-06-30 17:45:08 +09:00
c57bf8eebd Merge pull request 'fix: 문의 API URL 수정 및 ApiError 객체 파라미터 수정' (#82) from feature/inquiry into dev
Reviewed-on: #82
2025-06-27 15:31:53 +09:00
3eb7e9e3db fix: 지붕재적합성 pdf 생성시간 통일 2025-06-27 14:50:11 +09:00
e45b147b8c fix: 문의 API URL 수정 및 ApiError 객체 파라미터 수정
- 문의 API 에러 반환 객체 타입 오류 발생으로 방어 처리 추가
2025-06-27 14:48:23 +09:00
caa9927f9e fix: 조사매물 목록 조회 방어처리 추가
- 시공권한 계정으로 로그인 시 builderId가 없을 경우 목록에 아무것도 안뜨도록 수정
2025-06-27 11:01:33 +09:00
a36cda9843 docs: add annotaion for methodHandler api 2025-06-26 17:34:34 +09:00
d19ef7efc7 feat: implement method handler for survey sales API
- 보안정책으로 인해 delete, patch, put 메소드 post 메소드로 래핑하여 처리
2025-06-26 17:32:25 +09:00
6adbbc7eb3 Merge pull request 'feature/inquiry : 문의 API 에러 처리 및 코드 리팩토링' (#76) from feature/inquiry into dev
Reviewed-on: #76
2025-06-19 17:48:04 +09:00
17003cb74a refactor : change the type of error and warning messages to constant 2025-06-19 15:54:48 +09:00
d9da2ba413 fix: 조회 조건 쿼리문 수정 2025-06-19 14:08:46 +09:00
d62caaf857 refactor: implement QnaService for improved error handling and code organization 2025-06-19 11:01:18 +09:00
9afcc88670 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/inquiry 2025-06-18 15:43:37 +09:00
d690c3e774 refactor: improve error handling in API routes and services
- API 에러 시 반환 타입 통일
- Prisma 에러 검증 추가
2025-06-18 15:12:45 +09:00
12b9dd4216 refactor: enhance error handling and user feedback in survey components
- API try-catch 구문 함수 구현
- 조사 매물 alert 처리 리팩토링
2025-06-18 10:43:12 +09:00
3d5cb308a8 docs: add description annotation at inquiry API files 2025-06-18 09:19:55 +09:00
6c1bd8775c refactor: implement SurveySalesService for survey sales management 2025-06-17 18:21:02 +09:00
f6729069d7 refactor: add service layer to centralize business logic
- 코드 가독성 및 유지보수성 향상을 위한 서비스 레이어 도입
2025-06-17 14:54:42 +09:00
2edde77bae refactor: add ErrorMessages Enum for handle api error 2025-06-17 14:45:31 +09:00
17d306bb11 fix: change submit data set logic
- 제출 폼 데이터 삽입 안되는 오류 해결
- api error 메세지 설정
- api 응답 객체 변경
2025-06-17 13:20:18 +09:00
19a11783d6 fix: fix type error 2025-06-16 17:38:34 +09:00
5d5ba2e82a feat: add api logger to survey-sale api 2025-06-16 17:31:47 +09:00
b783ca92d7 feat: 기 개발된 api에 api logger 적용 2025-06-16 16:49:59 +09:00
3eb5974414 feat: api logger 적용 2025-06-12 18:05:29 +09:00
99b37e3ac3 chore: update metadata for layout components
- Changed titles and descriptions in layout.tsx files for the main app, inquiry, suitable, and survey-sale sections to reflect the new project name "HANASYS現地調査" and its specific contexts.
2025-06-12 16:07:46 +09:00
5893cd6491 fix: fix build error by Specifying the type 2025-06-12 14:31:38 +09:00
d357355641 Merge pull request 'feature/survey' (#67) from feature/survey into dev
Reviewed-on: #67
2025-06-10 17:27:41 +09:00
f51b03cab7 docs: add annotations in SurveySale related Files
- Added detailed descriptions for search parameters and API functionalities in survey-sales routes.
- Improved documentation for inquiry-related hooks and types, enhancing clarity on their usage.
- Refactored comments for better readability and consistency across the codebase.
2025-06-10 17:13:35 +09:00
25cbd92a55 fix: 지붕재적합성 detail 데이터 없는 경우 방어처리 추가 2025-06-10 15:42:38 +09:00
cc90977cd9 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/survey 2025-06-10 15:32:42 +09:00
7db421c26a refactor: Refactoring code and add error handling
- 조사매물 조회 시 로그인 여부 확인 로직 서버 사이드로 이동
- 에러 핸들링 추가
- 조사매물 수정/작성 페이지 컴포넌트 리팩토링
- 조사매물 작성 후 제출 버튼 클릭 시 node 삽입 오류 해결
2025-06-10 15:32:27 +09:00
32329b1cb7 docs: 지붕재적합성 api description 추가 2025-06-09 17:47:15 +09:00
763c9d37cf fix: fix data not loading error when navigating PDF pages without not login
- 로그인 하지 않고 pdf 링크로 이동 시 데이터 로드 되지 않는 문제 해결
- 로그인 하지 않았을 때 pdf 다운로드 이후 메인 페이지로 이동하도록 수정
2025-06-09 10:37:48 +09:00
8c91bd605c Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/survey 2025-06-05 18:06:11 +09:00
f5022ab423 feat: get submit target store, representative user emails 2025-06-05 18:06:04 +09:00
a9ef91a430 Merge branch 'feature/submition-target' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/survey 2025-06-05 16:38:02 +09:00
85344afd43 remove: 구 지붕재 적합성 pdf 페이지 삭제 2025-06-05 16:15:07 +09:00
afb67c6b36 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/suitable 2025-06-05 13:46:08 +09:00
9eea0bcc58 feat: 지붕재 데이터 조회 시 스피너 로딩처리 추가 2025-06-05 13:45:48 +09:00
9801ac4c44 fix: fix file download error 2025-06-05 11:14:25 +09:00
a7ea7ce4bc Merge pull request 'feature/survey : Session builderId필드 추가' (#59) from feature/survey into dev
Reviewed-on: #59
2025-06-04 18:12:46 +09:00
8c278b01c6 feat: add builderId field in session
- 세션에 buildId 필드 추가
- 조사매물 목록 조회 에러 핸들링 추가
2025-06-04 18:05:50 +09:00
156e983454 feat: 지붕재적합성 pdf 다운로드 중 다량데이터 요청 시 서버 shutdown 케이스 방어처리 추가 2025-06-04 18:02:33 +09:00
64a643e619 feat: add builderId to session management
- Updated session data structure to include builderId in session state.
- Modified authentication and partner API routes to handle builderId.
- Adjusted default session and initial state to initialize builderId as null.
2025-06-04 17:10:22 +09:00
574de12908 feat: 지붕재적합성 pdf 다운로드 api (ssr) 방식 추가 2025-06-04 16:46:27 +09:00
9a91727c98 fix: modify error handling when status 403 2025-06-04 15:47:47 +09:00
50617c7b7f fix: fix rendering issue
- 매물 수정/작성 시 담당자명, 판매점명, 시공점명 랜더링 안되는 문제 해결
- T01 계정 수정 버튼 랜더링 안되는 문제 해결
2025-06-04 13:28:42 +09:00
0c27c19341 refactor: modify member permission verification logic
- 매물 조회 권한 검증 로직 리팩토링
2025-06-04 10:51:11 +09:00
e756465250 feat: enhance survey sales API and component integration
- 조사매물 조회 시 권한 확인 로직 추가
2025-06-02 18:09:42 +09:00