更新工单列表也数据字段
This commit is contained in:
parent
d4c0394293
commit
af3032dba8
@ -53,13 +53,15 @@
|
||||
SELECT
|
||||
o.work_order_id as 'workOrderId',
|
||||
o.title as 'title',
|
||||
o.type as 'type',
|
||||
o.type as 'typeId',
|
||||
td.name as 'typeName',
|
||||
u.dept_id as 'deptId',
|
||||
d.dept_name as 'deptName',
|
||||
u.work_user_id as 'userId',
|
||||
u.user_name as 'userName',
|
||||
o.`status` as 'status'
|
||||
from xhpc_work_order o
|
||||
left join xhpc_work_type_dict td on td.work_type_id=o.type
|
||||
LEFT JOIN xhpc_work_order_user ou on o.work_order_id=ou.order_id
|
||||
LEFT JOIN xhpc_work_user u on ou.user_id=u.work_user_id
|
||||
LEFT JOIN xhpc_work_dept d on d.work_dept_id=u.dept_id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user