Commit 34fbd226 authored by cq990612's avatar cq990612

优化代码结构

parent 3841e2c9
......@@ -352,6 +352,7 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
throw new BaseCustomException(BASE_RESP_CODE_ENUM.USER_NOT_LEVEL);
}
WorkUser user = workUserService.getById(userId);
// PC端
return pageExamine(user, projectId, type, page, pageSize, status);
}
......@@ -533,7 +534,8 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
*/
@Override
public ProjectsDto getProjectDto(Integer userId) {
log.info("WorkOrderServiceImpl[]getProjectDto[]input.param.id:{}" + userId);
log.info("WorkOrderServiceImpl[]getProjectDto[]input.param.userId:{}" + userId);
System.out.println(userId);
if (null == userId) {
throw new BaseCustomException(BASE_RESP_CODE_ENUM.INPUT_PARAM_IS_NULL);
}
......
......@@ -76,7 +76,7 @@ public class WorkTimeOrderController extends BaseController {
@ApiImplicitParam(name = "type", value = "部门经理:工单类型type(5,6,7)", dataType = "int"),
@ApiImplicitParam(name = "page", value = "PC端当前页", dataType = "int"),
@ApiImplicitParam(name = "pageSize", value = "PC端一页多少条记录", dataType = "int"),
@ApiImplicitParam(name = "status", value = "PC端审批状态", dataType = "string"),
@ApiImplicitParam(name = "status", value = "PC端审批状态", dataType = "string")
})
@GetMapping(value = "/getExamine")
public Result<PageInfo<WorkTimeOrderDto>> getExamine(Integer userId, Integer projectId, Integer type, Integer page, Integer pageSize, String status) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment