Commit 03b40f51 authored by 陈子龙's avatar 陈子龙

工单管理 fix

parent 31b9d4b7
......@@ -194,7 +194,7 @@ func (w *WorkOrderManageSvc) DetailsWorkOrderManage(id int) (workOrderRes respon
}
workOrderRes.TimingRule = timingWeekly
} else if workOrder.TimingType == 3 {
var timingCustom request.TimingCustom
var timingCustom []request.TimingCustom
err = json.Unmarshal([]byte(workOrder.TimingRule), &timingCustom)
if err != nil {
err = resp.FAIL.WithError(err)
......
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