|
@@ -909,6 +909,12 @@ func (this *BIDaShboardController) Public() {
|
|
|
// 校验是否开启了审批流
|
|
|
opening, e := biapproveSerice.CheckBiOpenApprove(req.ClassifyId)
|
|
|
if e != nil {
|
|
|
+ if !utils.IsErrNoRow(e) {
|
|
|
+ br.Ret = 200
|
|
|
+ br.Msg = "该分类未配置审批流,请先配置审批流"
|
|
|
+ br.ErrMsg = "校验报告是否开启审批流失败, Err: " + e.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
br.Msg = "操作失败"
|
|
|
br.ErrMsg = "校验报告是否开启审批流失败, Err: " + e.Error()
|
|
|
return
|