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
8e1c60c3
Commit
8e1c60c3
authored
Apr 15, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
招聘管理
parent
1339f2c5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
8 deletions
+33
-8
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
+25
-0
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalTemplateDto.java
+2
-2
src/main/java/cn/timer/api/dto/spmk/SpmkApproveSummaryDto.java
+3
-3
src/main/java/cn/timer/api/dto/spmk/SpmkCustomApprovalDto.java
+3
-3
No files found.
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
View file @
8e1c60c3
...
...
@@ -5,6 +5,7 @@ import cn.timer.api.bean.kqgl.UserEquiRelation;
import
cn.timer.api.bean.kqmk.*
;
import
cn.timer.api.bean.qyzx.QyzxEmpEntAsso
;
import
cn.timer.api.bean.qyzx.QyzxEmpLogin
;
import
cn.timer.api.bean.spmk.SpmkCustomApproval
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
cn.timer.api.bean.zpgl.*
;
import
cn.timer.api.config.annotation.CurrentUser
;
...
...
@@ -533,6 +534,30 @@ public class ZpglController {
}
/**
* 招聘-发起录用审批选择
*
* @param
* @return
*/
@GetMapping
(
value
=
"/custom_approval"
)
@ApiOperation
(
value
=
"10.招聘-发起录用审批选择"
,
httpMethod
=
"GET"
,
notes
=
"招聘-发起录用审批选择"
)
@ApiOperationSupport
(
order
=
10
)
public
Result
<
Object
>
customApproval
(
@CurrentUser
UserBean
userBean
)
{
try
{
List
<
SpmkCustomApproval
>
spmkCustomApprovals
=
SpmkCustomApproval
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
SpmkCustomApproval
>().
select
(
"id"
,
"name"
)
.
lambda
().
eq
(
SpmkCustomApproval:
:
getOrgCode
,
userBean
.
getOrgCode
())
.
eq
(
SpmkCustomApproval:
:
getAssoType
,
10
)
);
return
ResultUtil
.
data
(
spmkCustomApprovals
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
throw
new
CustomException
(
"获取招聘-发起录用审批选择信息失败"
);
}
}
/**
* 获取统计数据
* @param queryWrapper
* @param status
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkApprovalTemplateDto.java
View file @
8e1c60c3
...
...
@@ -59,8 +59,8 @@ public class SpmkApprovalTemplateDto {
private
Date
createTime
;
@NotNull
(
message
=
ValidationMsg
.
NOTNULL
)
@DecimalMax
(
value
=
"
9"
,
message
=
ValidationMsg
.
DECIMALMAX
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
"
)
@DecimalMin
(
value
=
"0"
,
message
=
ValidationMsg
.
DECIMALMIN
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡 "
)
@DecimalMax
(
value
=
"
11"
,
message
=
ValidationMsg
.
DECIMALMAX
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡 10调薪 11录用
"
)
@DecimalMin
(
value
=
"0"
,
message
=
ValidationMsg
.
DECIMALMIN
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
10调薪 11录用
"
)
@ApiModelProperty
(
value
=
"关联类型 0无 1转正 2离职 3调岗 4加班 5请假 6出差 7外出 8补卡 9调薪"
,
example
=
"1"
)
private
Integer
assoType
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkApproveSummaryDto.java
View file @
8e1c60c3
...
...
@@ -40,9 +40,9 @@ public class SpmkApproveSummaryDto{
private
String
initiator
;
@NotNull
(
message
=
ValidationMsg
.
NOTNULL
)
@DecimalMax
(
value
=
"
9"
,
message
=
ValidationMsg
.
DECIMALMAX
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
"
)
@DecimalMin
(
value
=
"0"
,
message
=
ValidationMsg
.
DECIMALMIN
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡 "
)
@ApiModelProperty
(
value
=
"关联类型 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡"
,
example
=
"1"
)
@DecimalMax
(
value
=
"
11"
,
message
=
ValidationMsg
.
DECIMALMAX
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡 10调薪 11录用
"
)
@DecimalMin
(
value
=
"0"
,
message
=
ValidationMsg
.
DECIMALMIN
+
" 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
10调薪 11录用
"
)
@ApiModelProperty
(
value
=
"关联类型 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
10调薪 11录用
"
,
example
=
"1"
)
private
Integer
assoType
;
@NotNull
(
message
=
ValidationMsg
.
NOTNULL
)
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkCustomApprovalDto.java
View file @
8e1c60c3
...
...
@@ -63,9 +63,9 @@ public class SpmkCustomApprovalDto {
private
Date
createTime
;
@NotNull
(
message
=
"assoType为空"
)
@DecimalMax
(
value
=
"
9"
,
message
=
"assoType 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
"
)
@DecimalMin
(
value
=
"0"
,
message
=
"assoType 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡 "
)
@ApiModelProperty
(
value
=
"关联类型 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡"
,
example
=
"1"
)
@DecimalMax
(
value
=
"
11"
,
message
=
"assoType 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡 10录用
"
)
@DecimalMin
(
value
=
"0"
,
message
=
"assoType 只能为 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
10录用
"
)
@ApiModelProperty
(
value
=
"关联类型 0无 1转正 2离职 3调岗 4招聘 5加班 6请假 7出差 8外出 9补卡
10录用
"
,
example
=
"1"
)
private
Integer
assoType
;
@NotNull
(
message
=
"isAllvisible为空"
)
...
...
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