Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work_service
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
licc
work_service
Commits
34fbd226
Commit
34fbd226
authored
Mar 02, 2021
by
cq990612
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码结构
parent
3841e2c9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
WorkTimeOrderServiceImpl.java
...a/cn/wisenergy/service/impl/WorkTimeOrderServiceImpl.java
+3
-1
WorkTimeOrderController.java
...rgy/web/admin/controller/app/WorkTimeOrderController.java
+1
-1
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/impl/WorkTimeOrderServiceImpl.java
View file @
34fbd226
...
@@ -352,6 +352,7 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
...
@@ -352,6 +352,7 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
throw
new
BaseCustomException
(
BASE_RESP_CODE_ENUM
.
USER_NOT_LEVEL
);
throw
new
BaseCustomException
(
BASE_RESP_CODE_ENUM
.
USER_NOT_LEVEL
);
}
}
WorkUser
user
=
workUserService
.
getById
(
userId
);
WorkUser
user
=
workUserService
.
getById
(
userId
);
// PC端
// PC端
return
pageExamine
(
user
,
projectId
,
type
,
page
,
pageSize
,
status
);
return
pageExamine
(
user
,
projectId
,
type
,
page
,
pageSize
,
status
);
}
}
...
@@ -533,7 +534,8 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
...
@@ -533,7 +534,8 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
*/
*/
@Override
@Override
public
ProjectsDto
getProjectDto
(
Integer
userId
)
{
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
)
{
if
(
null
==
userId
)
{
throw
new
BaseCustomException
(
BASE_RESP_CODE_ENUM
.
INPUT_PARAM_IS_NULL
);
throw
new
BaseCustomException
(
BASE_RESP_CODE_ENUM
.
INPUT_PARAM_IS_NULL
);
}
}
...
...
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/WorkTimeOrderController.java
View file @
34fbd226
...
@@ -76,7 +76,7 @@ public class WorkTimeOrderController extends BaseController {
...
@@ -76,7 +76,7 @@ public class WorkTimeOrderController extends BaseController {
@ApiImplicitParam
(
name
=
"type"
,
value
=
"部门经理:工单类型type(5,6,7)"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
"type"
,
value
=
"部门经理:工单类型type(5,6,7)"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
"page"
,
value
=
"PC端当前页"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
"page"
,
value
=
"PC端当前页"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
"pageSize"
,
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"
)
@GetMapping
(
value
=
"/getExamine"
)
public
Result
<
PageInfo
<
WorkTimeOrderDto
>>
getExamine
(
Integer
userId
,
Integer
projectId
,
Integer
type
,
Integer
page
,
Integer
pageSize
,
String
status
)
{
public
Result
<
PageInfo
<
WorkTimeOrderDto
>>
getExamine
(
Integer
userId
,
Integer
projectId
,
Integer
type
,
Integer
page
,
Integer
pageSize
,
String
status
)
{
...
...
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