From 535cf6adf25bc60430b365b8b93f8e935bafa93e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?old=E6=98=93?= <156663459@qq.com>
Date: Thu, 7 Dec 2023 14:44:12 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E5=B0=8F=E7=A8=8B=E5=BA=8F=E8=81=8C?=
=?UTF-8?q?=E4=B8=9A=E6=A8=A1=E5=9D=97=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Controllers/Front/LibraryController.cs | 12 +-
.../Front/OccupationMapJobInfoController.cs | 59 +++++
New_College.Api/New_College.Model.xml | 185 +++++++++++++---
New_College.Api/New_College.xml | 14 +-
New_College.IServices/ID_LongIdMapServices.cs | 9 +-
.../IOccupationMapJobInfoServices.cs | 12 ++
New_College.Model/Models/D_Occupation.cs | 25 +++
.../Models/OccupationMapJobInfo.cs | 70 ++++++
.../ViewModels/OccupationMapJobInfoRequest.cs | 18 ++
.../ViewModels/Result/OccupationResult.cs | 199 ++++++++++++++++-
.../BASE/IOccupationMapJobInfoRepository.cs | 12 ++
.../BASE/OccupationMapJobInfoRepository.cs | 17 ++
New_College.Services/D_LongIdMapServices.cs | 203 ++----------------
.../OccupationMapJobInfoServices.cs | 18 ++
14 files changed, 622 insertions(+), 231 deletions(-)
create mode 100644 New_College.Api/Controllers/Front/OccupationMapJobInfoController.cs
create mode 100644 New_College.IServices/IOccupationMapJobInfoServices.cs
create mode 100644 New_College.Model/Models/OccupationMapJobInfo.cs
create mode 100644 New_College.Model/ViewModels/OccupationMapJobInfoRequest.cs
create mode 100644 New_College.Repository/BASE/IOccupationMapJobInfoRepository.cs
create mode 100644 New_College.Repository/BASE/OccupationMapJobInfoRepository.cs
create mode 100644 New_College.Services/OccupationMapJobInfoServices.cs
diff --git a/New_College.Api/Controllers/Front/LibraryController.cs b/New_College.Api/Controllers/Front/LibraryController.cs
index 92884b2..90f2a75 100644
--- a/New_College.Api/Controllers/Front/LibraryController.cs
+++ b/New_College.Api/Controllers/Front/LibraryController.cs
@@ -193,9 +193,9 @@ namespace New_College.Api.Controllers.Front
///
///
[HttpGet]
- public async Task>> uniGetOccupationInfo()
+ public async Task>> uniGetOccupationInfo([FromQuery] MinOccupationRequest request)
{
- var result = await iD_LongIdMapServices.uniGetOccupationInfo();
+ var result = await iD_LongIdMapServices.uniGetOccupationInfo(request);
return new MessageModel>()
{
success = result.Count <= 0 ? false : true,
@@ -214,14 +214,6 @@ namespace New_College.Api.Controllers.Front
public async Task> PcGetOccupationInfo()
{
////http://192.168.104.104:3000/youzy.dms.basiclib.api.v1.career2.level.tree.get
- //var info = HttpHelper.GetApi("http://192.168.104.104:3000/", "youzy.dms.basiclib.api.v1.career2.level.tree.get");
- //return new MessageModel()
- //{
- // msg = "获取成功",
- // response = info,
- // status = 200,
- // success = true,
- //};
var result = await iD_LongIdMapServices.pcGetOccupationInfo();
return new MessageModel()
{
diff --git a/New_College.Api/Controllers/Front/OccupationMapJobInfoController.cs b/New_College.Api/Controllers/Front/OccupationMapJobInfoController.cs
new file mode 100644
index 0000000..cde78ee
--- /dev/null
+++ b/New_College.Api/Controllers/Front/OccupationMapJobInfoController.cs
@@ -0,0 +1,59 @@
+using New_College.IServices;
+using New_College.Model;
+using New_College.Model.Models;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using System;
+using System.Linq.Expressions;
+using System.Threading.Tasks;
+using SqlSugar;
+
+namespace New_College.Api.Controllers
+{
+ [Route("api/[controller]/[action]")]
+ [ApiController]
+ [Authorize]
+ public class MapJobInfoController : ControllerBase
+ {
+ ///
+ /// 服务器接口,因为是模板生成,所以首字母是大写的,自己可以重构下
+ ///
+ private readonly IOccupationMapJobInfoServices _occupationMapJobInfoServices;
+
+ public MapJobInfoController(IOccupationMapJobInfoServices OccupationMapJobInfoServices)
+ {
+ _occupationMapJobInfoServices = OccupationMapJobInfoServices;
+ }
+
+
+
+ ///
+ /// 根据职业名称查询岗位信息列表
+ ///
+ ///
+ ///
+ [HttpGet]
+ public async Task>> Get([FromQuery] OccupationMapJobInfoRequest request)
+ {
+
+ if (string.IsNullOrWhiteSpace(request.OccupName))
+ {
+ return new MessageModel>()
+ {
+ msg = "Occupname必填",
+ success = false,
+ status = 200
+ };
+ }
+ request.OccupName = "后端开发";
+ var query = await _occupationMapJobInfoServices.QueryPage(c => SqlFunc.Contains(c.occupName, request.OccupName), request.PageIndex, request.PageSize);
+ return new MessageModel>()
+ {
+ msg = "获取成功",
+ success = true,
+ response = query
+ };
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/New_College.Api/New_College.Model.xml b/New_College.Api/New_College.Model.xml
index aa51698..94882a2 100644
--- a/New_College.Api/New_College.Model.xml
+++ b/New_College.Api/New_College.Model.xml
@@ -515,6 +515,31 @@
职业介绍
+
+
+ 工作内容
+
+
+
+
+ 发展前景
+
+
+
+
+ 岗位要求
+
+
+
+
+ 个人发展
+
+
+
+
+ 职业就业趋势
+
+
是否推荐,0为不推荐,1为推荐
@@ -1501,6 +1526,61 @@
素材内容
+
+
+ 来源
+
+
+
+
+ 职业名称
+
+
+
+
+ 公司名称
+
+
+
+
+ 岗位名称
+
+
+
+
+ 工作位置
+
+
+
+
+ 薪资
+
+
+
+
+ 岗位要求
+
+
+
+
+ 公司重点
+
+
+
+
+ 技能要求
+
+
+
+
+ 标签
+
+
+
+
+ 公司福利描述
+
+
日志记录
@@ -5550,41 +5630,6 @@
-
-
- 主键id
-
-
-
-
- 职业名称
-
-
-
-
- 职业
-
-
-
-
- 主键id
-
-
-
-
- 职业名称
-
-
-
-
- 排序
-
-
-
-
- 职业介绍
-
-
院校名称
@@ -7090,6 +7135,11 @@
招生计划Id列表逗号隔开
+
+
+ 职位名称
+
+
院校Id
@@ -7125,6 +7175,71 @@
招生类型
+
+
+ 是否带查询
+
+
+
+
+ 是否热门岗位
+
+
+
+
+ 主键id
+
+
+
+
+ 职业名称
+
+
+
+
+ 职业
+
+
+
+
+ 主键id
+
+
+
+
+ 职业名称
+
+
+
+
+ 排序
+
+
+
+
+ 发展前景
+
+
+
+
+ 岗位要求
+
+
+
+
+ 个人发展
+
+
+
+
+ 职业就业趋势
+
+
+
+
+ 职业介绍
+
+
diff --git a/New_College.Api/New_College.xml b/New_College.Api/New_College.xml
index cb81286..4c6f087 100644
--- a/New_College.Api/New_College.xml
+++ b/New_College.Api/New_College.xml
@@ -343,7 +343,7 @@
-
+
职业库 一级二级列表
@@ -979,6 +979,18 @@
通过省份名称当作过滤条件模糊查询学校名称
+
+
+ 服务器接口,因为是模板生成,所以首字母是大写的,自己可以重构下
+
+
+
+
+ 根据职业名称查询岗位信息列表
+
+
+
+
服务器接口,因为是模板生成,所以首字母是大写的,自己可以重构下
diff --git a/New_College.IServices/ID_LongIdMapServices.cs b/New_College.IServices/ID_LongIdMapServices.cs
index 69bd14a..0898345 100644
--- a/New_College.IServices/ID_LongIdMapServices.cs
+++ b/New_College.IServices/ID_LongIdMapServices.cs
@@ -2,6 +2,7 @@
using New_College.Model;
using New_College.Model.Models;
using New_College.Model.ViewModels;
+using Org.BouncyCastle.Asn1.Ocsp;
using System.Collections.Generic;
using System.Threading.Tasks;
@@ -27,14 +28,14 @@ namespace New_College.IServices
Task> GetRecommendOccupation();
- Task> uniGetOccupationInfo();
+ Task> uniGetOccupationInfo(MinOccupationRequest request);
- Task> pcGetOccupationInfo();
+ Task> pcGetOccupationInfo(string name = null);
Task GetUniversityDetails(IdQuery query);
-
- Task> SeachMajor(SeachMajorDtoRequest request);
+
+ Task> SeachMajor(SeachMajorDtoRequest request);
Task GetMajorDetail(MajorQuery query);
Task> GetRelevantSchool(MajorSchoolQuery query);
diff --git a/New_College.IServices/IOccupationMapJobInfoServices.cs b/New_College.IServices/IOccupationMapJobInfoServices.cs
new file mode 100644
index 0000000..46df0a0
--- /dev/null
+++ b/New_College.IServices/IOccupationMapJobInfoServices.cs
@@ -0,0 +1,12 @@
+using New_College.IServices.BASE;
+using New_College.Model.Models;
+
+namespace New_College.IServices
+{
+ ///
+ /// IOccupationMapJobInfoServices
+ ///
+ public interface IOccupationMapJobInfoServices :IBaseServices
+ {
+ }
+}
\ No newline at end of file
diff --git a/New_College.Model/Models/D_Occupation.cs b/New_College.Model/Models/D_Occupation.cs
index f5eb708..7c70e8e 100644
--- a/New_College.Model/Models/D_Occupation.cs
+++ b/New_College.Model/Models/D_Occupation.cs
@@ -28,6 +28,31 @@ namespace New_College.Model.Models
[SugarColumn(ColumnDataType = "longtext", Length = int.MaxValue, IsNullable = true)]
public string OccupationIntraduce { get; set; }
+ ///
+ /// 工作内容
+ ///
+ [SugarColumn(IsNullable = true)]
+ public string JobContent { get; set; }
+ ///
+ /// 发展前景
+ ///
+ public string Prospects { get; set; }
+
+ ///
+ /// 岗位要求
+ ///
+ public string Requirements { get; set; }
+
+ ///
+ /// 个人发展
+ ///
+ public string PersonProspects { get; set; }
+
+ ///
+ /// 职业就业趋势
+ ///
+ public string OccuptionTrend { get; set; }
+
///
/// 是否推荐,0为不推荐,1为推荐
///
diff --git a/New_College.Model/Models/OccupationMapJobInfo.cs b/New_College.Model/Models/OccupationMapJobInfo.cs
new file mode 100644
index 0000000..74717fc
--- /dev/null
+++ b/New_College.Model/Models/OccupationMapJobInfo.cs
@@ -0,0 +1,70 @@
+using Essensoft.AspNetCore.Payment.Alipay.Domain;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace New_College.Model.Models
+{
+ public class OccupationMapJobInfo : EntityModel
+ {
+
+ ///
+ /// 来源
+ ///
+ public string source { get; set; }
+
+ ///
+ /// 职业名称
+ ///
+ public string occupName { get; set; }
+
+ ///
+ /// 公司名称
+ ///
+ public string companyName { get; set; }
+
+ ///
+ /// 岗位名称
+ ///
+ public string jobName { get; set; }
+
+ ///
+ /// 工作位置
+ ///
+ public string jobarea { get; set; }
+
+ ///
+ /// 薪资
+ ///
+ public string salary { get; set; }
+
+ ///
+ /// 岗位要求
+ ///
+ public string keyword { get; set; }
+
+ ///
+ /// 公司重点
+ ///
+ public string companykeyword { get; set; }
+
+ ///
+ /// 技能要求
+ ///
+ public string skillrequirements { get; set; }
+
+ ///
+ /// 标签
+ ///
+ public string tag { get; set; }
+
+ ///
+ /// 公司福利描述
+ ///
+ public string description { get; set; }
+
+
+ }
+}
diff --git a/New_College.Model/ViewModels/OccupationMapJobInfoRequest.cs b/New_College.Model/ViewModels/OccupationMapJobInfoRequest.cs
new file mode 100644
index 0000000..b71aa22
--- /dev/null
+++ b/New_College.Model/ViewModels/OccupationMapJobInfoRequest.cs
@@ -0,0 +1,18 @@
+using New_College.Model.ViewModels;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace New_College.Model
+{
+ public class OccupationMapJobInfoRequest : BasePageRequest
+ {
+ ///
+ /// 职位名称
+ ///
+ public string OccupName { get; set; }
+
+ }
+}
diff --git a/New_College.Model/ViewModels/Result/OccupationResult.cs b/New_College.Model/ViewModels/Result/OccupationResult.cs
index fe47e7f..715261e 100644
--- a/New_College.Model/ViewModels/Result/OccupationResult.cs
+++ b/New_College.Model/ViewModels/Result/OccupationResult.cs
@@ -2,8 +2,23 @@
using System.Collections.Generic;
using System.Text;
-namespace New_College.Model.ViewModels
+namespace New_College.Model
{
+
+ public class MinOccupationRequest
+ {
+ ///
+ /// 是否带查询
+ ///
+ public string Name { get; set; }
+
+ ///
+ /// 是否热门岗位
+ ///
+ public bool IsHot { get; set; }
+
+ }
+
public class OccupationResult
{
///
@@ -43,9 +58,191 @@ namespace New_College.Model.ViewModels
/// 排序
///
public int Sort { get; set; }
+
+
+ public string JobContent { get; set; }
+ ///
+ /// 发展前景
+ ///
+ public string Prospects { get; set; }
+
+ ///
+ /// 岗位要求
+ ///
+ public string Requirements { get; set; }
+
+ ///
+ /// 个人发展
+ ///
+ public string PersonProspects { get; set; }
+
+ ///
+ /// 职业就业趋势
+ ///
+ public string OccuptionTrend { get; set; }
+
///
/// 职业介绍
///
public string OccupationIntraduce { get; set; }
}
+
+ public class Result
+ {
+ public int totalCount { get; set; }
+ public Item[] items { get; set; }
+ }
+
+ public class Item
+ {
+ public int numId { get; set; }
+ public string code { get; set; }
+ public string gbCode { get; set; }
+ public string cnName { get; set; }
+ public string logoUrl { get; set; }
+ public string natureType { get; set; }
+ public string eduLevel { get; set; }
+ public string belong { get; set; }
+ public string[] categories { get; set; }
+ public string[] features { get; set; }
+ public object[] artFeatures { get; set; }
+ public string provinceCode { get; set; }
+ public string provinceName { get; set; }
+ public string cityName { get; set; }
+ public int hits { get; set; }
+ public int ranking { get; set; }
+ public int rankingOfWSL { get; set; }
+ public int rankingOfRK { get; set; }
+ public int rankingOfXYH { get; set; }
+ public int rankingOfQS { get; set; }
+ public int rankingOfUSNews { get; set; }
+ public int rankingOfEdu { get; set; }
+ public float comScore { get; set; }
+ public string id { get; set; }
+ }
+
+
+
+
+ public class UniversityDetailobject
+ {
+ public DetailResult result { get; set; }
+ public string code { get; set; }
+ public string message { get; set; }
+ public string fullMessage { get; set; }
+ public DateTime timestamp { get; set; }
+ public bool isSuccess { get; set; }
+ }
+
+ public class DetailResult
+ {
+ public int numId { get; set; }
+ public string code { get; set; }
+ public string gbCode { get; set; }
+ public string cnName { get; set; }
+ public string logoUrl { get; set; }
+ public string vrUrl { get; set; }
+ public string vrShortUrl { get; set; }
+ public string provinceCode { get; set; }
+ public string provinceName { get; set; }
+ public string cityName { get; set; }
+ public Address[] address { get; set; }
+ public string createdYear { get; set; }
+ public string celebrateDay { get; set; }
+ public string natureType { get; set; }
+ public string eduLevel { get; set; }
+ public string[] categories { get; set; }
+ public string[] features { get; set; }
+ public object[] artFeatures { get; set; }
+ public string[] entranceType { get; set; }
+ public string belong { get; set; }
+ public string introduction { get; set; }
+ public Nameused[] nameUsed { get; set; }
+ public string enName { get; set; }
+ public string shortName { get; set; }
+ public string motto { get; set; }
+ public string song { get; set; }
+ public string songMp3Url { get; set; }
+ public Award[] awards { get; set; }
+ public int numberOfStu { get; set; }
+ public int maleRateOfStu { get; set; }
+ public int femaleRateOfStu { get; set; }
+ public int numberOfBen { get; set; }
+ public int maleRateOfBen { get; set; }
+ public int femaleRateOfBen { get; set; }
+ public int numberOfYan { get; set; }
+ public int maleRateOfYan { get; set; }
+ public int femaleRateOfYan { get; set; }
+ public int numberOfBo { get; set; }
+ public int maleRateOfBo { get; set; }
+ public int femaleRateOfBo { get; set; }
+ public Pointsofshuo[] pointsOfShuo { get; set; }
+ public Pointsofbo[] pointsOfBo { get; set; }
+ public int numberOfBSH { get; set; }
+ public object[] academicians { get; set; }
+ public string rateOfBaoYan { get; set; }
+ public object[] histories { get; set; }
+ public object[] alumnis { get; set; }
+ public string webSite { get; set; }
+ public string zhaoBanWZ { get; set; }
+ public string[] zhaoBanDH { get; set; }
+ public string shuoShiWebSite { get; set; }
+ public string shuoShiZBWZ { get; set; }
+ public string[] shuoShiZBDH { get; set; }
+ public string lastOperator { get; set; }
+ public DateTime updatedAt { get; set; }
+ public string bannerUrl { get; set; }
+ public int hits { get; set; }
+ public string[] bxType { get; set; }
+ public string[] bxLevel { get; set; }
+ public string star { get; set; }
+ public string majorRule { get; set; }
+ public int rankingOfWSL { get; set; }
+ public int rankingOfRK { get; set; }
+ public int rankingOfXYH { get; set; }
+ public int rankingOfUSNews { get; set; }
+ public int rankingOfQS { get; set; }
+ public int rankingOfEdu { get; set; }
+ public string id { get; set; }
+ }
+
+ public class Address
+ {
+ public string name { get; set; }
+ public string address { get; set; }
+ public string coordinate { get; set; }
+ }
+
+ public class Nameused
+ {
+ public int startYear { get; set; }
+ public string startTimeText { get; set; }
+ public string endTimeText { get; set; }
+ public int endYear { get; set; }
+ public string name { get; set; }
+ }
+
+ public class Award
+ {
+ public string name { get; set; }
+ public int year { get; set; }
+ public int month { get; set; }
+ }
+
+ public class Pointsofshuo
+ {
+ public int number { get; set; }
+ public string type { get; set; }
+ }
+
+ public class Pointsofbo
+ {
+ public int number { get; set; }
+ public string type { get; set; }
+ }
+
+
+
+
+
}
diff --git a/New_College.Repository/BASE/IOccupationMapJobInfoRepository.cs b/New_College.Repository/BASE/IOccupationMapJobInfoRepository.cs
new file mode 100644
index 0000000..ff9d45d
--- /dev/null
+++ b/New_College.Repository/BASE/IOccupationMapJobInfoRepository.cs
@@ -0,0 +1,12 @@
+using New_College.IRepository.Base;
+using New_College.Model.Models;
+
+namespace New_College.IRepository
+{
+ ///
+ /// IOccupationMapJobInfoRepository
+ ///
+ public interface IOccupationMapJobInfoRepository : IBaseRepository
+ {
+ }
+}
\ No newline at end of file
diff --git a/New_College.Repository/BASE/OccupationMapJobInfoRepository.cs b/New_College.Repository/BASE/OccupationMapJobInfoRepository.cs
new file mode 100644
index 0000000..14a1fb5
--- /dev/null
+++ b/New_College.Repository/BASE/OccupationMapJobInfoRepository.cs
@@ -0,0 +1,17 @@
+using New_College.IRepository;
+using New_College.IRepository.UnitOfWork;
+using New_College.Model.Models;
+using New_College.Repository.Base;
+
+namespace New_College.Repository
+{
+ ///
+ /// OccupationMapJobInfoRepository
+ ///
+ public class OccupationMapJobInfoRepository : BaseRepository, IOccupationMapJobInfoRepository
+ {
+ public OccupationMapJobInfoRepository(IUnitOfWork unitOfWork) : base(unitOfWork)
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/New_College.Services/D_LongIdMapServices.cs b/New_College.Services/D_LongIdMapServices.cs
index a2d078e..08bf3c0 100644
--- a/New_College.Services/D_LongIdMapServices.cs
+++ b/New_College.Services/D_LongIdMapServices.cs
@@ -265,11 +265,16 @@ namespace New_College.Services
/// 职业库 一级二级列表
///
///
- public async Task> uniGetOccupationInfo()
+ public async Task> uniGetOccupationInfo(MinOccupationRequest request)
{
List list = new List() { };
var occupationCategoryList = (await d_OccupationCategoryRepository.Query(x => x.IsDelete == false)).Select(x => new uniOccSelect() { Id = x.Id, Level = x.Level, Name = x.Name, ParentId = x.ParentId, OccupationName = x.OccupationName });
- var occupations = (await d_OccupationRepository.Query(x => x.IsDelete == false)).Select(s => s.CategoryId).ToList();
+ Expression> expression = Expressionable.Create()
+ .And(x => x.IsDelete == false)
+ .AndIF(!string.IsNullOrWhiteSpace(request.Name), x => SqlFunc.Contains(x.Name, request.Name))
+ .AndIF(request.IsHot, x => x.Recommend > 0)
+ .ToExpression();
+ var occupations = (await d_OccupationRepository.Query(expression)).Select(s => s.CategoryId).ToList();
var nowoccupationCategoryList = occupationCategoryList.Where(x => x.Level == 0).ToList();
foreach (var item in nowoccupationCategoryList)
{
@@ -280,7 +285,6 @@ namespace New_College.Services
MajorName = s.OccupationName,
MajorNum = occupations.Count(e => e == s.Id),
SecondId = s.Id
-
}).ToList();
list.Add(new uniMajorInfoResult()
{
@@ -292,11 +296,16 @@ namespace New_College.Services
}
- public async Task> pcGetOccupationInfo()
+ public async Task> pcGetOccupationInfo(string name = null)
{
var list = new List() { };
var occupationCategoryList = (await d_OccupationCategoryRepository.Query(x => x.IsDelete == false)).Select(x => new uniOccSelect() { Id = x.Id, Level = x.Level, Name = x.Name, ParentId = x.ParentId, OccupationName = x.OccupationName });
- var queryoccupations = await d_OccupationRepository.Query(x => x.IsDelete == false);
+
+ Expression> expression = Expressionable.Create()
+ .And(x => x.IsDelete == false)
+ .AndIF(!string.IsNullOrWhiteSpace(name), x => SqlFunc.Contains(x.Name, name))
+ .ToExpression();
+ var queryoccupations = await d_OccupationRepository.Query(expression);
var occupations = queryoccupations.Select(s => s.CategoryId).ToList();
var nowoccupationCategoryList = occupationCategoryList.Where(x => x.Level == 0).ToList();
foreach (var item in nowoccupationCategoryList)
@@ -784,6 +793,11 @@ namespace New_College.Services
{
Status = 1,
OccupationIntraduce = occupation.OccupationIntraduce.ClearHtml(),
+ JobContent = occupation.JobContent,
+ Name = occupation.Name,
+ Prospects = occupation.Prospects,
+ Requirements = occupation.Requirements,
+ Sort = occupation.OrderSort,
Id = occupation.Id.ToString()
};
}
@@ -875,6 +889,10 @@ namespace New_College.Services
}
+
+
+
+
///
/// 专业搜索
///
@@ -1847,181 +1865,6 @@ namespace New_College.Services
- public class httphelperdetailrequest
- {
-
- public string code { get; set; }
- }
- public class HttpHelperPostRequest
- {
- public int pageIndex { get; set; }
-
- }
-
-
- public class HttpHelperPostobject
- {
- public Result result { get; set; }
- public string code { get; set; }
- public string message { get; set; }
- public string fullMessage { get; set; }
- public DateTime timestamp { get; set; }
- public bool isSuccess { get; set; }
- }
-
- public class Result
- {
- public int totalCount { get; set; }
- public Item[] items { get; set; }
- }
-
- public class Item
- {
- public int numId { get; set; }
- public string code { get; set; }
- public string gbCode { get; set; }
- public string cnName { get; set; }
- public string logoUrl { get; set; }
- public string natureType { get; set; }
- public string eduLevel { get; set; }
- public string belong { get; set; }
- public string[] categories { get; set; }
- public string[] features { get; set; }
- public object[] artFeatures { get; set; }
- public string provinceCode { get; set; }
- public string provinceName { get; set; }
- public string cityName { get; set; }
- public int hits { get; set; }
- public int ranking { get; set; }
- public int rankingOfWSL { get; set; }
- public int rankingOfRK { get; set; }
- public int rankingOfXYH { get; set; }
- public int rankingOfQS { get; set; }
- public int rankingOfUSNews { get; set; }
- public int rankingOfEdu { get; set; }
- public float comScore { get; set; }
- public string id { get; set; }
- }
-
-
-
-
- public class UniversityDetailobject
- {
- public DetailResult result { get; set; }
- public string code { get; set; }
- public string message { get; set; }
- public string fullMessage { get; set; }
- public DateTime timestamp { get; set; }
- public bool isSuccess { get; set; }
- }
-
- public class DetailResult
- {
- public int numId { get; set; }
- public string code { get; set; }
- public string gbCode { get; set; }
- public string cnName { get; set; }
- public string logoUrl { get; set; }
- public string vrUrl { get; set; }
- public string vrShortUrl { get; set; }
- public string provinceCode { get; set; }
- public string provinceName { get; set; }
- public string cityName { get; set; }
- public Address[] address { get; set; }
- public string createdYear { get; set; }
- public string celebrateDay { get; set; }
- public string natureType { get; set; }
- public string eduLevel { get; set; }
- public string[] categories { get; set; }
- public string[] features { get; set; }
- public object[] artFeatures { get; set; }
- public string[] entranceType { get; set; }
- public string belong { get; set; }
- public string introduction { get; set; }
- public Nameused[] nameUsed { get; set; }
- public string enName { get; set; }
- public string shortName { get; set; }
- public string motto { get; set; }
- public string song { get; set; }
- public string songMp3Url { get; set; }
- public Award[] awards { get; set; }
- public int numberOfStu { get; set; }
- public int maleRateOfStu { get; set; }
- public int femaleRateOfStu { get; set; }
- public int numberOfBen { get; set; }
- public int maleRateOfBen { get; set; }
- public int femaleRateOfBen { get; set; }
- public int numberOfYan { get; set; }
- public int maleRateOfYan { get; set; }
- public int femaleRateOfYan { get; set; }
- public int numberOfBo { get; set; }
- public int maleRateOfBo { get; set; }
- public int femaleRateOfBo { get; set; }
- public Pointsofshuo[] pointsOfShuo { get; set; }
- public Pointsofbo[] pointsOfBo { get; set; }
- public int numberOfBSH { get; set; }
- public object[] academicians { get; set; }
- public string rateOfBaoYan { get; set; }
- public object[] histories { get; set; }
- public object[] alumnis { get; set; }
- public string webSite { get; set; }
- public string zhaoBanWZ { get; set; }
- public string[] zhaoBanDH { get; set; }
- public string shuoShiWebSite { get; set; }
- public string shuoShiZBWZ { get; set; }
- public string[] shuoShiZBDH { get; set; }
- public string lastOperator { get; set; }
- public DateTime updatedAt { get; set; }
- public string bannerUrl { get; set; }
- public int hits { get; set; }
- public string[] bxType { get; set; }
- public string[] bxLevel { get; set; }
- public string star { get; set; }
- public string majorRule { get; set; }
- public int rankingOfWSL { get; set; }
- public int rankingOfRK { get; set; }
- public int rankingOfXYH { get; set; }
- public int rankingOfUSNews { get; set; }
- public int rankingOfQS { get; set; }
- public int rankingOfEdu { get; set; }
- public string id { get; set; }
- }
-
- public class Address
- {
- public string name { get; set; }
- public string address { get; set; }
- public string coordinate { get; set; }
- }
-
- public class Nameused
- {
- public int startYear { get; set; }
- public string startTimeText { get; set; }
- public string endTimeText { get; set; }
- public int endYear { get; set; }
- public string name { get; set; }
- }
-
- public class Award
- {
- public string name { get; set; }
- public int year { get; set; }
- public int month { get; set; }
- }
-
- public class Pointsofshuo
- {
- public int number { get; set; }
- public string type { get; set; }
- }
-
- public class Pointsofbo
- {
- public int number { get; set; }
- public string type { get; set; }
- }
diff --git a/New_College.Services/OccupationMapJobInfoServices.cs b/New_College.Services/OccupationMapJobInfoServices.cs
new file mode 100644
index 0000000..7105b00
--- /dev/null
+++ b/New_College.Services/OccupationMapJobInfoServices.cs
@@ -0,0 +1,18 @@
+
+using New_College.IServices;
+using New_College.Model.Models;
+using New_College.Services.BASE;
+using New_College.IRepository.Base;
+
+namespace New_College.Services
+{
+ public class OccupationMapJobInfoServices : BaseServices, IOccupationMapJobInfoServices
+ {
+ private readonly IBaseRepository _dal;
+ public OccupationMapJobInfoServices(IBaseRepository dal)
+ {
+ this._dal = dal;
+ base.BaseDal = dal;
+ }
+ }
+}
\ No newline at end of file