191 Commits

Author SHA1 Message Date
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
1bddc86bcf chore: enhance survey detail validation
- 건축연수, 단열재의 유무 필드 기타 항목 유효성 검사 추가
- ORDER, MUSUBI 조사매물 목록 검색조건에 판매점Id, 시공점Id 추가
- T01 계정의 경우 제출받은 매물만 수정/삭제 가능하도록 수정
-
2025-06-02 15:46:07 +09:00
749dd30ecb refactor: update survey submission handling and improve data validation 2025-06-02 13:33:23 +09:00
69571e86b8 refactor: update Prisma schema to enhance data models
- Added BC_QM_BUILDER, BC_QM_TERMS, BC_QM_USER, IF_PERSON_OFFICE_MAPPING, MS_CUST_AGENCY_STOREID, MS_CUST_H, MS_CUST_PERSON, MS_CUST_STOREID, MS_CUST_STOREID_ADDITNL models to the Prisma schema for improved data structure.
- Reintroduced CONSTRUCTION_POINT_ID and SUBMISSION_TARGET_NM fields in SD_SURVEY_SALES_BASIC_INFO model for consistency and enhanced data representation.
2025-06-02 11:34:25 +09:00
46e6bc36f8 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/survey 2025-06-02 10:16:10 +09:00
454a8a39a9 refactor: rename store to storeId in API and components for consistency 2025-06-02 10:16:00 +09:00
ca45c68b9d refactor: update builderNm field in session management
- Set builderNm in session and response payload based on user data for improved session tracking.
- Ensured consistency in session management structures.
2025-06-02 10:15:50 +09:00
4ed8a78192 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/survey 2025-05-30 17:50:43 +09:00
39645affa6 feat: add contructionPointId, submissionTargetNm column in survey_basic model 2025-05-30 17:15:45 +09:00
53966a16e1 refactor: enhance session management by adding builderNm field
- Introduced builderNm field to SessionData interface for improved session tracking.
- Updated API routes to set builderNm based on user data.
- Modified useAxios hook to manage spinner visibility more effectively.
- Adjusted ReactQueryProvider to disable retry on queries for better performance.
2025-05-30 17:12:54 +09:00
799b0025c4 feat: add spinning when create/update/delete survey & fix rules for displaying store, contructionPoint input 2025-05-30 13:58:41 +09:00
7f14135616 fix: resolve file download error
- content-type이 text/html 일 경우에만 에러 핸들링, 이외 타입은 octet-stream으로 반환
2025-05-29 13:47:07 +09:00
8c36446de7 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/inquiry 2025-05-29 13:29:36 +09:00
f0b23c35af feat: change the order of fields at inquiry regist, detail page 2025-05-29 11:35:19 +09:00
5be7237aa6 feat: 지붕재적합성 상세팝업 데이터 표출 추가 및 TODO 수정 2025-05-29 10:07:05 +09:00
52a2032a8c feat: implement file download function 2025-05-28 11:25:30 +09:00
70903cd779 Merge branch 'feature/survey' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/inquiry 2025-05-28 10:22:31 +09:00
478ae3a784 Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/inquiry 2025-05-28 10:22:08 +09:00
6d837d3e98 feat: implement SurveySaleDownloadPdf component and integrate with survey details for PDF generation 2025-05-28 10:21:26 +09:00