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 96abb4e3
authored
Jul 07, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业务配置相关的前后端接口DTO定义;
1 parent
68dd4f8d
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
383 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamAddDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamConfigInitDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamConfigSubmitDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamDeleteDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamDetailDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamUpdateDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamsDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessWarehousesDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/EngineerCalendarDTO.java
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamAddDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
java.util.List
;
public
class
BusinessTeamAddDTO
{
@lombok
.
Data
public
static
class
Request
{
/**
* 工程师codes
*/
private
List
<
String
>
engineerCodes
;
/**
* 分站Id
*/
private
String
groupId
;
/**
* 工作队名称
*/
private
String
teamName
;
/**
* 配件仓Id
*/
private
String
warehouseId
;
/**
* 开放工作日
*/
private
List
<
String
>
workdays
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamConfigInitDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
java.util.List
;
public
class
BusinessTeamConfigInitDTO
{
@lombok
.
Data
public
static
class
Result
{
/**
* 次日预排班间隔
*/
private
String
nextScheduleInterval
;
/**
* 当日预排班间隔
*/
private
String
todayScheduleInterval
;
/**
* 最优策略
*/
private
List
<
LabelValueDTO
>
schedulingStrategy
;
/**
* 网点指派策略
*/
private
List
<
LabelValueDTO
>
assignStrategy
;
/**
* 交通方式
*/
private
List
<
LabelValueDTO
>
transportMode
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamConfigSubmitDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
public
class
BusinessTeamConfigSubmitDTO
{
@lombok
.
Data
public
static
class
Request
{
/**
* 网点指派策略
*/
private
String
assiginStrategy
;
/**
* cutoff时间
*/
private
String
cutoffTime
;
/**
* 次日预排班间隔
*/
private
String
nextScheduleInterval
;
/**
* 最优策略
*/
private
String
scheduleStrategy
;
/**
* 工作队Id
*/
private
String
teamId
;
/**
* 当日预排班间隔
*/
private
String
todayScheduleInterval
;
/**
* 交通方式
*/
private
String
transportMode
;
/**
* 下班时间
*/
private
String
workOff
;
/**
* 上班时间
*/
private
String
workOn
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamDeleteDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
java.util.List
;
public
class
BusinessTeamDeleteDTO
{
@lombok
.
Data
public
static
class
Request
{
/**
* 工作队Id
*/
private
String
teamId
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamDetailDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
java.util.List
;
public
class
BusinessTeamDetailDTO
{
@lombok
.
Data
public
static
class
Request
{
private
String
teamId
;
}
@lombok
.
Data
public
static
class
Result
{
private
String
capacity
;
private
Engineer
[]
engineers
;
private
ScheduleConfig
scheduleConfig
;
private
String
teamId
;
private
String
teamName
;
private
String
warehouseId
;
private
List
<
String
>
workdays
;
}
@lombok
.
Data
public
static
class
Engineer
{
private
String
engineerCode
;
private
String
engineerName
;
}
/**
* 排班配置
*/
@lombok
.
Data
public
static
class
ScheduleConfig
{
/**
* 网点指派策略
*/
private
String
assiginStrategy
;
/**
* cutoff时间
*/
private
String
cutoffTime
;
/**
* 次日预排班间隔
*/
private
String
nextScheduleInterval
;
/**
* 最优策略
*/
private
String
scheduleStrategy
;
/**
* 当日预排班间隔
*/
private
String
todayScheduleInterval
;
/**
* 交通方式
*/
private
String
transportMode
;
/**
* 下班时间
*/
private
String
workOff
;
/**
* 上班时间
*/
private
String
workOn
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamUpdateDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
java.util.List
;
public
class
BusinessTeamUpdateDTO
{
/**
* Request
*/
@lombok
.
Data
public
static
class
Request
{
/**
* 工程师codes
*/
private
List
<
String
>
engineerCodes
;
/**
* 分站Id
*/
private
String
groupId
;
/**
* 工作队Id
*/
private
String
teamId
;
/**
* 工作队名称
*/
private
String
teamName
;
/**
* 配件仓Id
*/
private
String
warehouseId
;
/**
* 开放工作日
*/
private
List
<
String
>
workdays
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessTeamsDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
java.util.List
;
import
static
com
.
dituhui
.
pea
.
order
.
config
.
OrderConfig
.
DEFAULT_PAGE_SIZE
;
public
class
BusinessTeamsDTO
{
@lombok
.
Data
public
static
class
Request
{
private
String
levelType
;
private
String
levelValue
;
private
Integer
size
=
DEFAULT_PAGE_SIZE
;
private
Integer
page
=
1
;
}
@lombok
.
Data
public
static
class
Result
{
/**
* 列表
*/
private
List
<
Content
>
content
;
/**
* 当前页码
*/
private
String
pageCurrent
;
/**
* 总页数
*/
private
String
pages
;
/**
* 每业条数
*/
private
String
pageSize
;
/**
* 总条数
*/
private
String
total
;
}
@lombok
.
Data
public
static
class
Content
{
/**
* 剩余容量
*/
private
String
capacityRest
;
/**
* 已占容量
*/
private
String
capacityUse
;
/**
* 工程师
*/
private
String
engineers
;
/**
* 当前单数
*/
private
String
ordersNum
;
/**
* 人数/分钟数
*/
private
String
peopleMinute
;
/**
* 工作队名称
*/
private
String
teamName
;
/**
* 配件仓
*/
private
String
warehouseName
;
/**
* 开放工作日
*/
private
String
workdays
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/BusinessWarehousesDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
public
class
BusinessWarehousesDTO
{
@lombok
.
Data
public
static
class
Request
{
private
String
groupId
;
}
@lombok
.
Data
public
static
class
Result
{
private
Content
[]
content
;
}
@lombok
.
Data
public
static
class
Content
{
/**
* 配件仓Id
*/
private
String
warehouseId
;
/**
* 配件仓名称
*/
private
String
warehouseName
;
}
}
project-order/src/main/java/com/dituhui/pea/order/dto/EngineerCalendarDTO.java
0 → 100644
View file @
96abb4e
package
com
.
dituhui
.
pea
.
order
.
dto
;
import
java.util.List
;
public
class
EngineerCalendarDTO
{
@lombok
.
Data
public
static
class
Request
{
private
String
date
;
/**
* 姓名,工号
*/
private
String
key
;
private
String
levelType
;
private
String
levelValue
;
}
@lombok
.
Data
public
static
class
Result
{
private
List
<
Engineer
>
engineers
;
}
@lombok
.
Data
public
static
class
Engineer
{
private
List
<
Calendar
>
calendar
;
private
String
engineerCode
;
private
String
name
;
}
@lombok
.
Data
public
static
class
Calendar
{
private
List
<
Content
>
content
;
private
String
date
;
private
String
week
;
}
@lombok
.
Data
public
static
class
Content
{
private
String
title
;
private
String
type
;
private
String
value
;
}
}
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