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 cb577418
authored
Aug 30, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工单关联获取车辆列表增加角色权限控制
1 parent
95d02795
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/main/java/cn/com/glsx/admin/modules/mapper/WorkOrderMapper.java
src/main/resources/mapper/WorkOrderMapper.xml
src/main/java/cn/com/glsx/admin/modules/mapper/WorkOrderMapper.java
View file @
cb57741
...
@@ -55,5 +55,6 @@ public interface WorkOrderMapper extends CommonBaseMapper<WorkOrder> {
...
@@ -55,5 +55,6 @@ public interface WorkOrderMapper extends CommonBaseMapper<WorkOrder> {
int
updateCreatedBy
(
@Param
(
"workOrderId"
)
Long
workOrderId
,
@Param
(
"userId"
)
Long
userId
);
int
updateCreatedBy
(
@Param
(
"workOrderId"
)
Long
workOrderId
,
@Param
(
"userId"
)
Long
userId
);
@DataPerm
(
permTable
=
"tv"
,
showSql
=
true
)
List
<
LinkVehicleVO
>
getLinkVehicleListByVin
(
@Param
(
"vin"
)
String
vin
);
List
<
LinkVehicleVO
>
getLinkVehicleListByVin
(
@Param
(
"vin"
)
String
vin
);
}
}
src/main/resources/mapper/WorkOrderMapper.xml
View file @
cb57741
...
@@ -250,11 +250,12 @@
...
@@ -250,11 +250,12 @@
tv.owner_name ownerName,
tv.owner_name ownerName,
tw.shop_name shopName,
tw.shop_name shopName,
tw.partner_order_no bizOrderNo,
tw.partner_order_no bizOrderNo,
tv.vin vin
tv.vin vin,
tv.created_date createdDate
from t_vehicle tv
from t_vehicle tv
left join t_workorder tw on tw.id = tv.workorder_id and tw.del_flag = 0
left join t_workorder tw on tw.id = tv.workorder_id and tw.del_flag = 0
where tv.del_flag = 0
where tv.del_flag = 0
and tv.vin = #{vin}
and tv.vin = #{vin}
order by
tv.created_d
ate desc
order by
createdD
ate desc
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
\ No newline at end of file
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