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
d8fd4f31
Commit
d8fd4f31
authored
Aug 16, 2023
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验注册代码、设备代码、96333码重复问题修改
parent
fef2a54e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
.gitignore
.gitignore
+2
-0
CategoryOtherInfoMapper.xml
...api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
+6
-6
No files found.
.gitignore
View file @
d8fd4f31
...
...
@@ -6,3 +6,5 @@ target/
/org.eclipse
.settings
log/
*.gitignore
**/.idea/**
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/CategoryOtherInfoMapper.xml
View file @
d8fd4f31
...
...
@@ -105,25 +105,25 @@
<if
test=
"equCode != null and equCode != ''"
>
(SELECT COUNT ( 1 ) FROM idx_biz_jg_register_info ibjri
LEFT JOIN idx_biz_jg_other_info ibjoi ON ibjoi."RECORD" = ibjri."RECORD"
WHERE ibjri."EQU_CODE" = #{equCode}
WHERE ibjri."EQU_CODE" = #{equCode}
and ibjoi."CLAIM_STATUS" = '已认领'
<if
test=
"type != 'save' "
>
and ibjri."RECORD" != #{record}
and ibjoi."CLAIM_STATUS" = '已认领'
and ibjri."RECORD" != #{record}
</if>
) AS equCode,
</if>
<if
test=
"useOrgCode != null and useOrgCode != ''"
>
(SELECT COUNT ( 1 ) FROM idx_biz_jg_register_info ibjri
LEFT JOIN idx_biz_jg_other_info ibjoi ON ibjoi."RECORD" = ibjri."RECORD"
WHERE ibjri."USE_ORG_CODE" = #{useOrgCode}
WHERE ibjri."USE_ORG_CODE" = #{useOrgCode}
and ibjoi."CLAIM_STATUS" = '已认领'
<if
test=
"type != 'save'"
>
and ibjri."RECORD" != #{record}
and ibjoi."CLAIM_STATUS" = '已认领'
and ibjri."RECORD" != #{record}
</if>
) AS useOrgCode,
</if>
<if
test=
"code96333 != null and code96333 != ''"
>
(SELECT COUNT ( 1 ) FROM idx_biz_jg_other_info ibjoi WHERE ibjoi."CODE96333" = #{code96333}
(SELECT COUNT ( 1 ) FROM idx_biz_jg_other_info ibjoi WHERE ibjoi."CODE96333" = #{code96333}
and ibjoi."CLAIM_STATUS" = '已认领'
<if
test=
"type != 'save'"
>
and ibjoi."RECORD" != #{record}
and ibjoi."CLAIM_STATUS" = '已认领'
and ibjoi."RECORD" != #{record}
</if>
) AS code
</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