事件订阅 / 商品与库存
调拨完成
调拨完成后发送事件。
| 字段 | 值 | 说明 |
|---|---|---|
eventModule | 3 | 事件模块编号 |
eventType | 341 | 具体事件编号 |
事件结构
| 名称 | 说明 | 类型 |
|---|---|---|
| Body 参数 | ||
id可选 | string | |
clinicId可选 | string | |
eventModule可选 | integer | |
eventType可选 | integer | |
eventName可选 | string | |
callbackCount可选 | integer | |
eventData可选 | object | |
结构示例
{
"id": "string",
"clinicId": "string",
"eventModule": 3,
"eventType": 341,
"eventName": "调拨完成",
"callbackCount": 0,
"eventData": {
"id": 0,
"amount": 0,
"count": 0,
"kindCount": 0,
"orderNo": "string",
"transType": 0,
"transCostPriceType": 0,
"createdUser": {
"id": "string",
"name": "string"
},
"created": "2026-01-01T00:00:00Z",
"reviewDate": "2026-01-01T00:00:00Z",
"reviewUser": {
"id": "string",
"name": "string"
},
"inConfirmDate": "2026-01-01T00:00:00Z",
"inConfirmUser": {
"id": "string",
"name": "string"
},
"toOrgan": {
"id": "string",
"name": "string"
},
"inPharmacy": {
"no": 0
},
"fromOrgan": {
"id": "string",
"name": "string"
},
"outPharmacy": {
"no": 0
},
"lastModified": "2026-01-01T00:00:00Z",
"lastModifiedUser": {
"id": "string",
"name": "string"
},
"status": 1,
"items": [
{
"applicationPackageCount": 0,
"applicationPieceCount": 0,
"packageCount": 0,
"pieceCount": 0,
"goods": {
"id": "string",
"name": "阿莫西林",
"typeId": 1,
"typeName": "药品",
"customTypeId": 213,
"customTypeName": "抗生素",
"manufacturer": "拜耳",
"medicineNmpn": "H20000001",
"barCode": "string",
"pieceUnit": "支",
"pieceNum": 10,
"piecePrice": 10.5,
"packageUnit": "盒",
"packagePrice": 105,
"shortId": "K1001",
"specification": "1ml:0.5mg*10支/盒",
"otcType": 1,
"status": 1,
"lastModified": "2022-05-13 12:22:56",
"goodsSpu": {
"id": "string",
"name": "string",
"brandName": "string",
"material": "string"
},
"goodsSpec": {
"color": "string",
"spec": "string"
},
"remark": "abc",
"dosageFormType": 0,
"dosageFormTypeName": "string",
"priceType": 0,
"priceMakeupPercent": 0
},
"outTotalCostPrice": 0,
"outPackageCostPrice": 0,
"bathes": [
{
"stockId": 0,
"batchNo": "string",
"expiryDate": "string",
"packageCount": 0,
"pieceCount": 0,
"outPackageCostPrice": 0
}
],
"transInBatches": [
{
"stockId": 12312,
"stockInOutDetailId": 12312,
"batchId": 12312,
"supplier": {
"id": "string",
"name": "string"
},
"batchNo": 555555,
"productionDate": "2023-01-11",
"expiryDate": "2023-01-11",
"packageCount": 1,
"pieceCount": 1,
"packageCostPrice": 1,
"pieceNum": 10,
"costPrice": 1,
"packagePrice": 1
}
],
"lastModified": "2026-01-01T00:00:00Z"
}
]
}
}