From 896d14b328059863b5cc668dfc6c1d375f59de59 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 24 二月 2026 14:42:06 +0800
Subject: [PATCH] 代码提交

---
 接口文档/捐献完成新增.md |  173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 173 insertions(+), 0 deletions(-)

diff --git "a/\346\216\245\345\217\243\346\226\207\346\241\243/\346\215\220\347\214\256\345\256\214\346\210\220\346\226\260\345\242\236.md" "b/\346\216\245\345\217\243\346\226\207\346\241\243/\346\215\220\347\214\256\345\256\214\346\210\220\346\226\260\345\242\236.md"
new file mode 100644
index 0000000..2b2feac
--- /dev/null
+++ "b/\346\216\245\345\217\243\346\226\207\346\241\243/\346\215\220\347\214\256\345\256\214\346\210\220\346\226\260\345\242\236.md"
@@ -0,0 +1,173 @@
+# 鏂板鎹愮尞瀹屾垚
+
+## 鎺ュ彛鎻忚堪
+鏂板鎹愮尞瀹屾垚淇℃伅
+
+## 璇锋眰URL
+`POST /project/donatecompletioninfo/add`
+
+## 璇锋眰澶�
+| 鍙傛暟鍚� | 绫诲瀷 | 蹇呭~ | 璇存槑 |
+|--------|------|------|------|
+| Authorization | String | 鏄� | 鐢ㄦ埛浠ょ墝 |
+| Content-Type | String | 鏄� | application/json |
+
+## 璇锋眰鍙傛暟
+| 鍙傛暟鍚� | 绫诲瀷 | 蹇呭~ | 璇存槑 |
+|--------|------|------|------|
+| infoid | Long | 鍚� | 鍏宠仈service_donatebaseinfo琛ㄧ殑ID |
+| donorno | String | 鍚� | 鎹愮尞鑰呯紪鍙� |
+| isbodydonation | String | 鍚� | 鏄惁閬椾綋鎹愮尞 |
+| receivingunitname | String | 鍚� | 鎺ユ敹鍗曚綅鍚嶇О |
+| receivingunit | String | 鍚� | 鎺ユ敹鍗曚綅 |
+| completetime | Date | 鍚� | 瀹屾垚鏃堕棿 |
+| responsibleuserid | String | 鍚� | 璐熻矗浜虹紪鍙� |
+| responsibleusername | String | 鍚� | 璐熻矗浜哄鍚� |
+| coordinateduserido | String | 鍚� | 鍗忚皟鍛樹竴缂栧彿 |
+| coordinatedusernameo | String | 鍚� | 鍗忚皟鍛樹竴濮撳悕 |
+| coordinateduseridt | String | 鍚� | 鍗忚皟鍛樹簩缂栧彿 |
+| coordinatedusernamet | String | 鍚� | 鍗忚皟鍛樹簩濮撳悕 |
+| assessannex | String | 鍚� | 闄勪欢 |
+| donateorgan | String | 鍚� | 鎹愮尞鍣ㄥ畼 |
+| serviceDonatecomporganList | Array | 鍚� | 鎹愮尞鍣ㄥ畼绉绘琛� |
+
+### serviceDonatecomporganList鏁扮粍鍏冪礌缁撴瀯
+| 鍙傛暟鍚� | 绫诲瀷 | 蹇呭~ | 璇存槑 |
+|--------|------|------|------|
+| infoid | Long | 鍚� | 鍏宠仈service_donatebaseinfo琛ㄧ殑ID |
+| donatecompletioninfoId | Long | 鍚� | 鍏宠仈service_donatecompletioninfo琛ㄧ殑ID |
+| organno | String | 鍚� | 鍣ㄥ畼绫诲埆 璇﹁瀛楀吀sys_Organ |
+| organname | String | 鍚� | 鍣ㄥ畼绫诲埆鍚嶇О 璇﹁瀛楀吀sys_Organ |
+| transplantstate | Long | 鍚� | 鍣ㄥ畼绉绘鐘舵�� 锛�0锛氭湭绉绘锛�1锛氬凡绉绘锛�2锛氬純鐢� |
+| abandonreason | String | 鍚� | 鏈Щ妞嶅師鍥� |
+| transplanttime | Date | 鍚� | 绉绘鏃堕棿 |
+| transplantdoct | String | 鍚� | 绉绘鍖荤敓 |
+| hospitalno | String | 鍚� | 鍣ㄥ畼绉绘鏈烘瀯缂栧彿 瀵瑰簲鏈烘瀯琛� |
+| hospitalname | String | 鍚� | 鍣ㄥ畼绉绘鏈烘瀯鍚嶇О 瀵瑰簲鏈烘瀯琛� |
+| name | String | 鍚� | 绉绘浜哄鍚� |
+| sex | Long | 鍚� | 绉绘浜烘�у埆 鏍规嵁瀛楀吀sys_user_sex |
+| idcardtype | Long | 鍚� | 绉绘浜鸿瘉浠剁被鍨� 鏍规嵁瀛楀吀sys_IDType |
+| idcardno | String | 鍚� | 绉绘浜鸿瘉浠跺彿鐮� |
+| age | Long | 鍚� | 绉绘浜哄勾榫� |
+| ageunit | String | 鍚� | 绉绘浜哄勾榫勫崟浣� 鏍规嵁瀛楀吀sys_AgeUnit |
+| birthday | String | 鍚� | 绉绘浜哄嚭鐢熸棩鏈� |
+| phone | String | 鍚� | 绉绘浜鸿仈绯荤數璇� |
+| residenceaddress | String | 鍚� | 绉绘浜虹幇浣忓湴鍧� |
+| residenceprovince | String | 鍚� | 绉绘浜虹幇浣忓湴鍧�鐪佷唬鐮� |
+| residenceprovincename | String | 鍚� | 绉绘浜虹幇浣忓湴鍧�鐪佸悕绉� |
+| residencecity | String | 鍚� | 绉绘浜哄競缂栧彿 鏍规嵁琛屾斂鍖哄垝琛� |
+| residencecityname | String | 鍚� | 绉绘浜哄競鍚嶇О |
+| residencetown | String | 鍚� | 绉绘浜烘墍灞炶閬�(闀�)鏍规嵁琛屾斂鍖哄垝琛� |
+| residencetownname | String | 鍚� | 绉绘浜烘墍灞炶閬�(闀�)鍚嶇О |
+| residencecommunity | String | 鍚� | 绉绘浜虹ぞ鍖�(鏉�)缂栧彿 鏍规嵁琛屾斂鍖哄垝琛� |
+| residencecommunityname | String | 鍚� | 绉绘浜虹ぞ鍖�(鏉�)鍚嶇О |
+| residencecountycode | String | 鍚� | 绉绘浜烘墍灞炲尯鍩熺紪鍙� 鏍规嵁琛屾斂鍖哄垝琛� |
+| residencecountyname | String | 鍚� | 绉绘浜烘墍灞炲尯鍩熷悕绉� |
+| caseNo | String | 鍚� | 妗堜緥缂栧彿 |
+| donorname | String | 鍚� | 鎹愮尞鑰呭鍚� |
+
+## 璇锋眰绀轰緥
+```json
+{
+  "infoid": 1001,
+  "donorno": "DN20240101001",
+  "isbodydonation": "0",
+  "receivingunitname": "",
+  "receivingunit": "",
+  "completetime": "2024-02-02 14:00:00",
+  "responsibleuserid": "U001",
+  "responsibleusername": "鐜嬪崗璋冨憳",
+  "coordinateduserido": "U002",
+  "coordinatedusernameo": "鏉庡崗璋冨憳",
+  "coordinateduseridt": "U003",
+  "coordinatedusernamet": "璧靛崗璋冨憳",
+  "assessannex": "",
+  "donateorgan": "C22,C64L",
+  "serviceDonatecomporganList": [
+    {
+      "infoid": 1001,
+      "organno": "C22",
+      "organname": "鑲濊剰",
+      "transplantstate": 1,
+      "abandonreason": "",
+      "transplanttime": "2024-02-03",
+      "transplantdoct": "寮犲尰鐢�",
+      "hospitalno": "H002",
+      "hospitalname": "鍖椾含绉绘鍖婚櫌",
+      "name": "鏉庡洓",
+      "sex": 1,
+      "idcardtype": 1,
+      "idcardno": "110101198501010002",
+      "age": 39,
+      "ageunit": "1",
+      "birthday": "1985-01-01",
+      "phone": "13800138000",
+      "residenceaddress": "鍖椾含甯傛湞闃冲尯",
+      "residenceprovince": "110000",
+      "residenceprovincename": "鍖椾含甯�",
+      "residencecity": "110100",
+      "residencecityname": "甯傝緰鍖�",
+      "residencetown": "110105",
+      "residencetownname": "鏈濋槼鍖�",
+      "residencecountycode": "110105",
+      "residencecountyname": "鏈濋槼鍖�",
+      "caseNo": "CASE20240101",
+      "donorname": "寮犱笁"
+    },
+    {
+      "infoid": 1001,
+      "organno": "C64L",
+      "organname": "宸﹁偩",
+      "transplantstate": 1,
+      "abandonreason": "",
+      "transplanttime": "2024-02-03",
+      "transplantdoct": "鏉庡尰鐢�",
+      "hospitalno": "H002",
+      "hospitalname": "鍖椾含绉绘鍖婚櫌",
+      "name": "鐜嬩簲",
+      "sex": 1,
+      "idcardtype": 1,
+      "idcardno": "110101199001010003",
+      "age": 34,
+      "ageunit": "1",
+      "birthday": "1990-01-01",
+      "phone": "13900139000",
+      "residenceaddress": "鍖椾含甯傛捣娣�鍖�",
+      "residenceprovince": "110000",
+      "residenceprovincename": "鍖椾含甯�",
+      "residencecity": "110100",
+      "residencecityname": "甯傝緰鍖�",
+      "residencetown": "110108",
+      "residencetownname": "娴锋穩鍖�",
+      "residencecountycode": "110108",
+      "residencecountyname": "娴锋穩鍖�",
+      "caseNo": "CASE20240101",
+      "donorname": "寮犱笁"
+    }
+  ]
+}
+```
+
+## 杩斿洖鍙傛暟
+| 鍙傛暟鍚� | 绫诲瀷 | 璇存槑 |
+|--------|------|------|
+| code | Integer | 鍝嶅簲鐘舵�佺爜锛�200琛ㄧず鎴愬姛 |
+| msg | String | 鍝嶅簲娑堟伅 |
+| data | Boolean | 鎿嶄綔缁撴灉锛宼rue琛ㄧず鎴愬姛 |
+
+## 杩斿洖绀轰緥
+```json
+{
+  "code": 200,
+  "msg": "鎿嶄綔鎴愬姛",
+  "data": true
+}
+```
+
+## 娉ㄦ剰浜嬮」
+1. 璇ユ帴鍙e寘鍚玚@UniqueCheck`娉ㄨВ锛屼細鏍¢獙`infoid`鐨勫敮涓�鎬э紝濡傛灉璇infoid`宸插瓨鍦ㄤ細杩斿洖閿欒鎻愮ず锛�"鏂板鎹愮尞瀹屾垚鐨刬nfoid宸插瓨鍦�,鏃犳硶淇濆瓨!"
+2. 鏃ユ湡鏍煎紡缁熶竴涓猴細`yyyy-MM-dd HH:mm:ss`锛岀Щ妞嶆椂闂存牸寮忎负锛歚yyyy-MM-dd`
+3. 鍣ㄥ畼淇℃伅闆嗗悎`serviceDonatecomporganList`鍙互鍚屾椂鎻愪氦澶氫釜鍣ㄥ畼鐨勭Щ妞嶄俊鎭�
+4. 鍣ㄥ畼绉绘鐘舵�侊細0-鏈Щ妞嶏紱1-宸茬Щ妞嶏紱2-寮冪敤
+5. `@UniqueCheck`娉ㄨВ瑕佹眰`entityClass`蹇呴』涓庢柟娉曞弬鏁扮被鍨嬩竴鑷�(ServiceDonatecompletioninfoVO.class)鎵嶈兘鐢熸晥
+6. 璇ユ帴鍙i槻閲嶅鎻愪氦闂撮殧涓�5绉�

--
Gitblit v1.9.3