/// <summary> /// 通过增员表ID获取政策 /// </summary> /// <param name="addId">增员表ID</param> /// <returns></returns> public PoliceInsurance GetPoliceInsuranceByEmployeeAddId(int addId) { EmployeeAddRepository addRepository = new EmployeeAddRepository(); var employeeAdd = addRepository.GetById(db, addId); return(employeeAdd.PoliceInsurance); }