|
@@ -7,8 +7,8 @@
|
|
|
<select id="getBigDataInspectionAnalysis" parameterType="CentereventTEmergencyInspectionrecord" resultType="java.util.Map">
|
|
|
SELECT
|
|
|
a.enterprise_id enterpriseId,
|
|
|
- a.enterprise_name enterpriseName,
|
|
|
- count(a.id) num
|
|
|
+ a.enterprise_name name,
|
|
|
+ count(a.id) value
|
|
|
FROM
|
|
|
centerevent_t_emergency_inspectionrecord a
|
|
|
group by a.enterprise_id
|
|
@@ -17,8 +17,8 @@
|
|
|
<select id="getBigDataInspectionContent" parameterType="CentereventTEmergencyInspectionrecord" resultType="java.util.Map">
|
|
|
SELECT
|
|
|
a.inspectionitem_id inspectionitemId,
|
|
|
- a.inspectionitem_name inspectionitemName,
|
|
|
- count(a.id) num
|
|
|
+ a.inspectionitem_name name,
|
|
|
+ count(a.id) value
|
|
|
FROM
|
|
|
centerevent_t_emergency_inspectionrecorddetail a
|
|
|
group by a.inspectionitem_id
|