Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 423af476
authored
Jun 08, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
持续完善
1 parent
9eb4f183
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
87 additions
and
8 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/WorkbenchEngineersGanttReqDTO.java
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/WorkbenchEngineersGanttRespDTO.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrganizationServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/WorkbenchServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/WorkbenchEngineersGanttReqDTO.java
0 → 100644
View file @
423af47
package
com
.
alibaba
.
cloud
.
integration
.
order
.
dto
;
@lombok
.
Data
public
class
WorkbenchEngineersGanttReqDTO
{
private
String
levelType
;
private
String
levelValue
;
private
Integer
page
;
private
Integer
size
;
private
String
date
;
/**
* 技术员ID列表,即使只有一个,也必须["en001"]这样的格式
*/
private
String
[]
engineerCodes
;
}
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/WorkbenchEngineersGanttRespDTO.java
0 → 100644
View file @
423af47
package
com
.
alibaba
.
cloud
.
integration
.
order
.
dto
;
@lombok
.
Data
public
class
WorkbenchEngineersGanttRespDTO
{
private
String
date
;
private
GanttChart
[]
engineers
;
/**
* GanttChart
*/
@lombok
.
Data
public
static
class
GanttChart
{
/**
* 下班时间
*/
private
String
endTime
;
/**
* 工程师工号
*/
private
String
engineerCode
;
/**
* 延误原因展示说明
*/
private
String
errorTip
;
/**
* 是否休假
*/
private
boolean
isHoliday
;
/**
* 上班时间
*/
private
String
startTime
;
private
Timeline
[]
timeline
;
}
@lombok
.
Data
public
static
class
Timeline
{
/**
* 结束时间
*/
private
String
endTime
;
/**
* 服务单ID
*/
private
String
serviceOrderId
;
/**
* 服务单状态值
*/
private
String
serviceOrderStatus
;
/**
* 开始时间
*/
private
String
startTime
;
private
Tip
[]
tips
;
}
@lombok
.
Data
public
static
class
Tip
{
private
String
desc
;
private
String
title
;
}
}
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrganizationServiceImpl.java
View file @
423af47
...
...
@@ -20,22 +20,22 @@ import java.util.List;
public
class
OrganizationServiceImpl
implements
OrganizationService
{
@Autowired
OrgClusterDao
orgClusterDao
;
private
OrgClusterDao
orgClusterDao
;
@Autowired
OrgBranchDao
orgBranchDao
;
private
OrgBranchDao
orgBranchDao
;
@Autowired
OrgGroupDao
orgGroupDao
;
private
OrgGroupDao
orgGroupDao
;
@Autowired
OrgTeamEngineerDao
orgTeamEngineerDao
;
private
OrgTeamEngineerDao
orgTeamEngineerDao
;
@Autowired
EngineerInfoDao
engineerInfoDao
;
private
EngineerInfoDao
engineerInfoDao
;
@Autowired
OrgTeamDao
orgTeamDao
;
private
OrgTeamDao
orgTeamDao
;
@Override
public
Result
<?>
getOrganizationTree
(
String
levelType
,
String
levelId
)
{
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/WorkbenchServiceImpl.java
View file @
423af47
...
...
@@ -22,10 +22,10 @@ import java.util.List;
public
class
WorkbenchServiceImpl
implements
WorkbenchService
{
@Autowired
OrderChangeDao
orderChangeDao
;
private
OrderChangeDao
orderChangeDao
;
@Autowired
OrderRequestDao
orderRequestDao
;
private
OrderRequestDao
orderRequestDao
;
@Override
public
Result
<?>
getOrderChangeList
(
String
levelType
,
String
levelId
,
int
page
,
int
pageSize
)
{
...
...
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