Commit 82c3f39d authored by 李秀明's avatar 李秀明

设备列表查询:返回结果增加equipStatus字段

parent bb884be9
......@@ -27,7 +27,7 @@ public class FireResourceSupervisionController extends BaseController {
private IFireResourceSupervisionService iFireResourceSupervisionService;
@TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "GET", value = "消防系统、检测部件、消防车辆统计信息查询", notes = "聚合接口: 消防系统、检测部件、消防车辆统计信息查询")
@ApiOperation(httpMethod = "GET", value = "消防系统、监测部件、消防车辆统计信息查询", notes = "聚合接口: 消防系统、监测部件、消防车辆统计信息查询")
@RequestMapping(value = "/stats", method = RequestMethod.GET)
public ResponseModel<Object> stats() {
ReginParams reginParams = getSelectedOrgInfo();
......
......@@ -6089,8 +6089,8 @@
spe.`code`,
spe.`iot_code` iotCode,
cate.`name` AS category_name,
find_in_set(spe.id,(select point_in_scene from wl_source_scene where source_id=#{systemId})) is_bound
find_in_set(spe.id,(select point_in_scene from wl_source_scene where source_id=#{systemId})) is_bound,
spe.equip_status equipStatus
FROM
wl_equipment_specific AS spe
LEFT JOIN wl_equipment_detail AS det ON spe.equipment_detail_id = det.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment