Commit 16d0f9c9 by 徐高华

刷新整个企业的好友

parent 506ece91
...@@ -10,6 +10,8 @@ import com.gic.haoban.manage.api.dto.StaffClerkRelationDTO; ...@@ -10,6 +10,8 @@ import com.gic.haoban.manage.api.dto.StaffClerkRelationDTO;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import org.apache.ibatis.annotations.Param;
public interface StaffClerkRelationApiService { public interface StaffClerkRelationApiService {
/** /**
* 绑定日志 * 绑定日志
...@@ -206,5 +208,7 @@ public interface StaffClerkRelationApiService { ...@@ -206,5 +208,7 @@ public interface StaffClerkRelationApiService {
* @throws * @throws
*/ */
int getCanAddHmCount(String enterpriseId , String wxEnterpriseId , String clerkId) ; int getCanAddHmCount(String enterpriseId , String wxEnterpriseId , String clerkId) ;
List<String> listStaffIdByWxEnterpriseId(String wxEnterpriseId);
} }
...@@ -65,7 +65,7 @@ public interface TabHaobanStaffClerkRelationMapper { ...@@ -65,7 +65,7 @@ public interface TabHaobanStaffClerkRelationMapper {
List<StaffClerkRelationDTO> listByClerkIds(@Param("clerkIds") List<String> clerkIds); List<StaffClerkRelationDTO> listByClerkIds(@Param("clerkIds") List<String> clerkIds);
List<TabHaobanStaffClerkRelation> listByStoreId(@Param("storeId") String storeId); List<TabHaobanStaffClerkRelation> listByStoreId(@Param("storeId") String storeId);
TabHaobanStaffClerkRelation getOneByStoreIdAndStaffId(@Param("storeId") String storeId, @Param("staffId") String staffId); TabHaobanStaffClerkRelation getOneByStoreIdAndStaffId(@Param("storeId") String storeId, @Param("staffId") String staffId);
/** /**
......
...@@ -533,4 +533,8 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe ...@@ -533,4 +533,8 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
return count; return count;
} }
@Override
public List<String> listStaffIdByWxEnterpriseId(String wxEnterpriseId) {
return this.staffClerkRelationService.listByWxEnterpriseId(wxEnterpriseId);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment