Commit 9909f927 by Ren Ping

fix:容量类消息预警优化

1 parent 0c1e60ab
......@@ -93,7 +93,8 @@ public interface MsgDao extends JpaRepository<MsgEntity, Integer> {
" and IF(:branchId is not null, t.branch_id =:branchId, t.branch_id is null)" +
" and IF(:clusterId is not null, t.cluster_id =:clusterId, t.cluster_id is null)" +
" and t.capacity_layer_id = :capacityLayerId" +
" and t.capacity_date = :capacityDate"
" and t.capacity_date = :capacityDate" +
" and date_format(t.create_time,'%Y-%m-%d')=date_format(now(),'%Y-%m-%d')"
, nativeQuery = true
)
Integer getCapacityMsgCount(@Param("clusterId") String clusterId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!