FamilyService.java 1.1 KB
package com.example.client.service;

import cn.bronet.admin.common.core.domain.AjaxResult;
import com.example.client.domain.bo.CFamilyRelationStudentBo;
import com.example.client.domain.bo.MyAuthentication;

/**
 * Created with IDEA
 * author:WangZhaoBo
 * Date:2021/9/14
 * Time:19:10
 */
public interface FamilyService {

	AjaxResult bindingFamily(MyAuthentication myAuthentication ,Long userId);

	/**
	 * 查询所有家庭关系
	 * @return
	 */
	AjaxResult selectFamilies();

	/**
	 * 获取要修改的家庭关系信息
	 * @param familyId
	 * @return
	 */
	AjaxResult getFamilyInfo(Long familyId);

	/**
	 * 修改家庭关系信息
	 * @param bo
	 * @return
	 */
	AjaxResult updateFamily(CFamilyRelationStudentBo bo);

	/**
	 * 删除家庭关系信息
	 * @param familyId
	 * @return
	 */
	AjaxResult deleteFamily(Long familyId);

	/**
	 * 添加家庭关系信息
	 * @param bo
	 * @return
	 */
	AjaxResult saveFamily(CFamilyRelationStudentBo bo);

	/**
	 * 修改家长和孩子的绑定状况
	 * @param connect
	 * @return
	 */
	AjaxResult updateFamilyConnect(Integer connect,Long userId);
}