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
dace1529
Commit
dace1529
authored
Dec 26, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):历史设备登记场车设备可以更改车牌号
parent
0d9a07e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+3
-3
No files found.
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/JgUseRegistrationServiceImpl.java
View file @
dace1529
...
...
@@ -122,7 +122,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
private
static
final
String
COUNTY
=
"COUNTY"
;
private
static
final
String
REGION
=
"REGION"
;
private
static
final
String
STREET
=
"STREET"
;
public
static
final
String
CAR_NUMBER
=
"CAR_NUMBER
"
;
public
static
final
String
carNumber
=
"carNumber
"
;
private
ApplicationContext
applicationContext
;
@Autowired
RedisUtils
redisUtils
;
...
...
@@ -3206,7 +3206,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
// 场车设备校验车牌号的唯一性
if
(
EquipmentClassifityEnum
.
CC
.
getCode
().
equals
(
map
.
get
(
"EQU_LIST_CODE"
)))
{
Integer
count
=
idxBizJgRegisterInfoService
.
lambdaQuery
()
.
eq
(
IdxBizJgRegisterInfo:
:
getCarNumber
,
map
.
get
(
CAR_NUMBER
))
.
eq
(
IdxBizJgRegisterInfo:
:
getCarNumber
,
map
.
get
(
carNumber
))
.
ne
(!
com
.
baomidou
.
mybatisplus
.
core
.
toolkit
.
StringUtils
.
isEmpty
(
equipId
),
IdxBizJgRegisterInfo:
:
getRecord
,
equipId
)
.
count
();
if
(
count
>
0
)
{
...
...
@@ -3358,7 +3358,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
registerInfo
.
setOtherAccessoriesReg
(
JSONObject
.
toJSONString
(
map
.
get
(
"otherAccessoriesReg"
)));
registerInfo
.
setInstallationIsComplete
(
map
.
getOrDefault
(
"installationIsComplete"
,
"1"
).
toString
());
if
(
EquipmentClassifityEnum
.
CC
.
getCode
().
equals
(
map
.
get
(
"EQU_LIST_CODE"
)))
{
registerInfo
.
setCarNumber
((
String
)
map
.
get
(
CAR_NUMBER
));
registerInfo
.
setCarNumber
((
String
)
map
.
get
(
carNumber
));
}
idxBizJgRegisterInfoMapper
.
updateById
(
registerInfo
);
...
...
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