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
e8ab17c9
Commit
e8ab17c9
authored
Nov 03, 2020
by
mobh
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
bdc97d77
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
1 deletions
+66
-1
src/main/java/cn/timer/api/controller/xcgl/SalaryManagementController.java
+12
-0
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXzdazdyMapper.java
+12
-0
src/main/resources/mapping/xcgl/XcglAssoXzdazdyMapper.xml
+42
-1
No files found.
src/main/java/cn/timer/api/controller/xcgl/SalaryManagementController.java
View file @
e8ab17c9
...
...
@@ -834,6 +834,18 @@ public class SalaryManagementController {
page
.
setTotal
(
total
);
return
ResultUtil
.
data
(
page
,
dxrylist
,
"获取自定义薪资组表头信息"
);
}
/**
* 查询定薪人员+模糊查询*******
*/
@PostMapping
(
value
=
"/fixedstaffAll"
)
@ApiOperation
(
value
=
"查询定薪人员 不分页"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
FixedSalarStaffAll
(
@CurrentUser
UserBean
userBean
,
@RequestBody
SearchSalariedPeopleDto
search
)
{
search
.
setOrgcode
(
userBean
.
getOrgCode
());
List
<
FixedSalaryStaffDto
>
dxrylist
=
xcglassoxzdazdymapper
.
selectFixedSalaryStaffAll
(
search
);
return
ResultUtil
.
data
(
dxrylist
,
"获取自定义薪资组表头信息"
);
}
/**
* 核对算薪人员及薪资档案*******
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXzdazdyMapper.java
View file @
e8ab17c9
...
...
@@ -25,9 +25,21 @@ public interface XcglAssoXzdazdyMapper extends BaseMapper<XcglAssoXzdazdy> {
int
dazdyupdate
(
XcglAssoXzdazdy
xcglassoxzdazdy
);
/**
* 查询定薪人员 分页
* @param search
* @return
*/
long
selectFixedSalaryStaffCount
(
@Param
(
"param"
)
SearchSalariedPeopleDto
search
);
List
<
FixedSalaryStaffDto
>
selectFixedSalaryStaff
(
@Param
(
"param"
)
SearchSalariedPeopleDto
search
);
/**
* 查询定薪人员 不分页
* @param search
* @return
*/
List
<
FixedSalaryStaffDto
>
selectFixedSalaryStaffAll
(
@Param
(
"param"
)
SearchSalariedPeopleDto
search
);
List
<
ChangeSalaryDto
>
AchieveSalaryAdjustment
(
Integer
orgcode
,
Integer
empnum
);
List
<
FixedSalaryStaffDto
>
SalaryAdjustmentRecord
(
Integer
orgcode
,
Integer
empnum
);
...
...
src/main/resources/mapping/xcgl/XcglAssoXzdazdyMapper.xml
View file @
e8ab17c9
...
...
@@ -226,7 +226,48 @@
LEFT JOIN xcgl_asso_xzdadx as dadx on dadx.userid = emp.emp_num and dadx.txzt = 0
LEFT JOIN xcgl_asso_xzdaz as xzdaz on xzdaz.xzdadxid = dadx.id
</select>
<select
id=
"selectFixedSalaryStaffAll"
resultMap=
"FixedSalaryStaffMap"
>
select emp.emp_num empnum,
emp.`name` empname,
case emp.job_type
when 0 then '全职'
when 1 then '实习生'
when 2 then '兼职'
when 3 then '劳务派遣'
when 4 then '劳务'
when 5 then '派遣'
when 6 then '外包'
else '退休返聘' end as empjobtype,
case emp.job_status
when 0 then '试用'
when 1 then '正式'
when 2 then '离职中'
else '已离职' end as empjobstatus,
SUBSTR(emp.rz_time,1,10) emprztime ,
SUBSTR(emp.zz_time,1,10) empzztime,
IF(dadx.userid IS NOT NULL,1,0) as sfdx,
dadx.sxrq as tratime,
xzdaz.id as dazid,
xzdaz.xzdazdyid as xzdazdyid,
xzdaz.rsz as dazrsz,
xzdaz.xzdadxid as xzdadxid
from (select * from yggl_main_emp emp
where emp.org_code = #{param.orgcode}
<if
test=
"param.status != null and param.status.size() >0"
>
and emp.job_status in
<foreach
collection=
"param.status"
open=
"("
close=
")"
separator=
","
index=
"i"
item=
"item"
>
#{item, jdbcType=INTEGER}
</foreach>
</if>
<if
test=
"param.text != ''"
>
and (emp.`name` like CONCAT('%',#{param.text},'%') or emp.emp_num = #{param.text})
</if>
) emp
LEFT JOIN xcgl_asso_xzdadx as dadx on dadx.userid = emp.emp_num and dadx.txzt = 0
LEFT JOIN xcgl_asso_xzdaz as xzdaz on xzdaz.xzdadxid = dadx.id
</select>
<select
id=
"selectPaygroupStaff"
resultMap=
"FixedSalaryStaffMap"
>
select emp.emp_num empnum,
...
...
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