新增默认每日接诊数量字段1
This commit is contained in:
parent
b24370c063
commit
38e32e4251
@ -605,7 +605,7 @@ func (r *SystemInquiryConfigService) PutSystemInquiryConfig(systemInquiryConfigI
|
|||||||
return false, errors.New("默认每日接诊数量应大于等于0")
|
return false, errors.New("默认每日接诊数量应大于等于0")
|
||||||
}
|
}
|
||||||
|
|
||||||
if req.Duration == 0 {
|
if req.Duration == 0 && systemInquiryConfig.InquiryType != 1 && systemInquiryConfig.InquiryMode != 6 {
|
||||||
return false, errors.New("沟通时长应大于0")
|
return false, errors.New("沟通时长应大于0")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user