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
2d32ca1d
Commit
2d32ca1d
authored
Apr 12, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg):按照单位办理的设备过滤,过滤掉已经做过使用登记的设备
parent
253975e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+13
-4
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
2d32ca1d
...
...
@@ -370,7 +370,11 @@
</sql>
<select
id=
"queryForUnitPipelineEquipmentPage"
resultType=
"com.alibaba.fastjson.JSONObject"
>
<include
refid=
"page-list-pipeline"
/>
WHERE ri."EQU_CATEGORY" = '8300' and ui."DATA_SOURCE" = 'jg'
WHERE
ri."EQU_CATEGORY" = '8300'
and ui."DATA_SOURCE" = 'jg'
and (ui."EQU_STATE" = '' || ui."EQU_STATE" is null )
and (ri."USE_ORG_CODE" = '' || ri."USE_ORG_CODE" is null )
<if
test=
"jsonObject.useUnitCreditCode != null and jsonObject.useUnitCreditCode != ''"
>
and ui."USE_UNIT_CREDIT_CODE" = #{jsonObject.useUnitCreditCode}
</if>
...
...
@@ -422,9 +426,14 @@
</sql>
<select
id=
"queryForUnitVesselEquipmentPage"
resultType=
"com.alibaba.fastjson.JSONObject"
>
<include
refid=
"page-list-vessel"
/>
WHERE ri."EQU_CATEGORY" = '2300' and ui."DATA_SOURCE" = 'jg' and (ri.whether_vehicle_cylinder is null or ri.whether_vehicle_cylinder != 1)
<if
test=
"jsonObject.useUnitCreditCode != null and jsonObject.useUnitCreditCode != ''"
>
and ui."USE_UNIT_CREDIT_CODE" = #{jsonObject.useUnitCreditCode}
WHERE
ri."EQU_CATEGORY" = '2300'
and ui."DATA_SOURCE" = 'jg'
and (ui."EQU_STATE" = '' || ui."EQU_STATE" is null )
and (ri."USE_ORG_CODE" = '' || ri."USE_ORG_CODE" is null )
and (ri.whether_vehicle_cylinder is null or ri.whether_vehicle_cylinder != 1)
<if
test=
"jsonObject.useUnitCreditCode != null and jsonObject.useUnitCreditCode != ''"
>
and ui."USE_UNIT_CREDIT_CODE" = #{jsonObject.useUnitCreditCode}
</if>
<if
test=
"jsonObject.record != null and jsonObject.record != ''"
>
and ui."RECORD" = #{jsonObject.record}
...
...
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