Browse Source

客户修改

Guo1B0 10 months ago
parent
commit
0e22240c97

+ 3 - 3
fhKeeper/formulahousekeeper/management-crm/src/main/resources/mapper/BusinessOpportunityMapper.xml

@@ -36,7 +36,7 @@
         (select `name` from  stage where id =  stage_id) stageValue,
         (select custom_name from custom where id = customer_id) customerName,
         (select `name` from contacts where id = contacts_id) contactsName,
-        (select `name` from `user` where id = contacts_id) inchargerName,
+        (select `name` from `user` where id = incharger_id) inchargerName,
         (select `name` from `user` where id = creator_id) creatorName,
         (SELECT sum(total) from business_product WHERE business_id = id) total
         from business_opportunity
@@ -100,7 +100,7 @@
         (select `name` from  stage where id =  stage_id) stageValue,
         (select custom_name from custom where id = customer_id) customerName,
         (select `name` from contacts where id = contacts_id) contactsName,
-        (select `name` from `user` where id = contacts_id) inchargerName,
+        (select `name` from `user` where id = incharger_id) inchargerName,
         (select `name` from `user` where id = creator_id) creatorName,
         (SELECT sum(total) from business_product WHERE business_id = id)
         from business_opportunity
@@ -170,7 +170,7 @@
         (select `name` from  stage where id =  stage_id) stageValue,
         (select custom_name from custom where id = customer_id) customerName,
         (select `name` from contacts where id = contacts_id) contactsName,
-        (select `name` from `user` where id = contacts_id) inchargerName,
+        (select `name` from `user` where id = incharger_id) inchargerName,
         (select `name` from `user` where id = creator_id) creatorName,
         (SELECT sum(total) from business_product WHERE business_id = id)
         from business_opportunity