Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
d450ab09
Commit
d450ab09
authored
Apr 15, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增字段
parent
a97122ca
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
1 deletion
+12
-1
RB_Web_RecruitmentType.cs
Edu.Model/Entity/Web/RB_Web_RecruitmentType.cs
+5
-0
WebRecruitmentModule.cs
Edu.Module.Web/WebRecruitmentModule.cs
+1
-0
RB_StudyAbroadRepository.cs
Edu.Repository/StudyAbroad/RB_StudyAbroadRepository.cs
+4
-0
WebController.cs
Edu.WebApi/Controllers/Web/WebController.cs
+1
-1
WebManagerController.cs
Edu.WebApi/Controllers/Web/WebManagerController.cs
+1
-0
No files found.
Edu.Model/Entity/Web/RB_Web_RecruitmentType.cs
View file @
d450ab09
...
@@ -26,6 +26,11 @@ namespace Edu.Model.Entity.Web
...
@@ -26,6 +26,11 @@ namespace Edu.Model.Entity.Web
/// </summary>
/// </summary>
public
string
ImgCover
{
get
;
set
;
}
public
string
ImgCover
{
get
;
set
;
}
/// <summary>
/// 选中图片
/// </summary>
public
string
CheckImg
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 删除状态
/// 删除状态
/// </summary>
/// </summary>
...
...
Edu.Module.Web/WebRecruitmentModule.cs
View file @
d450ab09
...
@@ -66,6 +66,7 @@ namespace Edu.Module.Web
...
@@ -66,6 +66,7 @@ namespace Edu.Module.Web
{
{
{
nameof
(
RB_Web_RecruitmentType_ViewModel
.
TypeName
),
model
.
TypeName
},
{
nameof
(
RB_Web_RecruitmentType_ViewModel
.
TypeName
),
model
.
TypeName
},
{
nameof
(
RB_Web_RecruitmentType_ViewModel
.
ImgCover
),
model
.
ImgCover
},
{
nameof
(
RB_Web_RecruitmentType_ViewModel
.
ImgCover
),
model
.
ImgCover
},
{
nameof
(
RB_Web_RecruitmentType_ViewModel
.
CheckImg
),
model
.
CheckImg
},
};
};
flag
=
web_RecruitmentTypeRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Web_RecruitmentType_ViewModel
.
Id
),
model
.
Id
));
flag
=
web_RecruitmentTypeRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Web_RecruitmentType_ViewModel
.
Id
),
model
.
Id
));
}
}
...
...
Edu.Repository/StudyAbroad/RB_StudyAbroadRepository.cs
View file @
d450ab09
...
@@ -162,6 +162,10 @@ WHERE 1=1
...
@@ -162,6 +162,10 @@ WHERE 1=1
{
{
builder
.
AppendFormat
(
" AND A.{0} IN({1}) "
,
nameof
(
RB_StudyAbroad_ViewModel
.
Id
),
query
.
QIds
);
builder
.
AppendFormat
(
" AND A.{0} IN({1}) "
,
nameof
(
RB_StudyAbroad_ViewModel
.
Id
),
query
.
QIds
);
}
}
if
(
query
.
Type
>
0
)
{
builder
.
AppendFormat
(
" AND A.{0} IN({1}) "
,
nameof
(
RB_StudyAbroad_ViewModel
.
Type
),
query
.
Type
);
}
return
Get
<
RB_StudyAbroad_ViewModel
>(
builder
.
ToString
(),
parameters
).
ToList
();
return
Get
<
RB_StudyAbroad_ViewModel
>(
builder
.
ToString
(),
parameters
).
ToList
();
}
}
}
}
...
...
Edu.WebApi/Controllers/Web/WebController.cs
View file @
d450ab09
...
@@ -598,7 +598,7 @@ namespace Edu.WebApi.Controllers.Web
...
@@ -598,7 +598,7 @@ namespace Edu.WebApi.Controllers.Web
query
.
Group_Id
=
groupId
;
query
.
Group_Id
=
groupId
;
}
}
var
list
=
webRecruitmentModule
.
GetWebRecruitmentTypeListModule
(
query
);
var
list
=
webRecruitmentModule
.
GetWebRecruitmentTypeListModule
(
query
);
return
ApiResult
.
Success
(
data
:
list
.
Select
(
qitem
=>
new
{
qitem
.
Id
,
qitem
.
TypeName
,
qitem
.
ImgCover
}));
return
ApiResult
.
Success
(
data
:
list
.
Select
(
qitem
=>
new
{
qitem
.
Id
,
qitem
.
TypeName
,
qitem
.
CheckImg
,
qitem
.
ImgCover
}));
}
}
/// <summary>
/// <summary>
...
...
Edu.WebApi/Controllers/Web/WebManagerController.cs
View file @
d450ab09
...
@@ -778,6 +778,7 @@ namespace Edu.WebApi.Controllers.Web
...
@@ -778,6 +778,7 @@ namespace Edu.WebApi.Controllers.Web
Id
=
base
.
ParmJObj
.
GetInt
(
"Id"
),
Id
=
base
.
ParmJObj
.
GetInt
(
"Id"
),
TypeName
=
base
.
ParmJObj
.
GetStringValue
(
"TypeName"
),
TypeName
=
base
.
ParmJObj
.
GetStringValue
(
"TypeName"
),
ImgCover
=
base
.
ParmJObj
.
GetStringValue
(
"ImgCover"
),
ImgCover
=
base
.
ParmJObj
.
GetStringValue
(
"ImgCover"
),
CheckImg
=
base
.
ParmJObj
.
GetStringValue
(
"CheckImg"
),
};
};
extModel
.
School_Id
=
base
.
UserInfo
.
School_Id
;
extModel
.
School_Id
=
base
.
UserInfo
.
School_Id
;
extModel
.
Group_Id
=
base
.
UserInfo
.
Group_Id
;
extModel
.
Group_Id
=
base
.
UserInfo
.
Group_Id
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment