Commit 4a642b3a by 林冲

删除测试代码

1 parent 2b788875
......@@ -22,13 +22,11 @@ import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
@Slf4j
@ServiceMethodBean(version = "1.0.0", needInSession = NeedInSessionType.NO)
@Api("申诉单管理web接口")
@RestController
//@RestController
public class StaffSalaryAppealApplyRecordController {
@Autowired
......@@ -36,7 +34,7 @@ public class StaffSalaryAppealApplyRecordController {
@ApiOperation("考勤/工资申诉分页查询")
@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) {
RpcPagination<StaffSalaryAppealApplyRecordDTO> pagination = CommonUtil.getRpcPagination(StaffSalaryAppealApplyRecordDTO.class);
StaffSalaryAppealApplyRecordDTO condition = pagination.getCondition();
......@@ -56,7 +54,7 @@ public class StaffSalaryAppealApplyRecordController {
@ApiOperation("查询申诉详情")
@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) {
StaffSalaryAppealApplyRecordDTO dto = new StaffSalaryAppealApplyRecordDTO();
dto.setId(request.getId());
......@@ -75,7 +73,7 @@ public class StaffSalaryAppealApplyRecordController {
@ApiOperation("工资申诉去答复")
@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) {
LoginUserDTO loginUser = CommonUtil.getLoginUser();
Assert.notNull(loginUser, "登录信息不能为空");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!