From 896d14b328059863b5cc668dfc6c1d375f59de59 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 24 二月 2026 14:42:06 +0800
Subject: [PATCH] 代码提交
---
接口文档/患者死亡信息新增.md | 84 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 84 insertions(+), 0 deletions(-)
diff --git "a/\346\216\245\345\217\243\346\226\207\346\241\243/\346\202\243\350\200\205\346\255\273\344\272\241\344\277\241\346\201\257\346\226\260\345\242\236.md" "b/\346\216\245\345\217\243\346\226\207\346\241\243/\346\202\243\350\200\205\346\255\273\344\272\241\344\277\241\346\201\257\346\226\260\345\242\236.md"
new file mode 100644
index 0000000..c4fe792
--- /dev/null
+++ "b/\346\216\245\345\217\243\346\226\207\346\241\243/\346\202\243\350\200\205\346\255\273\344\272\241\344\277\241\346\201\257\346\226\260\345\242\236.md"
@@ -0,0 +1,84 @@
+# 鏂板鎮h�呮浜′俊鎭�
+
+## 鎺ュ彛淇℃伅
+- **鎺ュ彛璺緞**: `/project/deathinfo/add`
+- **璇锋眰鏂瑰紡**: POST
+- **鎺ュ彛鎻忚堪**: 鏂板鎮h�呮浜′俊鎭�
+
+## 璇锋眰鍙傛暟
+
+### Headers
+| 鍙傛暟鍚� | 绫诲瀷 | 蹇呭~ | 璇存槑 |
+|--------|------|------|------|
+| Content-Type | String | 鏄� | application/json |
+
+### Body (JSON鏍煎紡)
+| 鍙傛暟鍚� | 绫诲瀷 | 蹇呭~ | 璇存槑 |
+|--------|------|------|------|
+| infoid | Long | 鏄� | 鍏宠仈service_donatebaseinfo琛ㄧ殑ID |
+| donorno | String | 鍚� | 鎹愮尞鑰呯紪鍙� |
+| gainhospitalno | String | 鍚� | 鍣ㄥ畼鑾峰彇鏈烘瀯缂栧彿 |
+| gainhospitalname | String | 鍚� | 鍣ㄥ畼鑾峰彇鏈烘瀯鍚嶇О |
+| deathtime | String | 鍚� | 姝讳骸鏃堕棿(鏍煎紡: yyyy-MM-dd HH:mm:ss) |
+| deathreason | String | 鍚� | 姝讳骸鍘熷洜 |
+| deathjudgedocto | String | 鍚� | 姝讳骸鍒ゅ畾鍖荤敓涓� |
+| deathjudgedoctt | String | 鍚� | 姝讳骸鍒ゅ畾鍖荤敓浜� |
+| deathjudgeannex | String | 鍚� | 姝讳骸璇佹槑闄勪欢 |
+| isspendremember | Integer | 鍚� | 鏄惁榛樺搥缂呮��浠紡 (0: 鍚�, 1: 鏄�) |
+| isrestoreremains | Integer | 鍚� | 鏄惁鎭㈠閬椾綋浠 (0: 鍚�, 1: 鏄�) |
+| rememberannex | String | 鍚� | 缂呮��浠紡闄勪欢璺緞,澶氬紶鐢�;鍙烽殧寮� |
+| responsibleuserid | String | 鍚� | 璐熻矗浜虹紪鍙� |
+| responsibleusername | String | 鍚� | 璐熻矗浜哄鍚� |
+
+### 璇锋眰绀轰緥
+```json
+{
+ "infoid": 1,
+ "donorno": "DN2026001",
+ "gainhospitalno": "OPO001",
+ "gainhospitalname": "鏌愭煇OPO鏈烘瀯",
+ "deathtime": "2026-01-25 10:30:00",
+ "deathreason": "鑴戝共鍔熻兘琛扮",
+ "deathjudgedocto": "鏉庡尰鐢�",
+ "deathjudgedoctt": "鐜嬪尰鐢�",
+ "deathjudgeannex": "/upload/death/cert_20260125.pdf",
+ "isspendremember": 1,
+ "isrestoreremains": 1,
+ "rememberannex": "/upload/ceremony/img1.jpg;/upload/ceremony/img2.jpg",
+ "responsibleuserid": "U001",
+ "responsibleusername": "鍗忚皟鍛樺紶"
+}
+```
+
+## 杩斿洖鏁版嵁
+
+### 杩斿洖鍙傛暟
+| 鍙傛暟鍚� | 绫诲瀷 | 璇存槑 |
+|--------|------|------|
+| code | Integer | 鐘舵�佺爜 (200: 鎴愬姛, 500: 澶辫触) |
+| msg | String | 杩斿洖娑堟伅 |
+
+### 杩斿洖绀轰緥
+
+**鎴愬姛鍝嶅簲:**
+```json
+{
+ "msg": "鎿嶄綔鎴愬姛",
+ "code": 200
+}
+```
+
+**澶辫触鍝嶅簲:**
+```json
+{
+ "msg": "鎿嶄綔澶辫触",
+ "code": 500
+}
+```
+
+## 娉ㄦ剰浜嬮」
+1. infoid涓哄繀濉瓧娈�,闇�瑕佸叧鑱斿埌service_donatebaseinfo琛�
+2. 鏃堕棿鏍煎紡缁熶竴涓�: yyyy-MM-dd HH:mm:ss
+3. 澶氫釜闄勪欢璺緞浣跨敤鑻辨枃鍒嗗彿(;)闅斿紑
+4. 璇ユ帴鍙e叿鏈夐槻閲嶅鎻愪氦鏈哄埗(@RepeatSubmit娉ㄨВ)
+5. 鎿嶄綔浼氳褰曟搷浣滄棩蹇�
--
Gitblit v1.9.3