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
e5e4d1a7
Commit
e5e4d1a7
authored
Dec 23, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):历史气瓶新增重复使用登记证Bug修改
parent
1675b6a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
JgUseRegistrationManageMapper.xml
...c/main/resources/mapper/JgUseRegistrationManageMapper.xml
+1
-1
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationManageMapper.xml
View file @
e5e4d1a7
...
...
@@ -223,7 +223,7 @@
WHERE LENGTH(t.use_registration_code) = 14
AND SUBSTR(t.use_registration_code, 1, 1) IN ('容', '锅', '管', '瓶', '梯', '起', '索', '游', '车')
AND TRIM(t.use_registration_code) LIKE concat('%(',#{year},')')
AND (tjur.reg_type IS NULL OR tjur.reg_type =
2
)
AND (tjur.reg_type IS NULL OR tjur.reg_type =
'2' OR tjur.reg_type = '0'
)
AND tjur.is_delete = 0
GROUP BY SUBSTR(t.use_registration_code, 1, 5)
HAVING code
<![CDATA[ <> ]]>
'00000'
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
View file @
e5e4d1a7
...
...
@@ -755,7 +755,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
String
useRegistrationCode
=
String
.
valueOf
(
equipmentInfoForm
.
get
(
"useRegistrationCode"
)).
trim
();
String
equipId
=
String
.
valueOf
(
equipmentInfoForm
.
get
(
"RECORD"
));
// 校验使用登记证编号的唯一性
if
(
commonService
.
useRegistrationCertificateAccountUnique
(
useRegistrationCode
,
equipId
))
{
if
(
!
CylinderTypeEnum
.
CYLINDER
.
getCode
().
equals
(
equipmentInfoForm
.
get
(
"EQU_CATEGORY"
))
&&
commonService
.
useRegistrationCertificateAccountUnique
(
useRegistrationCode
,
equipId
))
{
throw
new
BadRequest
(
"使用登记证编号已存在!"
);
}
String
regType
=
Optional
.
ofNullable
(
equipmentInfoForm
.
get
(
"EQU_LIST"
))
...
...
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