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 e302d4cb
authored
May 28, 2021
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]试驾服务
1 parent
2320292f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleDocService.java
src/main/resources/mapper/ApprovalMapper.xml
src/main/resources/mapper/VehicleMapper.xml
src/main/java/cn/com/glsx/admin/modules/service/VehicleDocService.java
View file @
e302d4c
...
@@ -54,6 +54,7 @@ public class VehicleDocService {
...
@@ -54,6 +54,7 @@ public class VehicleDocService {
TrialDriveVehicleEditBo
trialDriveVehicleEditBo
=
new
TrialDriveVehicleEditBo
();
TrialDriveVehicleEditBo
trialDriveVehicleEditBo
=
new
TrialDriveVehicleEditBo
();
BeanUtils
.
copyProperties
(
vehicleInfoBo
,
trialDriveVehicleEditBo
);
BeanUtils
.
copyProperties
(
vehicleInfoBo
,
trialDriveVehicleEditBo
);
trialDriveVehicleEditBo
.
setTempId
(
vehicleInfoBo
.
getTempId
()
+
""
);
trialDriveVehicleEditBo
.
setTempId
(
vehicleInfoBo
.
getTempId
()
+
""
);
trialDriveVehicleEditBo
.
setBuyType
(
vehicleInfoBo
.
getBuyType
()+
""
);
trialDriveVehicleEditBo
.
setRegistrationDate
(
new
Date
());
trialDriveVehicleEditBo
.
setRegistrationDate
(
new
Date
());
vehicleService
.
updateVehicle
(
trialDriveVehicleEditBo
);
vehicleService
.
updateVehicle
(
trialDriveVehicleEditBo
);
// 2.更新上牌资料信息
// 2.更新上牌资料信息
...
...
src/main/resources/mapper/ApprovalMapper.xml
View file @
e302d4c
...
@@ -125,8 +125,8 @@
...
@@ -125,8 +125,8 @@
td.dict_label as approvalResult,
td.dict_label as approvalResult,
app.biz_id as bizId
app.biz_id as bizId
from t_approval app
from t_approval app
left join t_electric_fence tvd on app.biz_id = tvd.id and tvd.del_flag = 0
left join t_electric_fence
_copy
tvd on app.biz_id = tvd.id and tvd.del_flag = 0
left join t_trial_drive_shop shop on tvd.
id=shop.fence_id
left join t_trial_drive_shop shop on tvd.
created_by=shop.created_by
left join t_dict_data td on app.status=td.dict_value
left join t_dict_data td on app.status=td.dict_value
where app.del_flag = 0 and app.status in (1,2,3) and td.dict_type='approval_status'
where app.del_flag = 0 and app.status in (1,2,3) and td.dict_type='approval_status'
AND APP.biz_type=1 and shop_name is not null
AND APP.biz_type=1 and shop_name is not null
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
e302d4c
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
<result
column=
"registration_date"
jdbcType=
"TIMESTAMP"
property=
"registrationDate"
/>
<result
column=
"registration_date"
jdbcType=
"TIMESTAMP"
property=
"registrationDate"
/>
<result
column=
"sale_manager"
jdbcType=
"VARCHAR"
property=
"saleManager"
/>
<result
column=
"sale_manager"
jdbcType=
"VARCHAR"
property=
"saleManager"
/>
<result
column=
"sale_manager_phone"
jdbcType=
"VARCHAR"
property=
"saleManagerPhone"
/>
<result
column=
"sale_manager_phone"
jdbcType=
"VARCHAR"
property=
"saleManagerPhone"
/>
<result
column=
"buy_type"
jdbcType=
"DATE"
property=
"buyType"
/>
</resultMap>
</resultMap>
<resultMap
id=
"TearDownAlarmMap"
type=
"cn.com.glsx.admin.modules.model.export.TearDownModelExport"
>
<resultMap
id=
"TearDownAlarmMap"
type=
"cn.com.glsx.admin.modules.model.export.TearDownModelExport"
>
...
...
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