瀏覽代碼

数据统计新增年份需求

wyyay 1 年之前
父節點
當前提交
6864d3d55c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      business-service/src/main/resources/mapper/service/MsgAlarmMapper.xml

+ 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">