Browse Source

数据统计新增年份需求

wyyay 1 year ago
parent
commit
6864d3d55c

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

@@ -172,7 +172,7 @@
                 and UPPER(m.receive_by) like UPPER(CONCAT('%',#{userId},'%'))
             </if>
         </where>
-        group by a.alarm_id,MONTH(a.alarm_time)) AS p group by p.monthsta
+        group by a.alarm_id) AS p group by p.monthsta
     </select>
 
     <select id="selectCameraCode" parameterType="java.lang.String" resultType="java.util.Map">