Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9909f927
authored
Nov 21, 2023
by
Ren Ping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:容量类消息预警优化
1 parent
0c1e60ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/MsgDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/MsgDao.java
View file @
9909f92
...
@@ -93,7 +93,8 @@ public interface MsgDao extends JpaRepository<MsgEntity, Integer> {
...
@@ -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(: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 IF(:clusterId is not null, t.cluster_id =:clusterId, t.cluster_id is null)"
+
" and t.capacity_layer_id = :capacityLayerId"
+
" 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
,
nativeQuery
=
true
)
)
Integer
getCapacityMsgCount
(
@Param
(
"clusterId"
)
String
clusterId
,
Integer
getCapacityMsgCount
(
@Param
(
"clusterId"
)
String
clusterId
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment