|
@@ -20,7 +20,7 @@
|
|
|
<result column="tenant_id" property="tenantId" />
|
|
|
</resultMap>
|
|
|
<select id="typeNumList" resultType="com.usky.iot.service.vo.BaseGgpFacilityTypeNumVO">
|
|
|
- SELECT d.type_code,d.type_name as typeName,d.type_code as typeCode,d.type_img as typeImg,IF(facility_type IS
|
|
|
+ SELECT d.id,d.type_name as typeName,d.type_code as typeCode,d.type_img as typeImg,IF(facility_type IS
|
|
|
NULL,0,COUNT(*)) AS
|
|
|
typeFacilityNum
|
|
|
FROM base_facility_type d
|