Prechádzať zdrojové kódy

数据统计新增年份需求

wyyay 1 rok pred
rodič
commit
1fe845ccdd

+ 2 - 2
.idea/compiler.xml

@@ -7,10 +7,10 @@
         <sourceOutputDir name="target/generated-sources/annotations" />
         <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
         <outputRelativeToContentRoot value="true" />
+        <module name="base-admin" />
+        <module name="hazard-admin" />
         <module name="hazard-sdk" />
         <module name="business-service" />
-        <module name="hazard-admin" />
-        <module name="base-admin" />
       </profile>
     </annotationProcessing>
     <bytecodeTargetLevel>

+ 1 - 1
business-service/src/main/resources/mapper/service/MsgAlarmMapper.xml

@@ -141,7 +141,7 @@
         <result column="alarm_type" property="alarmType"/>
     </resultMap>
     <select id="listDtoMonth" resultMap="AlarmStatisticMonthDtoResult">
-        SELECT p.monthsta,SUM(p.fre) as frequency
+        SELECT p.monthsta,p.fre as frequency
         from
         (SELECT
         MONTH(a.alarm_time) as monthsta,