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
eefa6ca6
Commit
eefa6ca6
authored
Apr 13, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ec5fbe40
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
4 deletions
+25
-4
RB_Web_JobApply.cs
Edu.Model/Entity/Web/RB_Web_JobApply.cs
+5
-0
RB_Web_Recruitment_ViewModel.cs
Edu.Model/ViewModel/Web/RB_Web_Recruitment_ViewModel.cs
+0
-1
WebRecruitmentModule.cs
Edu.Module.Web/WebRecruitmentModule.cs
+3
-1
WebManagerController.cs
Edu.WebApi/Controllers/Web/WebManagerController.cs
+17
-2
No files found.
Edu.Model/Entity/Web/RB_Web_JobApply.cs
View file @
eefa6ca6
...
...
@@ -65,5 +65,10 @@ namespace Edu.Model.Entity.Web
/// 处理状态(0-待处理,1-已联系,2-不合适)
/// </summary>
public
int
ApplyStatus
{
get
;
set
;
}
/// <summary>
/// 回复内容
/// </summary>
public
string
ApplyContent
{
get
;
set
;
}
}
}
Edu.Model/ViewModel/Web/RB_Web_Recruitment_ViewModel.cs
View file @
eefa6ca6
...
...
@@ -31,6 +31,5 @@ namespace Edu.Model.ViewModel.Web
return
salary
;
}
}
}
}
Edu.Module.Web/WebRecruitmentModule.cs
View file @
eefa6ca6
...
...
@@ -244,12 +244,14 @@ namespace Edu.Module.Web
/// </summary>
/// <param name="Id"></param>
/// <param name="ApplyStatus"></param>
/// <param name="ApplyContent"></param>
/// <returns></returns>
public
bool
UpdateWebJobApplyModule
(
int
Id
,
int
ApplyStatus
)
public
bool
UpdateWebJobApplyModule
(
int
Id
,
int
ApplyStatus
,
string
ApplyContent
)
{
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Web_JobApply_ViewModel
.
ApplyStatus
),
ApplyStatus
},
{
nameof
(
RB_Web_JobApply_ViewModel
.
ApplyContent
),
ApplyContent
},
};
var
flag
=
web_JobApplyRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Web_JobApply_ViewModel
.
Id
),
Id
));
return
flag
;
...
...
Edu.WebApi/Controllers/Web/WebManagerController.cs
View file @
eefa6ca6
...
...
@@ -922,7 +922,21 @@ namespace Edu.WebApi.Controllers.Web
{
var
Id
=
base
.
ParmJObj
.
GetInt
(
"Id"
,
0
);
var
extModel
=
webRecruitmentModule
.
GetWebJobApplyModule
(
Id
);
return
ApiResult
.
Success
(
data
:
extModel
);
var
obj
=
new
object
();
if
(
extModel
!=
null
&&
extModel
.
Id
>
0
)
{
RB_Web_Recruitment_ViewModel
model
=
new
RB_Web_Recruitment_ViewModel
();
if
(
extModel
.
RecruitmentId
>
0
)
{
model
=
webRecruitmentModule
.
GetWebRecruitmentModule
(
extModel
.
RecruitmentId
);
}
obj
=
new
{
RecruitmentInfo
=
model
,
JobInfo
=
extModel
,
};
}
return
ApiResult
.
Success
(
data
:
obj
);
}
/// <summary>
...
...
@@ -947,7 +961,8 @@ namespace Edu.WebApi.Controllers.Web
{
var
Id
=
base
.
ParmJObj
.
GetInt
(
"Id"
,
0
);
var
ApplyStatus
=
base
.
ParmJObj
.
GetInt
(
"ApplyStatus"
,
0
);
var
flag
=
webRecruitmentModule
.
UpdateWebJobApplyModule
(
Id
,
ApplyStatus
);
string
ApplyContent
=
base
.
ParmJObj
.
GetStringValue
(
"ApplyContent"
);
var
flag
=
webRecruitmentModule
.
UpdateWebJobApplyModule
(
Id
,
ApplyStatus
,
ApplyContent
);
return
flag
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
();
}
#
endregion
...
...
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