|
@@ -8,10 +8,11 @@ import (
|
|
|
"eta_gn/eta_api/services"
|
|
|
"eta_gn/eta_api/utils"
|
|
|
"fmt"
|
|
|
- "github.com/rdlucklib/rdluck_tools/paging"
|
|
|
"strings"
|
|
|
"sync"
|
|
|
"time"
|
|
|
+
|
|
|
+ "github.com/rdlucklib/rdluck_tools/paging"
|
|
|
)
|
|
|
|
|
|
// ReportApproveFlowController 报告审批流
|
|
@@ -243,7 +244,7 @@ func (this *ReportApproveFlowController) Add() {
|
|
|
br.ErrMsg = "获取审批流是否已存在失败, Err: " + e.Error()
|
|
|
return
|
|
|
}
|
|
|
- if exist != nil {
|
|
|
+ if exist != nil && exist.ReportApproveFlowId > 0 {
|
|
|
br.Msg = "该分类已有审批流, 请勿重复添加"
|
|
|
return
|
|
|
}
|