Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4a642b3a
authored
Jan 29, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除测试代码
1 parent
2b788875
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
src/main/java/cn/com/glsx/dj/staff/controller/salaryappealapply/StaffSalaryAppealApplyRecordController.java
src/main/java/cn/com/glsx/dj/staff/controller/salaryappealapply/StaffSalaryAppealApplyRecordController.java
View file @
4a642b3
...
@@ -22,13 +22,11 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -22,13 +22,11 @@ import lombok.extern.slf4j.Slf4j;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.Assert
;
import
org.springframework.util.Assert
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@Slf4j
@Slf4j
@ServiceMethodBean
(
version
=
"1.0.0"
,
needInSession
=
NeedInSessionType
.
NO
)
@ServiceMethodBean
(
version
=
"1.0.0"
,
needInSession
=
NeedInSessionType
.
NO
)
@Api
(
"申诉单管理web接口"
)
@Api
(
"申诉单管理web接口"
)
@RestController
//
@RestController
public
class
StaffSalaryAppealApplyRecordController
{
public
class
StaffSalaryAppealApplyRecordController
{
@Autowired
@Autowired
...
@@ -36,7 +34,7 @@ public class StaffSalaryAppealApplyRecordController {
...
@@ -36,7 +34,7 @@ public class StaffSalaryAppealApplyRecordController {
@ApiOperation
(
"考勤/工资申诉分页查询"
)
@ApiOperation
(
"考勤/工资申诉分页查询"
)
@ServiceMethod
(
method
=
"dj.staff.api.salaryappeal.page"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.staff.api.salaryappeal.page"
,
needInSession
=
NeedInSessionType
.
YES
)
@PostMapping
(
"/dj.staff.api.salaryappeal.page/1.0.0"
)
//
@PostMapping("/dj.staff.api.salaryappeal.page/1.0.0")
public
RopResponse
<
RpcPagination
<
SalaryAppealPageRecordResponse
>>
page
(
SalaryAppealPageRequest
request
)
{
public
RopResponse
<
RpcPagination
<
SalaryAppealPageRecordResponse
>>
page
(
SalaryAppealPageRequest
request
)
{
RpcPagination
<
StaffSalaryAppealApplyRecordDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
StaffSalaryAppealApplyRecordDTO
.
class
);
RpcPagination
<
StaffSalaryAppealApplyRecordDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
StaffSalaryAppealApplyRecordDTO
.
class
);
StaffSalaryAppealApplyRecordDTO
condition
=
pagination
.
getCondition
();
StaffSalaryAppealApplyRecordDTO
condition
=
pagination
.
getCondition
();
...
@@ -56,7 +54,7 @@ public class StaffSalaryAppealApplyRecordController {
...
@@ -56,7 +54,7 @@ public class StaffSalaryAppealApplyRecordController {
@ApiOperation
(
"查询申诉详情"
)
@ApiOperation
(
"查询申诉详情"
)
@ServiceMethod
(
method
=
"dj.staff.api.salaryappeal.detail"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.staff.api.salaryappeal.detail"
,
needInSession
=
NeedInSessionType
.
YES
)
@PostMapping
(
"/dj.staff.api.salaryappeal.detail/1.0.0"
)
//
@PostMapping("/dj.staff.api.salaryappeal.detail/1.0.0")
public
RopResponse
<
SalaryAppealApplyDetailResponse
>
detail
(
CommonIntegerIdRequest
request
)
{
public
RopResponse
<
SalaryAppealApplyDetailResponse
>
detail
(
CommonIntegerIdRequest
request
)
{
StaffSalaryAppealApplyRecordDTO
dto
=
new
StaffSalaryAppealApplyRecordDTO
();
StaffSalaryAppealApplyRecordDTO
dto
=
new
StaffSalaryAppealApplyRecordDTO
();
dto
.
setId
(
request
.
getId
());
dto
.
setId
(
request
.
getId
());
...
@@ -75,7 +73,7 @@ public class StaffSalaryAppealApplyRecordController {
...
@@ -75,7 +73,7 @@ public class StaffSalaryAppealApplyRecordController {
@ApiOperation
(
"工资申诉去答复"
)
@ApiOperation
(
"工资申诉去答复"
)
@ServiceMethod
(
method
=
"dj.staff.api.salaryappeal.reply"
,
needInSession
=
NeedInSessionType
.
YES
)
@ServiceMethod
(
method
=
"dj.staff.api.salaryappeal.reply"
,
needInSession
=
NeedInSessionType
.
YES
)
@PostMapping
(
"/dj.staff.api.salaryappeal.reply/1.0.0"
)
//
@PostMapping("/dj.staff.api.salaryappeal.reply/1.0.0")
public
RopResponse
<
Boolean
>
reply
(
SalaryAppealReplyRequest
request
)
{
public
RopResponse
<
Boolean
>
reply
(
SalaryAppealReplyRequest
request
)
{
LoginUserDTO
loginUser
=
CommonUtil
.
getLoginUser
();
LoginUserDTO
loginUser
=
CommonUtil
.
getLoginUser
();
Assert
.
notNull
(
loginUser
,
"登录信息不能为空"
);
Assert
.
notNull
(
loginUser
,
"登录信息不能为空"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment