文档
测试

按照年度统计医废各类型数量和重量

GET
/sunthink/collect/getWasteStructByYear

接口描述

BI界面查询:按照年度统计医废各类型数量和重量

请求参数

参数名
类型
描述
必填
startTime
String
开始时间:2021-01-01 00:00:00
必填
endTime
String
结束时间:2021-12-31 23:59:59
必填

响应参数

参数名
类型
描述
必填
code
int
必填
msg
String
必填
rows
int
必填
hdept_id
int
科室id
必填
hdept_name
String
科室名称
必填
total_sum
int
求和
必填
total
必填

说明 / 示例

{"total":10,"rows":[{"total_sum":97.64,"hdept_id":"2c53f1baf6ff1a92670961faa61802cf","hdept_name":"感染科"},{"total_sum":97.36,"hdept_id":"ca7b6110b7f90d8e90f8a537647a04d1","hdept_name":"手术室"},{"total_sum":97.26,"hdept_id":"ac719fa79d552a964e396b992fbeaed9","hdept_name":"检验科"},{"total_sum":73.78,"hdept_id":"b5b0a1a683841a5c13b9020c8d90a08c","hdept_name":"血液透析室"},{"total_sum":57.08,"hdept_id":"5d1c9c655e9d7e352e35117c0b4c39cc","hdept_name":"儿科门诊"},{"total_sum":49.7,"hdept_id":"6a47d15afb94589c6fe5e5f5b06fa344","hdept_name":"呼吸与危重症医学科"},{"total_sum":48.7,"hdept_id":"dfce1a7cf83335573d279cde25d6236b","hdept_name":"急诊科"},{"total_sum":28.48,"hdept_id":"3009259cfdc416d753aa714d7cba0aa0","hdept_name":"儿科住院"},{"total_sum":23.76,"hdept_id":"7912be4a7035bb3dcb8956e7d35e2cf0","hdept_name":"产房"},{"total_sum":22.06,"hdept_id":"725c7d90ad35deb5563358faf12184a7","hdept_name":"ICU"}],"code":200,"msg":"查询成功"}