爱康云医接口文档

爱康云医API文档


运管工具-查询订单列表

<p><strong>迭代版本:</strong>2.9.8(新增)2.9.29(修改)</p> <p><strong>简要描述:</strong></p> <ul> <li>运管工具-查询订单列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><a href="http://aky.mynatapp.cc/chronic/deliveryOrder/queryOrderlist">http://aky.mynatapp.cc/chronic/deliveryOrder/queryOrderlist</a></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST/GET</li> <li>Content-Type:application/form</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">patientMobile</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>手机号码</td> </tr> <tr> <td style="text-align: left;">payStatus</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>订单状态 0=未付款(待支付) 1=已付款(待配送)2=配送中 3=已送达</td> </tr> <tr> <td style="text-align: left;">orderId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>订单号</td> </tr> <tr> <td style="text-align: left;">hospId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">Int</td> <td>医院id</td> </tr> <tr> <td style="text-align: left;">orderType</td> <td style="text-align: left;">否</td> <td style="text-align: left;">Int</td> <td>订单类型,0为his,1为九州通</td> </tr> <tr> <td style="text-align: left;">deliveryType</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>配送类型 0快递配送 1自提</td> </tr> <tr> <td style="text-align: left;">startTime</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>日期查询-开始时间</td> </tr> <tr> <td style="text-align: left;">endTime</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>日期查询-结束时间</td> </tr> <tr> <td style="text-align: left;">pageNum</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>分页参数</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>分页参数,缺省10</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "retcode": "0000", "errMsg": "操作成功", "body": { "total": 6, "list": [ { "sqlFilter": null, "currentUserId": null, "currentOrgId": null, "currentDeptId": null, "currentHospitalId": null, "currentDoctorId": null, "currentAreaCode": null, "currentTenant": null, "id": 178, "orderId": "2020081021333271626061", "patientId": 10012050, "hospId": 14, "hospName": "岳阳爱康医院", "totalFee": 7409, "postFee": null, "discountFee": 0, "finalFee": 7409, "payWay": 1, "payTime": null, "transaction": null, "itemsCount": 1, "payStatus": 0, "remark": "药品发票随药品一同送达", "createTime": "2020-08-10 21:33:32", "createBy": "10012050", "updateTime": null, "updateBy": null, "deliveryStartTime": null, "deliveryEndTime": null, "deliveryPerson": "111", "deliveryAddress": "", "deliveryMobile": "15671559316", "refundId": null, "refundTime": null, "refundDesc": null, "refundResult": null, "deliveryType": 1, "hisPatientCardId": 204, "payFailReason": null, "totalOrderNum": "2020081021333271658739", "orderType": 0, "billNum": "", "receiverState": "", "receiverCity": "", "receiverDistrict": "", "jztOrderNum": null, "patientName": "kim", "patientMobile": "15671559316", "patientSex": null, "birthdate": null, "startTime": null, "endTime": null, "deliveryItemList": [ { "id": 439, "orderId": "2020081021333271626061", "itemName": "恩替卡韦片", "spec": "铁市0.5mg*7粒/盒", "itemCode": "510000002099", "productAddress": "山东鲁抗医药", "itemCount": 1, "unitDesc": "盒", "unitPrice": 74.09, "totalFee": 7409, "discountFee": 0, "finalFee": 7409, "remark": null, "createTime": "2020-08-10 21:33:32", "createBy": "10012050", "durgChannelType": null } ], "deliveryOwner": null, "patientCard": { "id": 204, "cardNum": "149704", "patientId": 10012039, "idNum": "42112719940215501X", "clinicNo": "2007190001", "realName": "王玉宝", "createTime": "2020-08-11 15:55:09", "state": 1, "relation": "其他", "phone": "42112719940" }, "totalOrderFee": 7409 }, { "sqlFilter": null, "currentUserId": null, "currentOrgId": null, "currentDeptId": null, "currentHospitalId": null, "currentDoctorId": null, "currentAreaCode": null, "currentTenant": null, "id": 173, "orderId": "2020081019334895135097", "patientId": 10012050, "hospId": 14, "hospName": "岳阳爱康医院", "totalFee": 7455, "postFee": null, "discountFee": 0, "finalFee": 7455, "payWay": 1, "payTime": "2020-08-12 16:49:01", "transaction": "63255445343435445", "itemsCount": 2, "payStatus": 1, "remark": "药品发票随药品一同送达", "createTime": "2020-08-10 19:33:48", "createBy": "10012050", "updateTime": null, "updateBy": null, "deliveryStartTime": null, "deliveryEndTime": null, "deliveryPerson": "梵蒂冈", "deliveryAddress": "湖北省武汉市硚口区武汉城市广场B座2117", "deliveryMobile": "15671559316", "refundId": null, "refundTime": null, "refundDesc": null, "refundResult": null, "deliveryType": 1, "hisPatientCardId": 187, "payFailReason": null, "totalOrderNum": "2020081019334894877190", "orderType": 1, "billNum": "U0049171", "receiverState": "湖北省", "receiverCity": "武汉市", "receiverDistrict": "硚口区", "jztOrderNum": "A11EFGTDH7F0000D", "patientName": "kim", "patientMobile": "15671559316", "patientSex": null, "birthdate": null, "startTime": null, "endTime": null, "deliveryItemList": [ { "id": 432, "orderId": "2020081019334895135097", "itemName": "恩替卡韦片", "spec": "铁市0.5mg*7粒/盒", "itemCode": "52135", "productAddress": "山东鲁抗医药", "itemCount": 1, "unitDesc": "盒", "unitPrice": 74.09, "totalFee": 7409, "discountFee": 0, "finalFee": 7409, "remark": null, "createTime": "2020-08-10 19:33:48", "createBy": "10012050", "durgChannelType": null }, { "id": 433, "orderId": "2020081019334895135097", "itemName": "普萘洛尔片", "spec": "铁市10mg*100片/瓶", "itemCode": "52136", "productAddress": "亚邦爱普森", "itemCount": 1, "unitDesc": "片", "unitPrice": 0.46, "totalFee": 46, "discountFee": 0, "finalFee": 46, "remark": null, "createTime": "2020-08-10 19:33:48", "createBy": "10012050", "durgChannelType": null } ], "deliveryOwner": null, "patientCard": { "id": 187, "cardNum": "149713", "patientId": 10012050, "idNum": "420881199209124102", "clinicNo": "2008080002", "realName": "rrrr", "createTime": "2020-08-08 17:08:51", "state": 0, "relation": "子女", "phone": "15566667777" }, "totalOrderFee": 7455 }, { "sqlFilter": null, "currentUserId": null, "currentOrgId": null, "currentDeptId": null, "currentHospitalId": null, "currentDoctorId": null, "currentAreaCode": null, "currentTenant": null, "id": 170, "orderId": "2020081019233777431703", "patientId": 10012050, "hospId": 14, "hospName": "岳阳爱康医院", "totalFee": 7409, "postFee": null, "discountFee": 0, "finalFee": 7409, "payWay": 1, "payTime": null, "transaction": null, "itemsCount": 1, "payStatus": 0, "remark": "药品发票随药品一同送达", "createTime": "2020-08-10 19:23:37", "createBy": "10012050", "updateTime": null, "updateBy": null, "deliveryStartTime": null, "deliveryEndTime": null, "deliveryPerson": "简向磊", "deliveryAddress": "", "deliveryMobile": "15671559316", "refundId": null, "refundTime": null, "refundDesc": null, "refundResult": null, "deliveryType": 1, "hisPatientCardId": 187, "payFailReason": null, "totalOrderNum": "2020081019233777489452", "orderType": 0, "billNum": null, "receiverState": "", "receiverCity": "", "receiverDistrict": "", "jztOrderNum": null, "patientName": "kim", "patientMobile": "15671559316", "patientSex": null, "birthdate": null, "startTime": null, "endTime": null, "deliveryItemList": [], "deliveryOwner": null, "patientCard": { "id": 187, "cardNum": "149713", "patientId": 10012050, "idNum": "420881199209124102", "clinicNo": "2008080002", "realName": "rrrr", "createTime": "2020-08-08 17:08:51", "state": 0, "relation": "子女", "phone": "15566667777" }, "totalOrderFee": 7409 }, { "sqlFilter": null, "currentUserId": null, "currentOrgId": null, "currentDeptId": null, "currentHospitalId": null, "currentDoctorId": null, "currentAreaCode": null, "currentTenant": null, "id": 169, "orderId": "202008101903185864000", "patientId": 10012050, "hospId": 14, "hospName": "岳阳爱康医院", "totalFee": 15340, "postFee": null, "discountFee": 0, "finalFee": 15340, "payWay": 1, "payTime": null, "transaction": null, "itemsCount": 10, "payStatus": 0, "remark": "药品发票随药品一同送达", "createTime": "2020-08-10 19:03:18", "createBy": "10012050", "updateTime": null, "updateBy": null, "deliveryStartTime": null, "deliveryEndTime": null, "deliveryPerson": "简向磊", "deliveryAddress": "", "deliveryMobile": "15671559316", "refundId": null, "refundTime": null, "refundDesc": null, "refundResult": null, "deliveryType": 1, "hisPatientCardId": 187, "payFailReason": null, "totalOrderNum": "2020081019031858638381", "orderType": 0, "billNum": null, "receiverState": "", "receiverCity": "", "receiverDistrict": "", "jztOrderNum": null, "patientName": "kim", "patientMobile": "15671559316", "patientSex": null, "birthdate": null, "startTime": null, "endTime": null, "deliveryItemList": [], "deliveryOwner": null, "patientCard": { "id": 187, "cardNum": "149713", "patientId": 10012050, "idNum": "420881199209124102", "clinicNo": "2008080002", "realName": "rrrr", "createTime": "2020-08-08 17:08:51", "state": 0, "relation": "子女", "phone": "15566667777" }, "totalOrderFee": 15340 }, { "sqlFilter": null, "currentUserId": null, "currentOrgId": null, "currentDeptId": null, "currentHospitalId": null, "currentDoctorId": null, "currentAreaCode": null, "currentTenant": null, "id": 168, "orderId": "2020081018455587658705", "patientId": 10012045, "hospId": 14, "hospName": "岳阳爱康医院", "totalFee": 2080, "postFee": null, "discountFee": 0, "finalFee": 2080, "payWay": 1, "payTime": null, "transaction": null, "itemsCount": 8, "payStatus": 0, "remark": "药品发票随药品一同送达", "createTime": "2020-08-10 18:45:55", "createBy": "10012050", "updateTime": null, "updateBy": null, "deliveryStartTime": null, "deliveryEndTime": null, "deliveryPerson": "fdgh fdghf", "deliveryAddress": "", "deliveryMobile": "15671559316", "refundId": null, "refundTime": null, "refundDesc": null, "refundResult": null, "deliveryType": 1, "hisPatientCardId": 187, "payFailReason": null, "totalOrderNum": "2020081018162035380677", "orderType": 0, "billNum": null, "receiverState": "", "receiverCity": "", "receiverDistrict": "", "jztOrderNum": null, "patientName": "abcde", "patientMobile": "13297033971", "patientSex": "M", "birthdate": "1991-02-01 00:00:00", "startTime": null, "endTime": null, "deliveryItemList": [], "deliveryOwner": null, "patientCard": { "id": 187, "cardNum": "149713", "patientId": 10012050, "idNum": "420881199209124102", "clinicNo": "2008080002", "realName": "rrrr", "createTime": "2020-08-08 17:08:51", "state": 0, "relation": "子女", "phone": "15566667777" }, "totalOrderFee": 50888 }, { "sqlFilter": null, "currentUserId": null, "currentOrgId": null, "currentDeptId": null, "currentHospitalId": null, "currentDoctorId": null, "currentAreaCode": null, "currentTenant": null, "id": 167, "orderId": "2020081018162035381819", "patientId": 10012045, "hospId": 14, "hospName": "岳阳爱康医院", "totalFee": 48808, "postFee": null, "discountFee": 0, "finalFee": 48808, "payWay": 1, "payTime": null, "transaction": null, "itemsCount": 11, "payStatus": 0, "remark": "药品发票随药品一同送达", "createTime": "2020-08-10 18:16:20", "createBy": "10012050", "updateTime": null, "updateBy": null, "deliveryStartTime": null, "deliveryEndTime": null, "deliveryPerson": "kkk", "deliveryAddress": "", "deliveryMobile": "15671559316", "refundId": null, "refundTime": null, "refundDesc": null, "refundResult": null, "deliveryType": 1, "hisPatientCardId": 187, "payFailReason": null, "totalOrderNum": "2020081018162035380677", "orderType": 0, "billNum": null, "receiverState": "", "receiverCity": "", "receiverDistrict": "", "jztOrderNum": null, "patientName": "abcde", "patientMobile": "13297033971", "patientSex": "M", "birthdate": "1991-02-01 00:00:00", "startTime": null, "endTime": null, "deliveryItemList": [], "deliveryOwner": null, "patientCard": { "id": 187, "cardNum": "149713", "patientId": 10012050, "idNum": "420881199209124102", "clinicNo": "2008080002", "realName": "rrrr", "createTime": "2020-08-08 17:08:51", "state": 0, "relation": "子女", "phone": "15566667777" }, "totalOrderFee": 50888 } ], "pageNum": 1, "pageSize": 10, "size": 6, "startRow": 1, "endRow": 6, "pages": 1, "prePage": 0, "nextPage": 0, "isFirstPage": true, "isLastPage": true, "hasPreviousPage": false, "hasNextPage": false, "navigatePages": 8, "navigatepageNums": [ 1 ], "navigateFirstPage": 1, "navigateLastPage": 1 } } </code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">orderId</td> <td style="text-align: left;">int</td> <td>订单ID</td> </tr> <tr> <td style="text-align: left;">totalFee</td> <td style="text-align: left;">int</td> <td>药品金额(分)</td> </tr> <tr> <td style="text-align: left;">finalFee</td> <td style="text-align: left;">int</td> <td>最终付款金额(分)</td> </tr> <tr> <td style="text-align: left;">payWay</td> <td style="text-align: left;">int</td> <td>支付类型 1=微信</td> </tr> <tr> <td style="text-align: left;">payTime</td> <td style="text-align: left;">date</td> <td>支付时间</td> </tr> <tr> <td style="text-align: left;">itemsCount</td> <td style="text-align: left;">int</td> <td>包括商品总数</td> </tr> <tr> <td style="text-align: left;">payStatus</td> <td style="text-align: left;">int</td> <td>订单状态 支付状态:0=未付款(待支付) 1=已付款(待配送)2=配送中 3=已送达</td> </tr> <tr> <td style="text-align: left;">createTime</td> <td style="text-align: left;">Date</td> <td>创建时间</td> </tr> <tr> <td style="text-align: left;">deliveryStartTime</td> <td style="text-align: left;">Date</td> <td>配送开始时间</td> </tr> <tr> <td style="text-align: left;">deliveryEndTime</td> <td style="text-align: left;">Date</td> <td>配送结束时间</td> </tr> <tr> <td style="text-align: left;">deliveryPerson</td> <td style="text-align: left;">string</td> <td>收件人</td> </tr> <tr> <td style="text-align: left;">deliveryAddress</td> <td style="text-align: left;">string</td> <td>收件地址</td> </tr> <tr> <td style="text-align: left;">deliveryMobile</td> <td style="text-align: left;">string</td> <td>收件人电话</td> </tr> <tr> <td style="text-align: left;">itemsString</td> <td style="text-align: left;">string</td> <td>药品详情</td> </tr> <tr> <td style="text-align: left;">totalOrderfee</td> <td style="text-align: left;">int</td> <td>订单总金额 (分)</td> </tr> <tr> <td style="text-align: left;">patientCard</td> <td style="text-align: left;">int</td> <td>就诊卡对象 (分)</td> </tr> <tr> <td style="text-align: left;">deliveryType</td> <td style="text-align: left;">int</td> <td>0快递方式,1自提方式</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML