瀏覽代碼

工单,厂商关联的表改为用t_work_flow.handler_firm关联厂商表

Ping 1 年之前
父節點
當前提交
aaf99d9096
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      all.sql

+ 1 - 1
all.sql

@@ -1953,7 +1953,7 @@ insert into bi_work_flow_group_by_time
 	left join icm.sys_org c
 	on a.serve_department = c.org_code
 	left join icm.cfg_manufacturer d
-	on a.serve_firm = d.id
+	on a.handler_firm = d.id
 	group by 
 		date_format(a.start_time,'%Y%m%d%H'),
 		a.process_type_name,