作者 tangxvhui

Merge branch 'dev' into test

... ... @@ -146,6 +146,9 @@ func TemplateAdd(uid, companyId int64, request *protocol.TemplateAddRequest) (rs
//addSelfCheckData 机会模板设置-自查内容设置
func addSelfCheckData(templateId int64, data []protocol.TemplateSelfCheck, om orm2.Ormer) error {
if len(data) == 0 {
return nil
}
var (
addSelfCheck []models.AuditCheck
err error
... ... @@ -193,6 +196,9 @@ func addSelfCheckData(templateId int64, data []protocol.TemplateSelfCheck, om or
//editSelfCheckData 机会模板设置-自查内容设置
func editSelfCheckData(templateId int64, data []protocol.TemplateSelfCheck, om orm2.Ormer) error {
if len(data) == 0 {
return nil
}
var (
err error
)
... ...