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
3e7c1883
Commit
3e7c1883
authored
Mar 08, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):sql写法修改
parent
2f0d62f1
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
JgChangeRegistrationReformMapper.xml
...ain/resources/mapper/JgChangeRegistrationReformMapper.xml
+1
-1
JgChangeRegistrationTransferMapper.xml
...n/resources/mapper/JgChangeRegistrationTransferMapper.xml
+1
-1
JgChangeRegistrationUnitMapper.xml
.../main/resources/mapper/JgChangeRegistrationUnitMapper.xml
+1
-1
JgEquipTransferMapper.xml
...g-api/src/main/resources/mapper/JgEquipTransferMapper.xml
+1
-1
JgInstallationNoticeMapper.xml
.../src/main/resources/mapper/JgInstallationNoticeMapper.xml
+2
-2
JgMaintainNoticeMapper.xml
...-api/src/main/resources/mapper/JgMaintainNoticeMapper.xml
+1
-1
JgReformNoticeMapper.xml
...jg-api/src/main/resources/mapper/JgReformNoticeMapper.xml
+1
-1
JgScrapCancelMapper.xml
...-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
+1
-1
JgTransferNoticeMapper.xml
...-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
+2
-2
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationReformMapper.xml
View file @
3e7c1883
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</if>
</if>
<if
test=
"dto.dataType != null and dto.dataType == 'supervision' "
>
<if
test=
"dto.dataType != null and dto.dataType == 'supervision' "
>
and ur.receive_org_code = #{dto.receiveOrgCode}
and ur.receive_org_code = #{dto.receiveOrgCode}
AND ur.instance_id
is not null
AND ur.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"dto.dataType != null and dto.dataType == 'company' "
>
<if
test=
"dto.dataType != null and dto.dataType == 'company' "
>
and ur.use_unit_credit_code = #{dto.useUnitCreditCode}
and ur.use_unit_credit_code = #{dto.useUnitCreditCode}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationTransferMapper.xml
View file @
3e7c1883
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
</if>
</if>
<if
test=
"type == 'supervision'"
>
<if
test=
"type == 'supervision'"
>
AND crt.receive_company_code = #{dto.unitCode}
AND crt.receive_company_code = #{dto.unitCode}
AND crt.instance_id
is not null
AND crt.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"type == 'company'"
>
<if
test=
"type == 'company'"
>
AND crt.use_unit_credit_code = #{dto.unitCode}
AND crt.use_unit_credit_code = #{dto.unitCode}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationUnitMapper.xml
View file @
3e7c1883
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</if>
</if>
<if
test=
"type == 'supervision'"
>
<if
test=
"type == 'supervision'"
>
AND isn.receive_org_code = #{orgCode}
AND isn.receive_org_code = #{orgCode}
AND isn.instance_id
is not null
AND isn.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"type == 'enterprise'"
>
<if
test=
"type == 'enterprise'"
>
AND isn.new_use_unit_credit_code = #{orgCode}
AND isn.new_use_unit_credit_code = #{orgCode}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgEquipTransferMapper.xml
View file @
3e7c1883
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</if>
</if>
<if
test=
"param.installUnitCodeFilter != '' and param.installUnitCodeFilter != null"
>
<if
test=
"param.installUnitCodeFilter != '' and param.installUnitCodeFilter != null"
>
and jet.install_unit_credit_code = #{param.installUnitCodeFilter}
and jet.install_unit_credit_code = #{param.installUnitCodeFilter}
AND jet.instance_id
is not null
AND jet.instance_id
<![CDATA[<>]]>
''
</if>
</if>
</otherwise>
</otherwise>
</choose>
</choose>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgInstallationNoticeMapper.xml
View file @
3e7c1883
...
@@ -57,14 +57,14 @@
...
@@ -57,14 +57,14 @@
</if>
</if>
<if
test=
"type == 'supervision'"
>
<if
test=
"type == 'supervision'"
>
AND isn.receive_org_credit_code = #{orgCode}
AND isn.receive_org_credit_code = #{orgCode}
AND isn.instance_id
is not null
AND isn.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"type == 'company'"
>
<if
test=
"type == 'company'"
>
AND isn.install_unit_credit_code = #{orgCode}
AND isn.install_unit_credit_code = #{orgCode}
</if>
</if>
<if
test=
"type == 'testAdmin'"
>
<if
test=
"type == 'testAdmin'"
>
((AND isn.receive_org_credit_code = #{orgCode}
((AND isn.receive_org_credit_code = #{orgCode}
AND isn.instance_id
is not null
)
AND isn.instance_id
<![CDATA[<>]]>
''
)
or
or
AND isn.install_unit_credit_code = #{orgCode})
AND isn.install_unit_credit_code = #{orgCode})
</if>
</if>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgMaintainNoticeMapper.xml
View file @
3e7c1883
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</if>
</if>
</if>
</if>
<if
test=
"type != 'company'"
>
<if
test=
"type != 'company'"
>
AND isn.instance_id
is not null
AND isn.instance_id
<![CDATA[<>]]>
''
AND isn.receive_company_code = #{orgCode}
AND isn.receive_company_code = #{orgCode}
</if>
</if>
<if
test=
"type == 'company'"
>
<if
test=
"type == 'company'"
>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgReformNoticeMapper.xml
View file @
3e7c1883
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<if
test=
"type == 'supervision'"
>
<if
test=
"type == 'supervision'"
>
AND (isn.notice_status in ('6612', '6613', '6614', '6616') )
AND (isn.notice_status in ('6612', '6613', '6614', '6616') )
AND isn.receive_org_code = #{orgCode}
AND isn.receive_org_code = #{orgCode}
AND isn.instance_id
is not null
AND isn.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"type == 'company'"
>
<if
test=
"type == 'company'"
>
AND isn.install_unit_credit_code = #{orgCode}
AND isn.install_unit_credit_code = #{orgCode}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
View file @
3e7c1883
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</if>
</if>
<if
test=
"dto.type == 'supervision'"
>
<if
test=
"dto.type == 'supervision'"
>
and ( ur.receive_org_code = #{orgCode} or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
and ( ur.receive_org_code = #{orgCode} or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
AND ur.instance_id
is not null
AND ur.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"dto.type == 'company' "
>
<if
test=
"dto.type == 'company' "
>
and (ur.use_unit_code = #{orgCode} or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
and (ur.use_unit_code = #{orgCode} or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
View file @
3e7c1883
...
@@ -78,14 +78,14 @@
...
@@ -78,14 +78,14 @@
</if>
</if>
<if
test=
"type == 'supervision'"
>
<if
test=
"type == 'supervision'"
>
AND tjtn.receive_company_code = #{orgCode}
AND tjtn.receive_company_code = #{orgCode}
AND tjtn.instance_id
is not null
AND tjtn.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"type == 'company'"
>
<if
test=
"type == 'company'"
>
AND tjtn.install_unit_credit_code = #{orgCode}
AND tjtn.install_unit_credit_code = #{orgCode}
</if>
</if>
<if
test=
"type == 'testAdmin'"
>
<if
test=
"type == 'testAdmin'"
>
((AND tjtn.receive_company_code = #{orgCode}
((AND tjtn.receive_company_code = #{orgCode}
AND tjtn.instance_id
is not null
)
AND tjtn.instance_id
<![CDATA[<>]]>
''
)
or
or
AND tjtn.install_unit_credit_code = #{orgCode})
AND tjtn.install_unit_credit_code = #{orgCode})
</if>
</if>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
3e7c1883
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</if>
</if>
<if
test=
"dto.dataType == 'supervision' "
>
<if
test=
"dto.dataType == 'supervision' "
>
and ur.receive_company_code = #{dto.unitCode}
and ur.receive_company_code = #{dto.unitCode}
AND ur.instance_id
is not null
AND ur.instance_id
<![CDATA[<>]]>
''
</if>
</if>
<if
test=
"dto.dataType == 'company' "
>
<if
test=
"dto.dataType == 'company' "
>
and ur.use_unit_credit_code = #{dto.unitCode}
and ur.use_unit_credit_code = #{dto.unitCode}
...
...
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