Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
1f23cad1
Commit
1f23cad1
authored
Mar 29, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加候选人
parent
e8bba5d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
11 deletions
+34
-11
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
+21
-8
src/main/java/cn/timer/api/controller/zpgl/ZpglZpqdController.java
+3
-3
src/main/java/cn/timer/api/dto/zpgl/InterviewApplicationDto.java
+10
-0
No files found.
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
View file @
1f23cad1
...
@@ -126,14 +126,14 @@ public class ZpglController {
...
@@ -126,14 +126,14 @@ public class ZpglController {
zpglRcxxPage
.
getSize
();
zpglRcxxPage
.
getSize
();
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
2
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>(
2
);
map
.
put
(
"zpglRcxxs"
,
zpglRcxxs
);
map
.
put
(
"zpglRcxxs"
,
zpglRcxxs
);
map
.
put
(
"FILTERING"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
FILTERING
.
getType
()
)));
map
.
put
(
"FILTERING"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
FILTERING
.
getType
(),
userBean
.
getOrgCode
(
)));
map
.
put
(
"FILTER_PASS"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
FILTER_PASS
.
getType
()
)));
map
.
put
(
"FILTER_PASS"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
FILTER_PASS
.
getType
(),
userBean
.
getOrgCode
(
)));
map
.
put
(
"INTERVIEW"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
INTERVIEW
.
getType
()
)));
map
.
put
(
"INTERVIEW"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
INTERVIEW
.
getType
(),
userBean
.
getOrgCode
(
)));
map
.
put
(
"INTERVIEWED"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
INTERVIEWED
.
getType
()
)));
map
.
put
(
"INTERVIEWED"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
INTERVIEWED
.
getType
(),
userBean
.
getOrgCode
(
)));
map
.
put
(
"INTERVIEW_PASS"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
INTERVIEW_PASS
.
getType
()
)));
map
.
put
(
"INTERVIEW_PASS"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
INTERVIEW_PASS
.
getType
(),
userBean
.
getOrgCode
(
)));
map
.
put
(
"EMPLOY"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
EMPLOY
.
getType
()
)));
map
.
put
(
"EMPLOY"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
EMPLOY
.
getType
(),
userBean
.
getOrgCode
(
)));
map
.
put
(
"OFFER"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
OFFER
.
getType
()
)));
map
.
put
(
"OFFER"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
OFFER
.
getType
(),
userBean
.
getOrgCode
(
)));
map
.
put
(
"ENTRYING"
,
ZpglRcxx
.
builder
().
build
().
selectCount
(
new
QueryWrapper
<
ZpglRcxx
>().
lambda
().
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
).
eq
(
ZpglRcxx:
:
getStatus
,
JxglEnumInterface
.
ResumeStatus
.
ENTRYING
.
getType
()
)));
map
.
put
(
"ENTRYING"
,
this
.
getNum
(
queryWrapper
,
JxglEnumInterface
.
ResumeStatus
.
ENTRYING
.
getType
(),
userBean
.
getOrgCode
(
)));
return
ResultUtil
.
data
(
zpglRcxxPage
,
map
,
"搜索成功"
);
return
ResultUtil
.
data
(
zpglRcxxPage
,
map
,
"搜索成功"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
@@ -416,4 +416,17 @@ public class ZpglController {
...
@@ -416,4 +416,17 @@ public class ZpglController {
}
}
/**
* 获取统计数据
* @param queryWrapper
* @param status
* @param orgCode
* @return
*/
private
Integer
getNum
(
QueryWrapper
<
ZpglRcxx
>
queryWrapper
,
Integer
status
,
Integer
orgCode
){
queryWrapper
.
clear
();
queryWrapper
.
lambda
().
eq
(
ZpglRcxx:
:
getOrgCode
,
orgCode
).
eq
(
ZpglRcxx:
:
getDeleteFlag
,
0
);
return
ZpglRcxx
.
builder
().
build
().
selectCount
(
queryWrapper
.
lambda
().
eq
(
ZpglRcxx:
:
getStatus
,
status
));
}
}
}
src/main/java/cn/timer/api/controller/zpgl/ZpglZpqdController.java
View file @
1f23cad1
...
@@ -34,13 +34,13 @@ public class ZpglZpqdController {
...
@@ -34,13 +34,13 @@ public class ZpglZpqdController {
* @param
* @param
* @return
* @return
*/
*/
@GetMapping
(
value
=
"/zpqd"
)
@GetMapping
(
value
=
"/zpqd
/{OrgCode}
"
)
@ApiOperation
(
value
=
"1.招聘渠道字典"
,
httpMethod
=
"GET"
,
notes
=
"招聘渠道字典"
)
@ApiOperation
(
value
=
"1.招聘渠道字典"
,
httpMethod
=
"GET"
,
notes
=
"招聘渠道字典"
)
@ApiOperationSupport
(
order
=
1
)
@ApiOperationSupport
(
order
=
1
)
public
Result
<
Object
>
zpqd
(
@
CurrentUser
UserBean
userBean
)
{
public
Result
<
Object
>
zpqd
(
@
PathVariable
Integer
OrgCode
)
{
try
{
try
{
QueryWrapper
<
ZpglZpqd
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
ZpglZpqd
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
lambda
().
eq
(
ZpglZpqd:
:
getDeleteFlag
,
0
).
eq
(
ZpglZpqd:
:
getOrgCode
,
userBean
.
getOrgCode
()
);
queryWrapper
.
lambda
().
eq
(
ZpglZpqd:
:
getDeleteFlag
,
0
).
eq
(
ZpglZpqd:
:
getOrgCode
,
OrgCode
);
List
<
ZpglZpqd
>
zpglZpqd
=
ZpglZpqd
.
builder
().
build
().
selectList
(
queryWrapper
);
List
<
ZpglZpqd
>
zpglZpqd
=
ZpglZpqd
.
builder
().
build
().
selectList
(
queryWrapper
);
return
ResultUtil
.
data
(
zpglZpqd
,
"查询成功"
);
return
ResultUtil
.
data
(
zpglZpqd
,
"查询成功"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/cn/timer/api/dto/zpgl/InterviewApplicationDto.java
View file @
1f23cad1
...
@@ -30,6 +30,11 @@ public class InterviewApplicationDto implements Serializable {
...
@@ -30,6 +30,11 @@ public class InterviewApplicationDto implements Serializable {
*/
*/
@ApiModelProperty
(
value
=
"人才信息ID"
)
@ApiModelProperty
(
value
=
"人才信息ID"
)
private
Integer
id
;
private
Integer
id
;
/**
* 组织机构代码
*/
@ApiModelProperty
(
value
=
"组织机构代码"
)
private
String
orgCode
;
/**
/**
* 姓名
* 姓名
...
@@ -204,6 +209,11 @@ public class InterviewApplicationDto implements Serializable {
...
@@ -204,6 +209,11 @@ public class InterviewApplicationDto implements Serializable {
private
Integer
zpglZpqdId
;
private
Integer
zpglZpqdId
;
/**
/**
* 职位信息ID
*/
@ApiModelProperty
(
value
=
"职位信息ID"
)
private
Integer
zpglZwxxId
;
/**
* 联系人信息
* 联系人信息
*/
*/
@ApiModelProperty
(
value
=
"联系人信息"
)
@ApiModelProperty
(
value
=
"联系人信息"
)
...
...
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