|
|
|
@ -992,7 +992,7 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
|
public void abandonGridForDealBizData(AbandonGridFormDTO formDTO) { |
|
|
|
try { |
|
|
|
//根据网格id 获取网格内工作人员及其添加关系
|
|
|
|
List<StaffOrgRelationDTO> staffList = customerStaffGridDao.getGridStaffList(gridId); |
|
|
|
List<StaffOrgRelationDTO> staffList = customerStaffGridDao.getGridStaffList(formDTO.getGridId()); |
|
|
|
if (staffList == null){ |
|
|
|
staffList = new ArrayList<>(); |
|
|
|
} |
|
|
|
@ -1017,7 +1017,7 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
|
}); |
|
|
|
String customerId = loginUserUtil.getLoginUserCustomerId(); |
|
|
|
//更新工作人员组织关系
|
|
|
|
dealBizDataForAbandon(customerId,gridId, staffList, updateList); |
|
|
|
dealBizDataForAbandon(customerId,formDTO.getGridId(),formDTO.getUserId(), staffList, updateList); |
|
|
|
//清空工作人员缓存
|
|
|
|
staffList.forEach(staff->CustomerStaffRedis.delStaffInfoFormCache(customerId,staff.getStaffId())); |
|
|
|
|
|
|
|
|