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
075ce249
Commit
075ce249
authored
Mar 27, 2020
by
太阳与水
Committed by
东州 翁
Mar 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查一遍代码,修复一个离职3-4的参数名,代码不变,删除空行。
parent
ad41a9a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
187 deletions
+91
-187
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+87
-187
src/main/java/cn/timer/api/dto/yggl/AddygdaDto.java
+4
-0
No files found.
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
075ce249
...
...
@@ -117,7 +117,7 @@ public class YgglController {
@Autowired
private
YgProDtoMapper
ygProDtoMapper
;
//weng
//weng
(民族)
@Autowired
private
YgMzDtoMapper
ygMzDtoMapper
;
/**
...
...
@@ -136,9 +136,7 @@ public class YgglController {
YgglMainEmp
ygglMainEmp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
queryWrapper
);
return
ResultUtil
.
data
(
ygglMainEmp
,
"获取员工档案成功"
);
}
/**
* 展示员工所有单表(管理员)
*/
// 获取员工档案
@GetMapping
(
value
=
"/ygda/{empNum}"
)
@ApiOperation
(
value
=
"获取员工档案(管)"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
...
...
@@ -148,13 +146,11 @@ public class YgglController {
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"org_code"
,
orgCode
).
eq
(
"emp_num"
,
empNum
);
YgglMainEmp
ygglMainEmp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
queryWrapper
);
Integer
bmgwId
=
ygglMainEmp
.
getBmgwId
();
return
ResultUtil
.
data
(
ygglMainEmp
,
"获取员工档案成功"
);
}
/**
* 根据岗位id获取员工档案部门岗位名称
*
* @param
* @return
*/
...
...
@@ -178,7 +174,7 @@ public class YgglController {
}
/**
* 添加
/修改
员工档案(weng)
* 添加员工档案(weng)
*
* @param
* @return
...
...
@@ -236,10 +232,8 @@ public class YgglController {
}
}
}
/**
* 修改员工档案
*
* @param
* @return
*/
...
...
@@ -252,7 +246,6 @@ public class YgglController {
UpdateWrapper
<
YgglMainEmp
>
updateWrapper
=
new
UpdateWrapper
<
YgglMainEmp
>();
updateWrapper
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
ygglMainEmp
.
getEmpNum
());
ygglMainEmp
.
update
(
updateWrapper
);
return
ResultUtil
.
data
(
ygglMainEmp
,
"修改成功"
);
}
return
ResultUtil
.
error
(
"请确认该员工是否存在!"
);
...
...
@@ -295,9 +288,11 @@ public class YgglController {
return
ResultUtil
.
data
(
ygglMainEmpPage
,
"员工搜索成功"
);
// return ResultUtil.data(ygglMainEmpPage, ygglMainEmps, "员工搜索成功");
}
//威力加强版
/**
* 导入威力加强版
* @param
* @return
*/
@PostMapping
(
value
=
"/ygdas"
)
@ApiOperation
(
value
=
"导入威力加强版"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
7
)
...
...
@@ -332,7 +327,6 @@ public class YgglController {
continue
;
}
}
//判断是否已有员工登录表
if
(
login
==
null
)
{
// 添加三张表
QyzxEmpLogin
qyzxEmpLogin
=
QyzxEmpLogin
.
builder
().
phone
(
e
.
getPhone
()).
pw
(
Md5
.
md5
(
"123456"
))
...
...
@@ -354,7 +348,7 @@ public class YgglController {
.
sex
(
sex
).
jobNum
(
jobNum
).
bmgwId
(
gw
)
.
empNum
(
qyzxEmpLogin
.
getId
()).
orgCode
(
userBean
.
getOrgCode
()).
build
();
emp
.
insert
();
boolean
wanshan
=
new
LambdaUpdateChainWrapper
<
YgglMainEmp
>(
ygglMainEmpMapper
)
new
LambdaUpdateChainWrapper
<
YgglMainEmp
>(
ygglMainEmpMapper
)
.
eq
(
YgglMainEmp:
:
getOrgCode
,
userBean
.
getOrgCode
())
.
eq
(
YgglMainEmp:
:
getId
,
emp
.
getId
())
.
set
(
birthday
!=
null
,
YgglMainEmp:
:
getBirthday
,
birthday
)
...
...
@@ -376,12 +370,11 @@ public class YgglController {
.
syq
(
syq
).
sex
(
sex
)
.
jobNum
(
jobNum
).
empNum
(
login
.
getId
()).
orgCode
(
userBean
.
getOrgCode
()).
build
();
emp
.
insert
();
boolean
wanshan
=
new
LambdaUpdateChainWrapper
<
YgglMainEmp
>(
ygglMainEmpMapper
)
new
LambdaUpdateChainWrapper
<
YgglMainEmp
>(
ygglMainEmpMapper
)
.
eq
(
YgglMainEmp:
:
getOrgCode
,
userBean
.
getOrgCode
())
.
eq
(
YgglMainEmp:
:
getId
,
emp
.
getId
())
.
set
(
birthday
!=
null
,
YgglMainEmp:
:
getBirthday
,
birthday
)
.
set
(
jg
!=
null
&&
jg
!=
0
,
YgglMainEmp:
:
getJg
,
jg
).
update
();
//return ResultUtil.data(emp, "添加员工档案成功!");
}
else
{
e
.
setError
(
"该手机号码已被使用"
);
errorList
.
add
(
e
);
...
...
@@ -406,7 +399,7 @@ public class YgglController {
Iterator
<
YgDrjqbDto
>
itDr
=
drList
.
iterator
();
YgDrjqbDto
a
=
drList
.
get
(
0
);
//一个员工导入
Integer
size
=
drList
.
size
();
for
(
Integer
i
=
0
;
i
<
size
;)
{
//
for
(
Integer
i
=
0
;
i
<
size
;
i
++
)
{
//
YgDrjqbDto
d
=
newList
.
get
(
i
);
//计数器
if
(
itDr
.
hasNext
())
{
a
=
itDr
.
next
();
...
...
@@ -420,7 +413,6 @@ public class YgglController {
||
StrUtil
.
hasBlank
(
sex
)
||
StrUtil
.
hasBlank
(
zj
))
{
d
.
setError
(
"请填写必填项"
);
errorList
.
add
(
d
);
itDr
.
remove
();
i
++;
continue
;
}
//手机号码格式不对
...
...
@@ -508,7 +500,6 @@ public class YgglController {
&&
StrUtil
.
hasBlank
(
fourb
))
{
//没填写岗位,通过~ //
}
else
{
//填写了部门岗位,办他!
Integer
isHaveBmgw
=
isHavebmgw
(
bms
,
gw
,
orgCode
);
if
(
isHaveBmgw
==
0
)
{
d
.
setError
(
"部门岗位有误"
);
...
...
@@ -519,7 +510,6 @@ public class YgglController {
}
}
i
++;
}
//for循环完毕!
YgDrsDto
tofList
=
new
YgDrsDto
(
drList
,
errorList
,
orgCode
);
return
tofList
;
...
...
@@ -548,7 +538,7 @@ public class YgglController {
String
zy
=
d
.
getZy
();
String
address
=
d
.
getAddress
();
String
hjAddress
=
d
.
getHkAddress
();
String
qq
=
d
.
getQq
();
String
weixin
=
d
.
getWeixin
();
String
email
=
d
.
getEmail
();
String
[]
bathroom
=
{
ygnbgh
,
jobType
,
jobStatus
,
rzTime
,
syq
,
zy
,
address
,
hjAddress
,
qq
,
weixin
,
email
};
String
[]
bathroom
=
{
ygnbgh
,
sex
,
jobType
,
jobStatus
,
rzTime
,
syq
,
zy
,
address
,
hjAddress
,
qq
,
weixin
,
email
};
boolean
child
=
takeshower
(
bathroom
);
if
(
child
==
false
)
{
d
.
setError
(
"填写内容不要大于50字数"
);
...
...
@@ -562,16 +552,15 @@ public class YgglController {
String
bh
=
format
.
format
(
new
Date
())+
orgCode
+
i
+
System
.
currentTimeMillis
();
d
.
setYgnbgh
(
bh
);
}
//男女(最大优化)
d
.
setSex
(
YgEnumInterface
.
sex
.
isMan
(
sex
));
//工作性质(最大优化)
d
.
setJobType
(
YgEnumInterface
.
YgJobType
.
choose
(
jobType
));
//员工状态(最大优化)
d
.
setJobStatus
(
YgEnumInterface
.
jobStatus
.
isZhen
(
jobStatus
));
//入职日期(
已
优化)
//入职日期(
最大
优化)
d
.
setRzTime
(
YgEnumInterface
.
rzTime
.
tranTime2
(
YgEnumInterface
.
rzTime
.
tranTime
(
rzTime
)));
//试用期(
已
优化)
//试用期(
最大
优化)
d
.
setSyq
(
YgEnumInterface
.
syq
.
choose
(
syq
));
}
YgDrsDto
clear
=
new
YgDrsDto
(
drList
,
errorList
,
orgCode
);
...
...
@@ -602,7 +591,6 @@ public class YgglController {
break
;
}
}
Integer
qiantao
=
qiantao
(
gwList
,
gw
,
0
,
orgCode
);
if
(
qiantao
!=
0
)
{
return
qiantao
;
//组织部门成立!
...
...
@@ -635,21 +623,18 @@ public class YgglController {
Integer
q
=
qiantao
(
gwList
,
gw
,
upid
,
orgCode
);
return
q
;
};
/**
* 导出员工
* @param
* @return
*/
@GetMapping
(
value
=
"/ygdas"
)
@ApiOperation
(
value
=
"导出
/批量添加/修改员工
"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"导出"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
8
)
public
Result
<
List
<
YgglMainEmp
>>
selectygdas
(
@CurrentUser
UserBean
userBean
)
{
Integer
orgCode
=
userBean
.
getOrgCode
();
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"org_code"
,
orgCode
);
List
<
YgglMainEmp
>
ygglMainEmpList
=
YgglMainEmp
.
builder
().
build
().
selectList
(
queryWrapper
);
return
ResultUtil
.
data
(
ygglMainEmpList
,
"导出员工成功"
);
int
[]
jList
=
{
1
,
2
,
3
};
List
<
YgglMainEmp
>
list
=
new
LambdaQueryChainWrapper
<
YgglMainEmp
>(
ygglMainEmpMapper
).
eq
(
YgglMainEmp:
:
getOrgCode
,
userBean
.
getOrgCode
()).
in
(
YgglMainEmp:
:
getJobStatus
,
jList
).
list
();
return
ResultUtil
.
data
(
list
,
"导出员工成功"
);
}
/**
...
...
@@ -661,9 +646,8 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工教育经历表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
9
)
public
Result
<
List
<
YgglAttaJyjlb
>>
selectjyjlb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaJyjlb
>
ygglAttaJyjlbss
=
YgglAttaJyjlb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaJyjlb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaJyjlb
>
ygglAttaJyjlbss
=
YgglAttaJyjlb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaJyjlb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaJyjlbss
,
"获取员工教育经历表成功"
);
}
...
...
@@ -708,7 +692,6 @@ public class YgglController {
/**
* 获取员工培训经历信息表
*
* @param
* @return
*/
...
...
@@ -716,12 +699,10 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工培训经历信息表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
13
)
public
Result
<
List
<
YgglAttaPxjlxxb
>>
selectpxjlxxb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaPxjlxxb
>
ygglAttaPxjlxxbs
=
YgglAttaPxjlxxb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaPxjlxxb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaPxjlxxb
>
ygglAttaPxjlxxbs
=
YgglAttaPxjlxxb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaPxjlxxb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaPxjlxxbs
,
"获取员工培训经历信息表成功"
);
}
// 获取员工培训经历信息表
@GetMapping
(
value
=
"/pxjlxxb/{empNum}"
)
@ApiOperation
(
value
=
"获取员工培训经历信息表(管)"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
...
...
@@ -731,10 +712,8 @@ public class YgglController {
new
QueryWrapper
<
YgglAttaPxjlxxb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
empNum
));
return
ResultUtil
.
data
(
ygglAttaPxjlxxbs
,
"获取员工培训经历信息表成功"
);
}
/**
* 添加/修改员工培训经历信息表
*
* @param
* @return
*/
...
...
@@ -748,10 +727,8 @@ public class YgglController {
ygglAttaPxjlxxb
.
insertOrUpdate
();
return
ResultUtil
.
data
(
ygglAttaPxjlxxb
,
"添加/修改员工培训经历信息表成功"
);
}
/**
* 删除员工培训经历信息表
*
* @param
* @return
*/
...
...
@@ -763,10 +740,8 @@ public class YgglController {
return
ResultUtil
.
data
(
YgglAttaPxjlxxb
.
builder
().
build
()
.
delete
(
new
QueryWrapper
<
YgglAttaPxjlxxb
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除员工培训经历信息表成功"
);
}
/**
* 获取员工工作经历表
*
* @param
* @return
*/
...
...
@@ -774,9 +749,8 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工工作经历表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
17
)
public
Result
<
List
<
YgglAttaGzjlb
>>
selectgzjlb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaGzjlb
>
ygglAttaGzjlbs
=
YgglAttaGzjlb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaGzjlb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaGzjlb
>
ygglAttaGzjlbs
=
YgglAttaGzjlb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaGzjlb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaGzjlbs
,
"获取员工工作经历表成功"
);
}
// 获取员工工作经历表
...
...
@@ -788,10 +762,8 @@ public class YgglController {
new
QueryWrapper
<
YgglAttaGzjlb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
empNum
));
return
ResultUtil
.
data
(
ygglAttaGzjlbs
,
"获取员工工作经历表成功"
);
}
/**
* 添加/修改员工工作经历表
*
* @param
* @return
*/
...
...
@@ -804,10 +776,8 @@ public class YgglController {
ygglAttaGzjlb
.
insertOrUpdate
();
return
ResultUtil
.
data
(
ygglAttaGzjlb
,
"添加/修改员工工作经历表成功"
);
}
/**
* 删除员工工作经历表
*
* @param
* @return
*/
...
...
@@ -817,13 +787,10 @@ public class YgglController {
public
Result
<
Boolean
>
delgzjlb
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
id
)
{
Integer
orgCode
=
userBean
.
getOrgCode
();
return
ResultUtil
.
data
(
YgglAttaGzjlb
.
builder
().
build
()
.
delete
(
new
QueryWrapper
<
YgglAttaGzjlb
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除员工工作经历表成功"
);
.
delete
(
new
QueryWrapper
<
YgglAttaGzjlb
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除员工工作经历表成功"
);
}
/**
* 获取员工职称信息表
*
* @param
* @return
*/
...
...
@@ -831,12 +798,10 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工职称信息表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
21
)
public
Result
<
List
<
YgglAttaZcxxb
>>
selectzcxxb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaZcxxb
>
ygglAttaZcxxbs
=
YgglAttaZcxxb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaZcxxb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaZcxxb
>
ygglAttaZcxxbs
=
YgglAttaZcxxb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaZcxxb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaZcxxbs
,
"获取员工职称信息表成功"
);
}
// 获取员工职称信息表
@GetMapping
(
value
=
"/zcxxb/{empNum}"
)
@ApiOperation
(
value
=
"获取员工职称信息表(管)"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
...
...
@@ -846,10 +811,8 @@ public class YgglController {
new
QueryWrapper
<
YgglAttaZcxxb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
empNum
));
return
ResultUtil
.
data
(
ygglAttaZcxxbs
,
"获取员工职称信息表成功"
);
}
/**
* 添加/修改员工职称信息表
*
* @param
* @return
*/
...
...
@@ -862,11 +825,8 @@ public class YgglController {
ygglAttaZcxxb
.
insertOrUpdate
();
return
ResultUtil
.
data
(
ygglAttaZcxxb
,
"添加/修改员工职称信息表成功"
);
}
/**
* 删除员工职称信息表
*
* @param
* @return
*/
...
...
@@ -878,15 +838,8 @@ public class YgglController {
return
ResultUtil
.
data
(
YgglAttaZcxxb
.
builder
().
build
()
.
delete
(
new
QueryWrapper
<
YgglAttaZcxxb
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除员工职称信息表成功"
);
}
/**
* 获取员工证书证件表
*
* @param
* @return
*/
...
...
@@ -894,26 +847,21 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工证书证件表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
25
)
public
Result
<
List
<
YgglAttaZszjb
>>
selectzszjb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaZszjb
>
ygglAttaZszjbs
=
YgglAttaZszjb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaZszjb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaZszjb
>
ygglAttaZszjbs
=
YgglAttaZszjb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaZszjb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaZszjbs
,
"获取员工证书证件表成功"
);
}
// 获取员工证书证件表
@GetMapping
(
value
=
"/zszjb/{empNum}"
)
@ApiOperation
(
value
=
"获取员工证书证件表(管)"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
26
)
public
Result
<
List
<
YgglAttaZszjb
>>
selectzszjb
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
empNum
)
{
List
<
YgglAttaZszjb
>
ygglAttaZszjbs
=
YgglAttaZszjb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaZszjb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
empNum
));
new
QueryWrapper
<
YgglAttaZszjb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
empNum
));
return
ResultUtil
.
data
(
ygglAttaZszjbs
,
"获取员工证书证件表成功"
);
}
/**
* 添加/修改员工证书证件表
*
* @param
* @return
*/
...
...
@@ -926,10 +874,8 @@ public class YgglController {
ygglAttaZszjb
.
insertOrUpdate
();
return
ResultUtil
.
data
(
ygglAttaZszjb
,
"添加/修改员工证书证件表成功"
);
}
/**
* 删除员工证书证件表
*
* @param
* @return
*/
...
...
@@ -943,7 +889,6 @@ public class YgglController {
}
/**
* 获取员工联系信息表
*
* @param
* @return
*/
...
...
@@ -951,9 +896,8 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工联系信息表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
29
)
public
Result
<
List
<
YgglAttaLxxxb
>>
selectlxxxb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaLxxxb
>
ygglAttaLxxxbs
=
YgglAttaLxxxb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaLxxxb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaLxxxb
>
ygglAttaLxxxbs
=
YgglAttaLxxxb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaLxxxb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaLxxxbs
,
"获取员工联系信息表成功"
);
}
// 获取员工联系信息表
...
...
@@ -967,7 +911,6 @@ public class YgglController {
}
/**
* 添加/修改员工联系信息表
*
* @param
* @return
*/
...
...
@@ -982,7 +925,6 @@ public class YgglController {
}
/**
* 删除员工联系信息表
*
* @param
* @return
*/
...
...
@@ -994,10 +936,8 @@ public class YgglController {
return
ResultUtil
.
data
(
YgglAttaLxxxb
.
builder
().
build
()
.
delete
(
new
QueryWrapper
<
YgglAttaLxxxb
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除员工联系信息表成功"
);
}
/**
* 获取员工紧急联系人表
*
* @param
* @return
*/
...
...
@@ -1005,12 +945,10 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工紧急联系人表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
33
)
public
Result
<
List
<
YgglAttaJjlxr
>>
selectjjlxr
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaJjlxr
>
ygglAttaJjlxrs
=
YgglAttaJjlxr
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaJjlxr
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaJjlxr
>
ygglAttaJjlxrs
=
YgglAttaJjlxr
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaJjlxr
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaJjlxrs
,
"获取员工紧急联系人表成功"
);
}
// 获取员工紧急联系人表
@GetMapping
(
value
=
"/jjlxr/{empNum}"
)
@ApiOperation
(
value
=
"获取员工紧急联系人表(管)"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
...
...
@@ -1022,7 +960,6 @@ public class YgglController {
}
/**
* 添加/修改员工紧急联系人表
*
* @param
* @return
*/
...
...
@@ -1037,7 +974,6 @@ public class YgglController {
}
/**
* 删除员工紧急联系人表
*
* @param
* @return
*/
...
...
@@ -1049,11 +985,9 @@ public class YgglController {
return
ResultUtil
.
data
(
YgglAttaJjlxr
.
builder
().
build
()
.
delete
(
new
QueryWrapper
<
YgglAttaJjlxr
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除员工紧急联系人表成功"
);
}
// 获取工资卡信息
/**
* 获取员工工资卡信息
*
* @param
* @return
*/
...
...
@@ -1076,7 +1010,6 @@ public class YgglController {
}
/**
* 添加/修改工资卡信息
*
* @param
* @return
*/
...
...
@@ -1091,7 +1024,6 @@ public class YgglController {
}
/**
* 删除工资卡信息
*
* @param
* @return
*/
...
...
@@ -1103,10 +1035,8 @@ public class YgglController {
return
ResultUtil
.
data
(
YgglAttaGzk
.
builder
().
build
()
.
delete
(
new
QueryWrapper
<
YgglAttaGzk
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除工资卡信息成功"
);
}
/**
* 获取员工合同信息表
*
* @param
* @return
*/
...
...
@@ -1114,9 +1044,8 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工合同信息表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
41
)
public
Result
<
List
<
YgglAttaHtxxb
>>
selecthtxxb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaHtxxb
>
ygglAttaHtxxbs
=
YgglAttaHtxxb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaHtxxb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaHtxxb
>
ygglAttaHtxxbs
=
YgglAttaHtxxb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaHtxxb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaHtxxbs
,
"获取员工合同信息表成功"
);
}
// 获取员工合同信息表
...
...
@@ -1130,7 +1059,6 @@ public class YgglController {
}
/**
* 添加/修改员工合同信息表
*
* @param
* @return
*/
...
...
@@ -1145,7 +1073,6 @@ public class YgglController {
}
/**
* 删除员工合同信息表
*
* @param
* @return
*/
...
...
@@ -1167,9 +1094,8 @@ public class YgglController {
@ApiOperation
(
value
=
"获取员工材料附件表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
45
)
public
Result
<
List
<
YgglAttaClfjb
>>
selectclfjb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaClfjb
>
ygglAttaClfjbs
=
YgglAttaClfjb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaClfjb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaClfjb
>
ygglAttaClfjbs
=
YgglAttaClfjb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaClfjb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaClfjbs
,
"获取员工材料附件表成功"
);
}
// 获取员工材料附件表
...
...
@@ -1183,7 +1109,6 @@ public class YgglController {
}
/**
* 添加/修改员工材料附件表
*
* @param
* @return
*/
...
...
@@ -1198,7 +1123,6 @@ public class YgglController {
}
/**
* 删除员工材料附件表
*
* @param
* @return
*/
...
...
@@ -1213,7 +1137,6 @@ public class YgglController {
/**
* 获取成长记录表
*
* @param
* @return
*/
...
...
@@ -1221,9 +1144,8 @@ public class YgglController {
@ApiOperation
(
value
=
"获取成长记录表"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
49
)
public
Result
<
List
<
YgglAttaCzjlb
>>
selectczjlb
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaCzjlb
>
ygglAttaCzjlbs
=
YgglAttaCzjlb
.
builder
().
build
()
.
selectList
(
new
QueryWrapper
<
YgglAttaCzjlb
>().
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
List
<
YgglAttaCzjlb
>
ygglAttaCzjlbs
=
YgglAttaCzjlb
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaCzjlb
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaCzjlbs
,
"获取成长记录表成功"
);
}
// 获取成长记录表
...
...
@@ -1237,7 +1159,6 @@ public class YgglController {
}
/**
* 添加/修改成长记录表
*
* @param
* @return
*/
...
...
@@ -1250,24 +1171,21 @@ public class YgglController {
ygglAttaCzjlb
.
insertOrUpdate
();
return
ResultUtil
.
data
(
ygglAttaCzjlb
,
"添加/修改成长记录表成功"
);
}
// 获取员工离职表
/**
* 获取单个离职员工信息(管)
* @param
* @return
*/
@GetMapping
(
value
=
"/lzb/{empNum}"
)
@ApiOperation
(
value
=
"获取
员工离职表
(管)"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"获取
单个离职员工信息
(管)"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
52
)
public
Result
<
List
<
YgglMainLzb
>>
selectlzb
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
empNum
)
{
Integer
orgCode
=
userBean
.
getOrgCode
();
QueryWrapper
<
YgglMainLzb
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"org_code"
,
orgCode
);
List
<
YgglMainLzb
>
ygglMainLzbs
=
YgglMainLzb
.
builder
().
build
().
selectList
(
queryWrapper
);
return
ResultUtil
.
data
(
ygglMainLzbs
,
"获取员工离职表成功"
);
public
Result
<
YgglMainLzb
>
selectlzb
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
empNum
)
{
YgglMainLzb
lzyg
=
new
LambdaQueryChainWrapper
<
YgglMainLzb
>(
ygglMainLzbMapper
)
.
eq
(
YgglMainLzb:
:
getOrgCode
,
userBean
.
getOrgCode
()).
eq
(
YgglMainLzb:
:
getEmpNum
,
empNum
).
one
();
return
ResultUtil
.
data
(
lzyg
,
"获取单个离职员工信息(管)成功"
);
}
/**
* 员工转正
*
* @param
* @return
*/
...
...
@@ -1281,10 +1199,8 @@ public class YgglController {
.
zzRemark
(
ygzzDto
.
getZzRemark
()).
build
().
update
(
updateWrapper
);
return
ResultUtil
.
success
(
"转正成功!"
);
}
/**
* 计划离职 type2-3
*
* @param
* @return
*/
...
...
@@ -1292,41 +1208,30 @@ public class YgglController {
@ApiOperation
(
value
=
"添加离职计划"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
54
)
public
Result
<
YgglMainLzb
>
addjhlz
(
@CurrentUser
UserBean
userBean
,
@RequestBody
LzygQueryDto
lzygQueryDto
)
{
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<
YgglMainEmp
>();
queryWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
()).
eq
(
"org_code"
,
userBean
.
getOrgCode
());
YgglMainEmp
ygglMainEmp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
queryWrapper
);
YgglMainLzb
ygglMainLzb
=
YgglMainLzb
.
builder
().
empNum
(
lzygQueryDto
.
getEmpNum
()).
build
();
// 移动员工表数据到离职表
BeanUtil
.
copyProperties
(
ygglMainEmp
,
ygglMainLzb
);
ygglMainLzb
.
insert
();
UpdateWrapper
<
YgglMainEmp
>
updateWrapper
=
new
UpdateWrapper
<
YgglMainEmp
>();
updateWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
UpdateWrapper
<
YgglMainLzb
>
updateWrapper1
=
new
UpdateWrapper
<
YgglMainLzb
>();
updateWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
updateWrapper1
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
YgglMainEmp
.
builder
().
empNum
(
lzygQueryDto
.
getEmpNum
()).
jobStatus
(
3
).
build
().
update
(
updateWrapper
);
YgglMainLzb
.
builder
().
jobStatus
(
3
).
lzTime
(
lzygQueryDto
.
getLzTime
()).
lzyy
(
lzygQueryDto
.
getLzyy
())
.
lzbz
(
lzygQueryDto
.
getLzbz
()).
build
().
update
(
updateWrapper1
);
// 删除员工表
// ygglMainEmp.deleteById();
// 删除员工登陆表
// QyzxEmpLogin qyzxEmpLogin = QyzxEmpLogin.builder().id(ygglMainLzb.getEmpNum()).build();
// qyzxEmpLogin.deleteById();
return
ResultUtil
.
data
(
ygglMainLzb
,
"添加待离职员工成功"
);
}
/**
* 确认离职 type3-4
*
* @param
* @return
*/
...
...
@@ -1336,32 +1241,23 @@ public class YgglController {
public
Result
<
Void
>
addlzb
(
@CurrentUser
UserBean
userBean
,
@RequestBody
LzygQueryDto
lzygQueryDto
)
{
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<
YgglMainEmp
>();
queryWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
UpdateWrapper
<
YgglMainEmp
>
updateWrapper
=
new
UpdateWrapper
<
YgglMainEmp
>();
updateWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
UpdateWrapper
<
YgglMainLzb
>
updateWrapper1
=
new
UpdateWrapper
<
YgglMainLzb
>();
updateWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
updateWrapper1
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
YgglMainEmp
.
builder
().
empNum
(
lzygQueryDto
.
getEmpNum
()).
jobStatus
(
4
).
build
().
update
(
updateWrapper
);
YgglMainLzb
.
builder
().
empNum
(
lzygQueryDto
.
getEmpNum
()).
jobStatus
(
4
).
sjlzTime
(
new
Date
()).
build
()
.
update
(
updateWrapper1
);
// 查询该员工的关联表
QueryWrapper
<
QyzxEmpEntAsso
>
queryWrapper1
=
new
QueryWrapper
<
QyzxEmpEntAsso
>();
queryWrapper1
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
// 确认离职 删除员工关联表
QyzxEmpEntAsso
qyzxEmpEntAsso
=
QyzxEmpEntAsso
.
builder
().
empNum
(
lzygQueryDto
.
getEmpNum
()).
build
();
qyzxEmpEntAsso
.
delete
(
queryWrapper1
);
return
ResultUtil
.
success
(
"确认离职员工成功"
);
}
/**
* 放弃离职 type3-2
*
* @param
* @return
*/
...
...
@@ -1369,24 +1265,18 @@ public class YgglController {
@ApiOperation
(
value
=
"放弃离职"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
56
)
public
Result
<
Void
>
fqlz
(
@CurrentUser
UserBean
userBean
,
@RequestBody
LzygQueryDto
lzygQueryDto
)
{
UpdateWrapper
<
YgglMainEmp
>
updateWrapper
=
new
UpdateWrapper
<
YgglMainEmp
>();
updateWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
YgglMainEmp
.
builder
().
jobStatus
(
2
).
build
().
update
(
updateWrapper
);
QueryWrapper
<
YgglMainLzb
>
queryWrapper
=
new
QueryWrapper
<
YgglMainLzb
>();
queryWrapper
.
eq
(
"emp_num"
,
lzygQueryDto
.
getEmpNum
());
// 删除离职表
YgglMainLzb
.
builder
().
id
(
lzygQueryDto
.
getEmpNum
()).
build
().
delete
(
queryWrapper
);
return
ResultUtil
.
success
(
"放弃成功"
);
}
/**
* 查询离职员工列表
*
* @param
* @return
*/
...
...
@@ -1401,18 +1291,6 @@ public class YgglController {
List
<
YgglMainLzb
>
lzb
=
ygglMainLzbMapper
.
queryLzb
(
page
,
lzygQueryDto
);
return
ResultUtil
.
data
(
page
,
lzb
,
"离职员工搜索成功"
);
}
/**
* 部门导入(未完成)
* @param
* @return
*/
@PostMapping
(
value
=
"/ygbmdr"
)
@ApiOperation
(
value
=
"员工部门导入未完成"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
58
)
public
Result
<
List
<
YgglMainEmp
>>
ygbmdr
(
UserBean
userBean
,
List
<
YgglMainEmp
>
EmpList
)
{
return
ResultUtil
.
success
(
"员工导入成功!"
);
}
/**
* 展示民族/展示所有民族
* @param
...
...
@@ -1464,9 +1342,13 @@ public class YgglController {
if
(!
maps
.
isEmpty
())
return
ResultUtil
.
data
(
maps
,
"展示籍贯成功"
);
return
ResultUtil
.
success
(
null
);
}
/**
* 根据籍贯id显示籍贯名
* @param
* @return
*/
@PostMapping
(
value
=
"/jgp/{id}"
)
@ApiOperation
(
value
=
"
显示籍贯省市区
"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"
根据籍贯id显示籍贯名
"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
61
)
public
Result
<
String
>
selectjg
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
id
)
{
String
isPro
=
id
.
toString
().
substring
(
2
,
4
);
...
...
@@ -1481,11 +1363,8 @@ public class YgglController {
if
(
area
!=
null
)
{
return
ResultUtil
.
data
(
area
.
getName
(),
"显示所在籍贯"
);}
return
ResultUtil
.
error
(
"编码有误,显示不到所在籍贯"
);
}
/**
* 查询员工列表
*
* @param
* @return
*/
...
...
@@ -1496,11 +1375,9 @@ public class YgglController {
List
<
YgQueryDto
>
ygQueryDto
=
ygglMainEmpMapper
.
queryEmpMessage
(
userBean
);
return
ResultUtil
.
data
(
ygQueryDto
,
"查询成功"
);
}
/*************** 统计图 ***************/
/**
* 查询统计图
*
* @return 成功信息
*/
@GetMapping
(
"/yggl"
)
...
...
@@ -1538,32 +1415,41 @@ public class YgglController {
return
ResultUtil
.
data
(
map
,
"查询成功"
);
}
/**
* 获取成长记录表
* @param
* @return
*/
@GetMapping
(
value
=
"/ygsbgjj"
)
@ApiOperation
(
value
=
"获取员工社保公积金"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
64
)
public
Result
<
List
<
YgglAttaSbgjj
>>
selectygsbgjj
(
@CurrentUser
UserBean
userBean
)
{
List
<
YgglAttaSbgjj
>
ygglAttaSbgjj
=
YgglAttaSbgjj
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
YgglAttaSbgjj
>()
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
eq
(
"emp_num"
,
userBean
.
getEmpNum
()));
return
ResultUtil
.
data
(
ygglAttaSbgjj
,
"获取员工社保公积金成功"
);
}
/**
* 获取员工社保公积金
*
* @param
* @return
*/
@GetMapping
(
value
=
"/ygsbgjj/{empNum}"
)
@ApiOperation
(
value
=
"获取员工社保公积金"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
6
4
)
@ApiOperationSupport
(
order
=
6
5
)
public
Result
<
YgglAttaSbgjj
>
selectygsbgjj
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
empNum
)
{
YgglAttaSbgjj
ygglAttaSbgjj
=
YgglAttaSbgjj
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
YgglAttaSbgjj
>().
eq
(
"emp_num"
,
empNum
));
return
ResultUtil
.
data
(
ygglAttaSbgjj
,
"获取员工社保公积金成功"
);
}
/**
* 添加/修改员工社保公积金
*
* @param
* @return
*/
@PostMapping
(
value
=
"/ygsbgjj"
)
@ApiOperation
(
value
=
"添加/修改员工社保公积金"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
6
5
)
@ApiOperationSupport
(
order
=
6
6
)
public
Result
<
YgglAttaSbgjj
>
addygsbgjj
(
@CurrentUser
UserBean
userBean
,
@RequestBody
YgglAttaSbgjj
ygglAttaSbgjj
)
{
Integer
empNum
=
ygglAttaSbgjj
.
getEmpNum
();
if
(
empNum
==
null
)
{
...
...
@@ -1579,4 +1465,18 @@ public class YgglController {
return
ResultUtil
.
data
(
ygglAttaSbgjj
,
"添加/修改员工社保公积金成功"
);
}
/**
* 删除员工社保公积金
* @param
* @return
*/
@DeleteMapping
(
value
=
"/ygsbgjj/{id}"
)
@ApiOperation
(
value
=
"删除员工社保公积金"
,
httpMethod
=
"DELETE"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
67
)
public
Result
<
Boolean
>
delygsbgjj
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
id
)
{
Integer
orgCode
=
userBean
.
getOrgCode
();
return
ResultUtil
.
data
(
YgglAttaSbgjj
.
builder
().
build
()
.
delete
(
new
QueryWrapper
<
YgglAttaSbgjj
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"id"
,
id
)),
"删除员工社保公积金成功"
);
}
}
src/main/java/cn/timer/api/dto/yggl/AddygdaDto.java
View file @
075ce249
...
...
@@ -51,4 +51,8 @@ public class AddygdaDto extends Page implements Serializable{
@ApiModelProperty
(
value
=
"性别 0:男;1:女"
,
example
=
"0"
)
private
Integer
sex
;
}
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