提交排班
POST
/api/hirer/classSchedule/updateClass
接口描述
保存排班,或是发布排班
请求头
参数名
类型
描述
必填
Content-Type
String
application/json
必填
token
string
必填
请求参数
参数名
类型
描述
必填
e_date
string
结束日期
必填
b_date
string
开始日期
必填
state
string
状态。-1:无数据;0:编辑;1:已发布
必填
job_id
string
岗位id
必填
shift_id
string
班表班次明细id
必填
请求示例
响应参数
参数名
类型
描述
必填
flag
int
返回状态 示例:0
必填
msg
string
返回消息 示例:success
必填
abid
string
必填
date_slot
string
日期段
必填
state
string
状态。-1:无数据;0:编辑;1:已发布
必填
class_id
string
班表id
必填
class_job_id
string
班表岗位明细id
必填
job_id
string
岗位id
必填
job_name
string
岗位名称
必填
job_sort_id
string
岗位类别id
必填
job_sort_name
string
岗位类别名称
必填
shift_id
string
班表班次明细id
必填
shift_name
string
班次名称
必填
time_type
string
时间类型。0:每天固定;1:自定义
必填
timeList
array
数据列表 班次对应星期是否可编辑
必填
sp_id
string
id
必填
need_count1
string
星期1需求数量
必填
need_count2
string
星期2需求数量
必填
need_count3
string
星期3需求数量
必填
need_count4
string
星期4需求数量
必填
need_count5
string
星期5需求数量
必填
need_count6
string
星期6需求数量
必填
need_count7
string
星期天需求数量
必填
max_age
string
最大年龄
可选
min_age
string
最小年龄
可选
other_req
string
其他要求
可选
salary
string
时薪
可选
sex
string
性别
可选
id
string
岗位福利明细id
必填
welfare_id
string
福利id
必填
welfare_name
string
福利名称
可选
money
string
金额
可选
b_time
string
开始时间
可选
e_time
string
结束时间
可选
b_time1
string
星期1开始时间
可选
e_time1
string
星期1结束时间
可选
b_time2
string
星期2开始时间
可选
e_time2
string
星期2结束时间
可选
b_time3
string
星期3开始时间
可选
e_time3
string
星期3结束时间
可选
b_time4
string
星期4开始时间
可选
e_time4
string
星期4结束时间
可选
b_time5
string
星期5开始时间
可选
e_time5
string
星期5结束时间
可选
b_time6
string
星期6开始时间
可选
e_time6
string
星期6结束时间
可选
b_time7
string
星期天开始时间
可选
e_time7
string
星期天结束时间
可选