Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
cf3ded19
Commit
cf3ded19
authored
Aug 27, 2020
by
unset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-vehicle-price' into dev-tiande
parents
56db3ee2
b0df4bd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
VehicleCommonPriceInfoBiz.java
.../xxfc/platform/vehicle/biz/VehicleCommonPriceInfoBiz.java
+2
-2
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleCommonPriceInfoBiz.java
View file @
cf3ded19
...
@@ -59,7 +59,7 @@ public class VehicleCommonPriceInfoBiz extends BaseBiz<VehicleCommonPriceInfoMap
...
@@ -59,7 +59,7 @@ public class VehicleCommonPriceInfoBiz extends BaseBiz<VehicleCommonPriceInfoMap
}
}
if
(
vehicleList
==
null
||
vehicleList
.
size
()
<=
0
)
{
//单个车辆可用
if
(
vehicleList
==
null
||
vehicleList
.
size
()
<=
0
)
{
//单个车辆可用
VehicleCommonPriceInfo
oldValue
=
getByVehicleId
(
vehicleCommonPriceInfo
.
getVehicleId
());
VehicleCommonPriceInfo
oldValue
=
getByVehicleId
(
vehicleCommonPriceInfo
.
getVehicleId
());
if
(
oldValue
==
null
)
{
if
(
oldValue
==
null
&&
vehicleCommonPriceInfo
.
getId
()
==
null
)
{
insertSelectiveRe
(
vehicleCommonPriceInfo
);
insertSelectiveRe
(
vehicleCommonPriceInfo
);
}
else
{
}
else
{
BeanUtil
.
copyProperties
(
vehicleCommonPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
BeanUtil
.
copyProperties
(
vehicleCommonPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
...
@@ -71,7 +71,7 @@ public class VehicleCommonPriceInfoBiz extends BaseBiz<VehicleCommonPriceInfoMap
...
@@ -71,7 +71,7 @@ public class VehicleCommonPriceInfoBiz extends BaseBiz<VehicleCommonPriceInfoMap
vehicleCommonPriceInfo
.
setVehicleId
(
vehicleInfo
.
getId
());
vehicleCommonPriceInfo
.
setVehicleId
(
vehicleInfo
.
getId
());
vehicleCommonPriceInfo
.
setCompanyId
(
vehicleInfo
.
getSubordinateBranch
());
vehicleCommonPriceInfo
.
setCompanyId
(
vehicleInfo
.
getSubordinateBranch
());
vehicleCommonPriceInfo
.
setModelId
(
vehicleInfo
.
getModelId
());
vehicleCommonPriceInfo
.
setModelId
(
vehicleInfo
.
getModelId
());
if
(
oldValue
==
null
)
{
if
(
oldValue
==
null
&&
vehicleCommonPriceInfo
.
getId
()
==
null
)
{
insertSelectiveRe
(
vehicleCommonPriceInfo
);
insertSelectiveRe
(
vehicleCommonPriceInfo
);
}
else
{
}
else
{
BeanUtil
.
copyProperties
(
vehicleCommonPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
BeanUtil
.
copyProperties
(
vehicleCommonPriceInfo
,
oldValue
,
CopyOptions
.
create
().
setIgnoreNullValue
(
true
).
setIgnoreError
(
true
));
...
...
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