Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 091ba0bc
authored
Jun 24, 2021
by
黄小葱
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
4a862689
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
src/main/java/cn/com/glsx/admin/modules/controller/VehicleController.java
src/main/java/cn/com/glsx/admin/modules/model/param/SyncVehicleBo.java
src/main/java/cn/com/glsx/admin/modules/controller/VehicleController.java
View file @
091ba0b
...
@@ -149,6 +149,8 @@ public class VehicleController {
...
@@ -149,6 +149,8 @@ public class VehicleController {
String
chanle
=
vehicleBo
.
getChanle
();
String
chanle
=
vehicleBo
.
getChanle
();
if
(
StringUtils
.
isNotBlank
(
chanle
)
&&
Constants
.
SYNC_CHANNEL_TIMED_TASK
.
equals
(
chanle
))
{
if
(
StringUtils
.
isNotBlank
(
chanle
)
&&
Constants
.
SYNC_CHANNEL_TIMED_TASK
.
equals
(
chanle
))
{
errorMess
=
vehicleService
.
syncVehicleInfoFromBhg
(
vehicleBo
);
errorMess
=
vehicleService
.
syncVehicleInfoFromBhg
(
vehicleBo
);
}
else
{
errorMess
=
"同步渠道不正确。chanle:"
+
chanle
;
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
info
(
"包活干同步车辆信息 异常:message:"
+
e
.
getMessage
());
log
.
info
(
"包活干同步车辆信息 异常:message:"
+
e
.
getMessage
());
...
...
src/main/java/cn/com/glsx/admin/modules/model/param/SyncVehicleBo.java
View file @
091ba0b
...
@@ -13,12 +13,6 @@ import java.util.List;
...
@@ -13,12 +13,6 @@ import java.util.List;
*/
*/
public
class
SyncVehicleBo
implements
Serializable
{
public
class
SyncVehicleBo
implements
Serializable
{
// /**
// * 加密的sign
// */
// @NotNull(message = "sign不能为空", groups = {ValidateGroups.Update.class,ValidateGroups.Delete.class})
// private String sign;
/**
/**
* e盾的工单编号
* e盾的工单编号
*/
*/
...
@@ -38,7 +32,7 @@ public class SyncVehicleBo implements Serializable {
...
@@ -38,7 +32,7 @@ public class SyncVehicleBo implements Serializable {
/**
/**
* 车主姓名
* 车主姓名
*/
*/
@NotNull
(
message
=
"
vin
不能为空"
,
groups
=
{
ValidateGroups
.
Update
.
class
,
ValidateGroups
.
Delete
.
class
})
@NotNull
(
message
=
"
ownerName
不能为空"
,
groups
=
{
ValidateGroups
.
Update
.
class
,
ValidateGroups
.
Delete
.
class
})
private
String
ownerName
;
private
String
ownerName
;
/**
/**
* 车主性别
* 车主性别
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment