|
@@ -42,6 +42,7 @@
|
|
c.of_company_id as contractCompanyId,
|
|
c.of_company_id as contractCompanyId,
|
|
c.dept_id as contractDeptId,
|
|
c.dept_id as contractDeptId,
|
|
c.buy_corporation_id as customerId,
|
|
c.buy_corporation_id as customerId,
|
|
|
|
+ c.belong_type as contract_belong_type,
|
|
IFNULL(t2.lackStatus, 0) as lackStatus
|
|
IFNULL(t2.lackStatus, 0) as lackStatus
|
|
FROM production_order_detail pod
|
|
FROM production_order_detail pod
|
|
LEFT JOIN production_order po ON pod.produce_order_id = po.id
|
|
LEFT JOIN production_order po ON pod.produce_order_id = po.id
|