Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
23206b40
Commit
23206b40
authored
Dec 19, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
33391 大屏-总览-左侧“安全追溯”卡片-更多列表,隐患时间筛选项多余选择时间,且筛选结果错误
parent
32bf64c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
SafetyProblemTracingMapper.xml
.../src/main/resources/mapper/SafetyProblemTracingMapper.xml
+5
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/SafetyProblemTracingMapper.xml
View file @
23206b40
...
@@ -33,8 +33,11 @@
...
@@ -33,8 +33,11 @@
<if
test=
"problemModel.problemTypeCode != null and problemModel.problemTypeCode != ''"
>
<if
test=
"problemModel.problemTypeCode != null and problemModel.problemTypeCode != ''"
>
and spt.problem_type_code = #{problemModel.problemTypeCode}
and spt.problem_type_code = #{problemModel.problemTypeCode}
</if>
</if>
<if
test=
"problemModel.problemTimeStart != null and problemModel.problemTimeEnd != null"
>
<if
test=
"problemModel.problemTimeStart != null"
>
and to_char(spt.problem_time, 'YYYY-MM-DD') >= to_char(#{problemModel.problemTimeStart}::timestamp, 'YYYY-MM-DD') and to_char(spt.problem_time, 'YYYY-MM-DD')
<![CDATA[<=]]>
to_char(#{problemModel.problemTimeEnd}::timestamp, 'YYYY-MM-DD')
and to_char(spt.problem_time, 'YYYY-MM-DD')
<![CDATA[>=]]>
to_char(#{problemModel.problemTimeStart}::timestamp, 'YYYY-MM-DD')
</if>
<if
test=
"problemModel.problemTimeEnd != null"
>
and to_char(spt.problem_time, 'YYYY-MM-DD')
<![CDATA[<=]]>
to_char(#{problemModel.problemTimeEnd}::timestamp, 'YYYY-MM-DD')
</if>
</if>
<if
test=
"problemModel.problemDesc != null and problemModel.problemDesc != ''"
>
<if
test=
"problemModel.problemDesc != null and problemModel.problemDesc != ''"
>
and spt.problem_desc like CONCAT('%', #{problemModel.problemDesc}, '%')
and spt.problem_desc like CONCAT('%', #{problemModel.problemDesc}, '%')
...
...
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