Переглянути джерело

增加客户的公海领取和

xiaqing 1 рік тому
батько
коміт
18de22dc39

+ 1 - 1
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/customer/CrmCustomerController.java

@@ -175,7 +175,7 @@ public class CrmCustomerController {
         //判断参数不能为空
         if(ownerId==null || CollectionUtils.isEmpty(cIds))
             return error(GlobalErrorCodeConstants.BAD_REQUEST.getCode(),GlobalErrorCodeConstants.BAD_REQUEST.getMsg());
-
+        customerService.distributeByIds(cIds,ownerId);
         return success("分配成功");
     }