事件订阅 / 商品与库存

调拨完成

调拨完成后发送事件。

字段值说明
eventModule3事件模块编号
eventType341具体事件编号

事件结构

名称说明类型
Body 参数
id可选

消息 ID,作为接收端幂等键;同一次业务通知的重试使用同一消息 ID

string
clinicId可选

授权门店 ID

string
eventModule可选

枚举:3

integer
eventType可选

枚举:341

integer
eventName可选

枚举:调拨完成

string
callbackCount可选
integer

结构示例

json
{
  "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"
      }
    ]
  }
}

返回事件目录

ABC 开放平台 · 诊所管家

如有疑问,请扫码加入企业微信群咨询。

企业微信群二维码
没有匹配结果

诊所管家