|
|
|
@ -13,12 +13,17 @@
|
|
|
|
t.total_tax, t.total_including_tax, t.customer_contact_id, t.customer_contact_name, t.customer_contact_phone, t.customer_contact_email,
|
|
|
|
t.total_tax, t.total_including_tax, t.customer_contact_id, t.customer_contact_name, t.customer_contact_phone, t.customer_contact_email,
|
|
|
|
t.supplier_contact_id, t.supplier_contact_name, t.supplier_contact_phone, t.supplier_contact_email, t.project_id, t.template_id, t.oss_id, t.quote_status,
|
|
|
|
t.supplier_contact_id, t.supplier_contact_name, t.supplier_contact_phone, t.supplier_contact_email, t.project_id, t.template_id, t.oss_id, t.quote_status,
|
|
|
|
t.flow_status, t.remark,
|
|
|
|
t.flow_status, t.remark,
|
|
|
|
|
|
|
|
ci.customer_name as customerName,
|
|
|
|
|
|
|
|
s.supplier_name as supplierName,
|
|
|
|
d.dept_name as deptName,
|
|
|
|
d.dept_name as deptName,
|
|
|
|
u3.nick_name as createName,
|
|
|
|
u3.nick_name as createName,
|
|
|
|
t.del_flag, t.create_dept, t.create_by, t.create_time, t.update_by, t.update_time
|
|
|
|
t.del_flag, t.create_dept, t.create_by, t.create_time, t.update_by, t.update_time
|
|
|
|
from crm_quote_info t
|
|
|
|
from crm_quote_info t
|
|
|
|
left join sys_user u3 on t.create_by = u3.user_id
|
|
|
|
left join sys_user u3 on t.create_by = u3.user_id
|
|
|
|
left join sys_dept d on d.dept_id = t.quote_dept_id
|
|
|
|
left join sys_dept d on d.dept_id = t.quote_dept_id
|
|
|
|
|
|
|
|
left join crm_customer_contact cc on t.customer_contact_id = cc.contact_id
|
|
|
|
|
|
|
|
left join crm_customer_info ci on ci.customer_id = cc.customer_id
|
|
|
|
|
|
|
|
left join crm_supplier_info s on s.supplier_id = t.supplier_contact_id
|
|
|
|
${ew.getCustomSqlSegment}
|
|
|
|
${ew.getCustomSqlSegment}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|