Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
82b23f24
Commit
82b23f24
authored
Oct 22, 2022
by
lizhichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页,隐患统计is_del
parent
10a41e15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
TStaningBookMapper.xml
...m/src/main/resources/mapper/system/TStaningBookMapper.xml
+1
-1
No files found.
danger-manage-system/src/main/resources/mapper/system/TStaningBookMapper.xml
View file @
82b23f24
...
...
@@ -181,7 +181,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</delete>
<select
id=
"statics"
parameterType=
"String"
resultType=
"Map"
>
select count(1) faxian,sum(case state when '2' then 1 else 0 end )as zhenggai from t_staning_book where
1=1
select count(1) faxian,sum(case state when '2' then 1 else 0 end )as zhenggai from t_staning_book where
is_del=0
<if
test=
"type=='day'"
>
and DATE_SUB(now(), INTERVAL 1 DAY)
<
date(find_time)
</if>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment