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 0acaa23b
authored
Jan 01, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复或预防
1 parent
6dd3225a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/main/resources/mapper/WorkOrderMapper.xml
src/main/resources/mapper/WorkOrderMapper.xml
View file @
0acaa23
...
...
@@ -96,7 +96,7 @@
from t_workorder tw
left join t_workorder_vehicle twv on twv.workorder_id = tw.id
left join t_vehicle tv on tv.workorder_id = tw.id and tv.del_flag = 0
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id and tvd.del_flag = 0
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id and tvd.del_flag = 0
and tvd.bind_status = 1
left join t_user tu on tu.id = tw.created_by
left join t_tenant tt on tt.id = tu.tenant_id
where tw.del_flag = 0
...
...
@@ -152,6 +152,8 @@
tw.created_date createdDate
from t_workorder tw
left join t_workorder_vehicle twv on twv.workorder_id = tw.id
left join t_vehicle tv on tv.workorder_id = tw.id and tv.del_flag = 0
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id and tvd.del_flag = 0 and tvd.bind_status = 1
left join t_user tu on tu.id = tw.created_by
left join t_tenant tt on tt.id = tu.tenant_id
where tw.del_flag = 0
...
...
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