Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
065b8d37
Commit
065b8d37
authored
Apr 02, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患问题修改 gengdidi
parent
7b766bcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
THiddenTroubleInfoMapper.xml
...main/resources/mapper/system/THiddenTroubleInfoMapper.xml
+12
-1
No files found.
gassafetyprogress-system/src/main/resources/mapper/system/THiddenTroubleInfoMapper.xml
View file @
065b8d37
...
...
@@ -33,11 +33,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include
refid=
"selectTHiddenTroubleInfoVo"
/>
<where>
is_del='0'
<if
test=
"workId != null "
>
and work_id = #{workId}
</if>
<if
test=
"hiddenTroubleLevel != null and hiddenTroubleLevel != ''"
>
and hidden_trouble_level = #{hiddenTroubleLevel}
</if>
<if
test=
"hiddenTroubleType != null and hiddenTroubleType != ''"
>
and hidden_trouble_type = #{hiddenTroubleType}
</if>
<if
test=
"longitude != null "
>
and longitude = #{longitude}
</if>
<if
test=
"latitude != null "
>
and latitude = #{latitude}
</if>
<if
test=
"pictureUrl != null and pictureUrl != ''"
>
and picture_url = #{pictureUrl}
</if>
<if
test=
"hiddenTroubleDescribe != null and hiddenTroubleDescribe != ''"
>
and hidden_trouble_describe = #{hiddenTroubleDescribe}
</if>
<if
test=
"reportTime != null "
>
and report_time = #{reportTime}
</if>
<if
test=
"beyondEnterpriseId != null and beyondEnterpriseId != -2"
>
and beyond_enterprise_id = #{beyondEnterpriseId}
</if>
<if
test=
"hiddenTroubleName != null and hiddenTroubleName != ''"
>
and hidden_trouble_name like concat('%', #{hiddenTroubleName}, '%')
</if>
<if
test=
"reportPerson != null and reportPerson != ''"
>
and report_person = #{reportPerson}
</if>
<if
test=
"hiddenTroubleDealStatus != null and hiddenTroubleDealStatus != ''"
>
and hidden_trouble_deal_status = #{hiddenTroubleDealStatus}
</if>
<if
test=
"hiddenTroubleDealCondition != null and hiddenTroubleDealCondition != ''"
>
and hidden_trouble_deal_condition = #{hiddenTroubleDealCondition}
</if>
<if
test=
"hiddenTroubleDealFinishTime != null "
>
and hidden_trouble_deal_finish_time = #{hiddenTroubleDealFinishTime}
</if>
</where>
group by hidden_trouble_id desc
ORDER BY hidden_trouble_id DESC
</select>
<select
id=
"selectTHiddenTroubleInfoById"
parameterType=
"Long"
resultMap=
"THiddenTroubleInfoResult"
>
...
...
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