From b3572f326520545ba2d1a4a69b29520a055cb649 Mon Sep 17 00:00:00 2001
From: jack <jack.su@pollex.com.tw>
Date: 星期四, 27 七月 2023 16:26:05 +0800
Subject: [PATCH] [ADD] 預約單相關API新增欄位諮詢方式(consultationMethod), todo: 169489

---
 pamapi/src/doc/預約單/取得客戶所有預約單資料group by consultant.txt |  348 ++++++++++++---------------------------------------------
 1 files changed, 75 insertions(+), 273 deletions(-)

diff --git "a/pamapi/src/doc/\351\240\220\347\264\204\345\226\256/\345\217\226\345\276\227\345\256\242\346\210\266\346\211\200\346\234\211\351\240\220\347\264\204\345\226\256\350\263\207\346\226\231group by consultant.txt" "b/pamapi/src/doc/\351\240\220\347\264\204\345\226\256/\345\217\226\345\276\227\345\256\242\346\210\266\346\211\200\346\234\211\351\240\220\347\264\204\345\226\256\350\263\207\346\226\231group by consultant.txt"
index 03968c5..8fb9ce8 100644
--- "a/pamapi/src/doc/\351\240\220\347\264\204\345\226\256/\345\217\226\345\276\227\345\256\242\346\210\266\346\211\200\346\234\211\351\240\220\347\264\204\345\226\256\350\263\207\346\226\231group by consultant.txt"
+++ "b/pamapi/src/doc/\351\240\220\347\264\204\345\226\256/\345\217\226\345\276\227\345\256\242\346\210\266\346\211\200\346\234\211\351\240\220\347\264\204\345\226\256\350\263\207\346\226\231group by consultant.txt"
@@ -4,277 +4,79 @@
 
 
 response body :
-
-[
-    {
-        "agentNo": "A568420",
-        "name": "雓�◢",
-        "img": "C://pam_file/consultant_A568420.jpg",
-        "expertise": [
-            "�摨瑁����",
-            "摮戊��"
-        ],
-        "avgScore": 1.0,
-        "contactStatus": "closed",
-        "createTime": "2021-12-29T09:33:16.526Z",
-        "updateTime": "2022-03-22T03:49:05.602Z",
-        "customerViewTime": "2021-12-29T09:33:18.727Z",
-        "role": "66666",
-        "seniority": "40 撟� 10 ���",
-        "appointments": [
-            {
-                "id": 435,
-                "phone": "0973057067",
-                "email": "",
-                "contactType": "phone",
-                "gender": "male",
-                "age": "under_20",
-                "job": "憭",
-                "requirement": "�摨瑁����",
-                "communicateStatus": "closed",
-                "hopeContactTime": "'����,�����,�����,�����,�����,���,�����9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'",
-                "otherRequirement": null,
-                "appointmentDate": "2021-12-29T09:33:16.643Z",
-                "lastModifiedDate": "2022-03-22T03:49:05.602Z",
-                "agentNo": "A568420",
-                "customerId": 90,
-                "name": "Jack",
-                "consultantViewTime": "2021-12-29T09:33:49.547Z",
-                "consultantReadTime": "2021-12-29T09:37:21.710Z",
-                "contactTime": "2022-01-04T03:34:09.399Z",
-                "satisfactionScore": null,
-                "appointmentMemoList": [],
-                "interviewRecordDTOs": [],
-                "appointmentNoticeLogs": [],
-                "appointmentClosedInfo": {
-                    "id": 70,
-                    "policyholderIdentityId": null,
-                    "planCode": null,
-                    "policyEntryDate": null,
-                    "remark": "ddddde",
-                    "closedReason": "economy",
-                    "closedOtherReason": null,
-                    "appointmentId": 435
-                }
-            }
-        ]
+[ {
+  "agentNo" : "A568420",
+  "name" : "雓�◢",
+  "img" : "C://pam_file/consultant_A568420.jpg",
+  "expertise" : [ "�摨瑁����", "摮戊��" ],
+  "avgScore" : 1.0,
+  "contactStatus" : "reserved",
+  "createTime" : "2021-12-29T09:33:16.526Z",
+  "updateTime" : "2023-07-27T07:50:58.167Z",
+  "customerViewTime" : "2021-12-29T09:33:18.727Z",
+  "role" : "66666",
+  "seniority" : "39 撟� 4 ���",
+  "entryDate" : "1984-03-29T00:00:00.000+00:00",
+  "appointments" : [ {
+    "id" : 435,
+    "phone" : "0973057067",
+    "email" : "",
+    "contactType" : "phone",
+    "gender" : "male",
+    "age" : "under_20",
+    "job" : "憭",
+    "requirement" : "�摨瑁����",
+    "communicateStatus" : "closed",
+    "hopeContactTime" : "'����,�����,�����,�����,�����,���,�����9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'",
+    "otherRequirement" : null,
+    "appointmentDate" : "2021-12-29T09:33:16.643Z",
+    "lastModifiedDate" : "2022-03-22T03:49:05.602Z",
+    "agentNo" : "A568420",
+    "customerId" : 90,
+    "name" : "Jack",
+    "consultantViewTime" : "2021-12-29T09:33:49.547Z",
+    "consultantReadTime" : "2021-12-29T09:37:21.710Z",
+    "contactTime" : "2022-01-04T03:34:09.399Z",
+    "satisfactionScore" : null,
+    "appointmentMemoList" : [ ],
+    "interviewRecordDTOs" : [ ],
+    "appointmentNoticeLogs" : [ ],
+    "appointmentClosedInfo" : {
+      "id" : 70,
+      "policyholderIdentityId" : null,
+      "planCode" : null,
+      "policyEntryDate" : null,
+      "remark" : "ddddde",
+      "closedReason" : "economy",
+      "closedOtherReason" : null,
+      "appointmentId" : 435
     },
-    {
-        "agentNo": "B282677963",
-        "name": "�憒�",
-        "img": "C://pam_file/consultant_B282677963.jpg",
-        "expertise": [
-            "�摨瑁����",
-            "鞈閬��",
-            "璅暑��隡�",
-            "靽�瑼�/閬��"
-        ],
-        "avgScore": 3.5,
-        "contactStatus": "reserved",
-        "createTime": "2021-11-30T12:31:57.310Z",
-        "updateTime": "2021-12-06T05:36:58.867Z",
-        "customerViewTime": "2021-12-14T07:09:13.150Z",
-        "role": "",
-        "seniority": "30 撟� 8 ���",
-        "appointments": [
-            {
-                "id": 136,
-                "phone": "0973057067",
-                "email": "",
-                "contactType": "phone",
-                "gender": "",
-                "age": "31-40",
-                "job": "",
-                "requirement": "摮戊��",
-                "communicateStatus": "reserved",
-                "hopeContactTime": "'蝳格��,蝳格���,蝳格���,蝳格���,蝳格���,蝳格�,蝳格���9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'",
-                "otherRequirement": null,
-                "appointmentDate": "2021-11-30T12:39:38.702Z",
-                "lastModifiedDate": "2021-12-06T05:36:58.867Z",
-                "agentNo": "B282677963",
-                "customerId": 90,
-                "name": "Jack",
-                "consultantViewTime": "2021-12-06T05:36:33.180Z",
-                "consultantReadTime": "2021-12-06T05:36:58.866Z",
-                "contactTime": null,
-                "satisfactionScore": 2.0,
-                "appointmentMemoList": [],
-                "interviewRecordDTOs": [],
-                "appointmentNoticeLogs": [],
-                "appointmentClosedInfo": null
-            },
-            {
-                "id": 134,
-                "phone": "0973057067",
-                "email": "",
-                "contactType": "phone",
-                "gender": "",
-                "age": "",
-                "job": "",
-                "requirement": "摮戊��",
-                "communicateStatus": "reserved",
-                "hopeContactTime": "'蝳格��,蝳格���,蝳格���,蝳格���,蝳格���,蝳格�,蝳格���9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'",
-                "otherRequirement": null,
-                "appointmentDate": "2021-11-30T12:33:48.006Z",
-                "lastModifiedDate": "2021-12-06T05:37:00.385Z",
-                "agentNo": "B282677963",
-                "customerId": 90,
-                "name": "Jack",
-                "consultantViewTime": "2021-12-06T05:36:33.180Z",
-                "consultantReadTime": "2021-12-06T05:37:00.384Z",
-                "contactTime": null,
-                "satisfactionScore": 4.0,
-                "appointmentMemoList": [],
-                "interviewRecordDTOs": [],
-                "appointmentNoticeLogs": [],
-                "appointmentClosedInfo": null
-            },
-            {
-                "id": 135,
-                "phone": "0973057067",
-                "email": "",
-                "contactType": "phone",
-                "gender": "",
-                "age": "31-40",
-                "job": "",
-                "requirement": "摮戊��",
-                "communicateStatus": "reserved",
-                "hopeContactTime": "'蝳格��,蝳格���,蝳格���,蝳格���,蝳格���,蝳格�,蝳格���9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'",
-                "otherRequirement": null,
-                "appointmentDate": "2021-11-30T12:38:28.930Z",
-                "lastModifiedDate": "2021-12-06T05:37:02.646Z",
-                "agentNo": "B282677963",
-                "customerId": 90,
-                "name": "Jack",
-                "consultantViewTime": "2021-12-06T05:36:33.180Z",
-                "consultantReadTime": "2021-12-06T05:37:02.645Z",
-                "contactTime": null,
-                "satisfactionScore": 4.0,
-                "appointmentMemoList": [],
-                "interviewRecordDTOs": [],
-                "appointmentNoticeLogs": [],
-                "appointmentClosedInfo": null
-            },
-            {
-                "id": 133,
-                "phone": "0973057067",
-                "email": "",
-                "contactType": "phone",
-                "gender": "",
-                "age": "",
-                "job": "",
-                "requirement": "摮戊��",
-                "communicateStatus": "reserved",
-                "hopeContactTime": "'蝳格��,蝳格���,蝳格���,蝳格���,蝳格���,蝳格�,蝳格���9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'",
-                "otherRequirement": null,
-                "appointmentDate": "2021-11-30T12:31:57.419Z",
-                "lastModifiedDate": "2021-12-06T05:37:05.639Z",
-                "agentNo": "B282677963",
-                "customerId": 90,
-                "name": "Jack",
-                "consultantViewTime": "2021-12-06T05:36:33.180Z",
-                "consultantReadTime": "2021-12-06T05:37:05.639Z",
-                "contactTime": null,
-                "satisfactionScore": null,
-                "appointmentMemoList": [],
-                "interviewRecordDTOs": [],
-                "appointmentNoticeLogs": [],
-                "appointmentClosedInfo": null
-            }
-        ]
-    },
-    {
-        "agentNo": "AGAM11249699",
-        "name": "����",
-        "img": "C://pam_file/consultant_AGAM11249699.jpg",
-        "expertise": [
-            "�摨瑁����",
-            "鞈閬��",
-            "摮戊��",
-            "靽�瑼�/閬��"
-        ],
-        "avgScore": 4.4,
-        "contactStatus": "contacted",
-        "createTime": "2021-11-29T04:02:01.176Z",
-        "updateTime": "2021-12-02T09:51:22.571Z",
-        "customerViewTime": "2021-12-14T07:09:13.150Z",
-        "role": "��陸靽蝬�鈭�",
-        "seniority": "10 撟� 6 ���",
-        "appointments": [
-            {
-                "id": 123,
-                "phone": "0973057067",
-                "email": "",
-                "contactType": "phone",
-                "gender": "",
-                "age": "",
-                "job": "",
-                "requirement": "",
-                "communicateStatus": "contacted",
-                "hopeContactTime": "'蝳格����9:00~12:00'",
-                "otherRequirement": null,
-                "appointmentDate": "2021-12-03T03:25:17.075Z",
-                "lastModifiedDate": "2021-12-02T09:51:22.571Z",
-                "agentNo": "AGAM11249699",
-                "customerId": 90,
-                "name": "Jack",
-                "consultantViewTime": "2021-12-03T03:25:16.996Z",
-                "consultantReadTime": "2021-12-02T09:51:22.571Z",
-                "contactTime": "2021-12-03T03:25:17.075Z",
-                "satisfactionScore": 4.0,
-                "appointmentMemoList": [],
-                "interviewRecordDTOs": [],
-                "appointmentNoticeLogs": [],
-                "appointmentClosedInfo": null
-            }
-        ]
-    },
-    {
-        "agentNo": "R221444250",
-        "name": "撏祠",
-        "img": "C://pam_file/consultant_R221444250.jpg",
-        "expertise": [
-            "�摨瑁����",
-            "摮戊��",
-            "鞈閬��",
-            "璅暑��隡�",
-            "靽�瑼�/閬��",
-            "����"
-        ],
-        "avgScore": 3.1,
-        "contactStatus": "reserved",
-        "createTime": "2021-12-14T07:10:02.068Z",
-        "updateTime": "2021-12-14T07:10:02.144Z",
-        "customerViewTime": "2021-12-14T07:10:03.859Z",
-        "role": "",
-        "seniority": "38 撟� ",
-        "appointments": [
-            {
-                "id": 354,
-                "phone": "0973057067",
-                "email": "",
-                "contactType": "phone",
-                "gender": "male",
-                "age": "21-30",
-                "job": "��",
-                "requirement": "靽�瑼�/閬��",
-                "communicateStatus": "reserved",
-                "hopeContactTime": "'蝳格��,蝳格���,蝳格���,蝳格���,蝳格���,蝳格�,蝳格���18:00~21:00'",
-                "otherRequirement": null,
-                "appointmentDate": "2021-12-14T07:10:02.149Z",
-                "lastModifiedDate": "2021-12-14T07:10:02.144Z",
-                "agentNo": "R221444250",
-                "customerId": 90,
-                "name": "Jack",
-                "consultantViewTime": "2021-12-24T08:48:22.013Z",
-                "consultantReadTime": "2021-12-15T04:58:28.736Z",
-                "contactTime": null,
-                "satisfactionScore": null,
-                "appointmentMemoList": [],
-                "interviewRecordDTOs": [],
-                "appointmentNoticeLogs": [],
-                "appointmentClosedInfo": null
-            }
-        ]
-    }
-]
\ No newline at end of file
+    "consultationMethod" : null
+  }, {
+    "id" : 618,
+    "phone" : "0973057067",
+    "email" : "jack568420@gmail.com",
+    "contactType" : "phone",
+    "gender" : "male",
+    "age" : "21-30",
+    "job" : "��",
+    "requirement" : "����",
+    "communicateStatus" : "reserved",
+    "hopeContactTime" : "'����,�����,�����,�����,�����,���,�����9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'",
+    "otherRequirement" : null,
+    "appointmentDate" : "2023-07-20T07:49:03.361Z",
+    "lastModifiedDate" : "2023-07-27T07:50:58.167Z",
+    "agentNo" : "A568420",
+    "customerId" : 90,
+    "name" : "Jack",
+    "consultantViewTime" : null,
+    "consultantReadTime" : null,
+    "contactTime" : null,
+    "satisfactionScore" : null,
+    "appointmentMemoList" : [ ],
+    "interviewRecordDTOs" : [ ],
+    "appointmentNoticeLogs" : [ ],
+    "appointmentClosedInfo" : null,
+    "consultationMethod" : "offline"
+  } ]
+} ]
\ No newline at end of file

--
Gitblit v1.8.0