|
@@ -318,7 +318,7 @@
|
|
(select custom_name from custom where id = customer_id) customerName,
|
|
(select custom_name from custom where id = customer_id) customerName,
|
|
(select `name` from contacts where id = contacts_id) contactsName,
|
|
(select `name` from contacts where id = contacts_id) contactsName,
|
|
(select `name` from `user` where id = incharger_id) inchargerName,
|
|
(select `name` from `user` where id = incharger_id) inchargerName,
|
|
- (select `name` from `user` where id = creator_id) creatorName
|
|
|
|
|
|
+ (select `name` from `user` where id = creator_id) creatorName,need_pin,pin_time
|
|
from business_opportunity
|
|
from business_opportunity
|
|
where company_id = #{companyId}
|
|
where company_id = #{companyId}
|
|
and is_delete = #{isDelete}
|
|
and is_delete = #{isDelete}
|
|
@@ -357,7 +357,7 @@
|
|
(select custom_name from custom where id = customer_id) customerName,
|
|
(select custom_name from custom where id = customer_id) customerName,
|
|
(select `name` from contacts where id = contacts_id) contactsName,
|
|
(select `name` from contacts where id = contacts_id) contactsName,
|
|
(select `name` from `user` where id = incharger_id) inchargerName,
|
|
(select `name` from `user` where id = incharger_id) inchargerName,
|
|
- (select `name` from `user` where id = creator_id) creatorName
|
|
|
|
|
|
+ (select `name` from `user` where id = creator_id) creatorName,need_pin,pin_time
|
|
from business_opportunity
|
|
from business_opportunity
|
|
where company_id = #{bo.companyId}
|
|
where company_id = #{bo.companyId}
|
|
and is_delete = #{bo.isDelete}
|
|
and is_delete = #{bo.isDelete}
|
|
@@ -398,7 +398,7 @@
|
|
(select custom_name from custom where id = customer_id) customerName,
|
|
(select custom_name from custom where id = customer_id) customerName,
|
|
(select `name` from contacts where id = contacts_id) contactsName,
|
|
(select `name` from contacts where id = contacts_id) contactsName,
|
|
(select `name` from `user` where id = incharger_id) inchargerName,
|
|
(select `name` from `user` where id = incharger_id) inchargerName,
|
|
- (select `name` from `user` where id = creator_id) creatorName
|
|
|
|
|
|
+ (select `name` from `user` where id = creator_id) creatorName,need_pin,pin_time
|
|
from business_opportunity
|
|
from business_opportunity
|
|
where company_id = #{bo.companyId}
|
|
where company_id = #{bo.companyId}
|
|
and is_delete = #{bo.isDelete}
|
|
and is_delete = #{bo.isDelete}
|