Commit 18de22dc390e480c625b1ebe89ee807ed146ae43
1 parent
645fe827
增加客户的公海领取和
Showing
1 changed file
with
1 additions
and
1 deletions
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 { |
| 175 | 175 | //判断参数不能为空 |
| 176 | 176 | if(ownerId==null || CollectionUtils.isEmpty(cIds)) |
| 177 | 177 | return error(GlobalErrorCodeConstants.BAD_REQUEST.getCode(),GlobalErrorCodeConstants.BAD_REQUEST.getMsg()); |
| 178 | - | |
| 178 | + customerService.distributeByIds(cIds,ownerId); | |
| 179 | 179 | return success("分配成功"); |
| 180 | 180 | } |
| 181 | 181 | ... | ... |